freebsd-ports/devel/gettext-msghack/Makefile
Marcus von Appen 89e07f4a18 - Convert ports of devel/ to USES=python
Approved by:	portmgr (implicit)
2014-10-20 16:04:12 +00:00

25 lines
566 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $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= python tar:bzip2
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 <bsd.port.mk>