1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/gettext-lint/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

48 lines
1.4 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: gettext-lint
# Date created: Feb 3, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gettext-lint
PORTVERSION= 0.4
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Check the validity and consistency of PO and POT files
RUN_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext
USE_PYTHON= yes
NO_BUILD= yes
MAN1= POFileChecker.1 POFileClean.1 POFileConsistency.1 \
POFileEquiv.1 POFileFill.1 POFileGlossary.1 \
POFileSpell.1 POFileStatus.1
post-patch:
.for i in POFileChecker POFileClean POFileConsistency POFileEquiv POFileFill \
POFileGlossary POFileSpell POFileStatus
cd ${WRKSRC}/src && ${SED} -e 's|@PYTHON@|${PYTHON_CMD}|g ; \
s|@prefix@/share/@PACKAGE@|${PYTHON_SITELIBDIR}/${PORTNAME}|g' ${i}.in > ${i}
.endfor
do-install:
.for i in POFileChecker POFileClean POFileConsistency POFileEquiv POFileFill \
POFileGlossary POFileSpell POFileStatus
${INSTALL_SCRIPT} ${WRKSRC}/src/${i} ${PREFIX}/bin/${i}
${INSTALL_MAN} ${WRKSRC}/doc/${i}.1 ${MANPREFIX}/man/man1/${i}.1
.endfor
@${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/src/*.py ${PYTHON_SITELIBDIR}/${PORTNAME}
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/etc/*.css ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/etc/*.xsl ${DATADIR}
.include <bsd.port.mk>