freebsd-ports/textproc/itstool/Makefile

25 lines
533 B
Makefile

# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
PORTNAME= itstool
PORTVERSION= 1.2.0
CATEGORIES= textproc
MASTER_SITES= http://files.itstool.org/itstool/
MAINTAINER= kwm@FreeBSD.org
COMMENT= Make XML documents translatable through po files
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2
USE_BZIP2= yes
USE_PYTHON_RUN= yes
GNU_CONFIGURE= yes
MAN1= itstool.1
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|g' \
${WRKSRC}/itstool.in
.include <bsd.port.mk>