1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/converters/konwert/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

43 lines
1.0 KiB
Makefile

# New ports collection makefile for: konwert
# Date created: Apr 19 2003
# Whom: Alex Semenyaka <alex@rinet.ru>
#
# $FreeBSD$
#
PORTNAME= konwert
PORTVERSION= 1.8
PORTREVISION= 11
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/${DISTNAME:C/${DISTNAME:C/.//}//}/${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
PATCH_SITES= ${MASTER_SITES}
PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
PATCHLEVEL= 11
PATCHFILES= ${PORTNAME}_${PORTVERSION}-${PATCHLEVEL}.diff.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Modular converter between charsets and filter
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PATCH_WRKSRC= ${WRKDIR}
REINPLACE_ARGS= -i ""
USE_PERL5= yes
USE_GMAKE= yes
MAN1= konwert.1 trs.1 filterm.1
MANLANG= "" pl
post-patch:
@${GREP} -Rl '#\!/bin/bash' ${WRKSRC}/* 2>/dev/null | ${XARGS} \
${REINPLACE_CMD} -e 's|^#\!/bin/bash|#\!${LOCALBASE}/bin/bash|'
@${FIND} ${WRKSRC} -name '*.orig' -delete
.include <bsd.port.mk>