# New ports collection makefile for:	bomstrip
# Date created:			14 June 2008
# Whom:				Peter Pentchev <roam@FreeBSD.org>
#
# $FreeBSD: branches/RELEASE_8_4_0/textproc/bomstrip/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	bomstrip
PORTVERSION=	9
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	http://www.ueber.net/who/mjl/projects/bomstrip/files/:main \
		http://devel.ringlet.net/textproc/bomstrip/:ringlet
DISTFILES=	${DISTNAME}.tgz:main,ringlet \
		${DISTNAME}-roam-02-extra-files.tar.gz:ringlet

PATCHFILES=	${DISTNAME}-roam-02.patch
PATCH_SITES=	http://devel.ringlet.net/textproc/bomstrip/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Strip Byte-Order Marks (BOM) from UTF-8 text

USE_GMAKE=	yes
MAKE_ENV=	INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
		INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
		INSTALL_DATA="${INSTALL_DATA}" \
		STRIP=""

MLINKS=		bomstrip.1 bomstrip-files.1
MAN1=		bomstrip.1
MANCOMPRESSED=	yes

.include <bsd.port.mk>
