freebsd-ports/devel/gettext-msghack/Makefile
Andrew Pantyukhin 09872fbe19 Add port devel/gettext-msghack:
Msghack can be used to alter gettext .po files in ways no sane mind
would think about. It is a reimplementation of the original msghack
in Python.

Author: Trond Eivind Glomsroed <teg@redhat.com>
2007-08-30 11:55:43 +00:00

30 lines
652 B
Makefile

# New ports collection makefile for: gettext-msghack
# Date created: 30 August 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= msghack
PORTVERSION= 0.2
CATEGORIES= devel
MASTER_SITES= CENKES
PKGNAMEPREFIX= gettext-
# Bundled in fedora gettext srpm
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Alter gettext po files in special ways
NO_BUILD= yes
USE_BZIP2= yes
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 ${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>