# Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= msghack PORTVERSION= 0.2 CATEGORIES= devel MASTER_SITES= CENKES PKGNAMEPREFIX= gettext- # Bundled in fedora gettext srpm MAINTAINER= ports@FreeBSD.org COMMENT= Alter gettext po files in special ways NO_BUILD= yes USES= tar:bzip2 USE_PYTHON= yes PLIST_FILES= bin/${PORTNAME} post-patch: @${REINPLACE_CMD} -e '1s|/usr/bin/python|${PYTHON_CMD}|'\ ${WRKSRC}/${PORTNAME}.py do-install: @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include