Date: Mon, 31 Mar 2014 11:56:57 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349735 - head/textproc/translate-toolkit Message-ID: <201403311156.s2VBuvml057860@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rene Date: Mon Mar 31 11:56:57 2014 New Revision: 349735 URL: http://svnweb.freebsd.org/changeset/ports/349735 QAT: https://qat.redports.org/buildarchive/r349735/ Log: - Add stage support - Convert to USES=tar:bzip2 - Bump PORTREVISION Allthough not strictly necessary, rename the now non-magic variable "MAN1" to "GEN_MAN" to avoid confusion with its non-staged meaning. Approved by: portmgr (infrastructure blanket) Modified: head/textproc/translate-toolkit/Makefile head/textproc/translate-toolkit/pkg-plist Modified: head/textproc/translate-toolkit/Makefile ============================================================================== --- head/textproc/translate-toolkit/Makefile Mon Mar 31 11:26:53 2014 (r349734) +++ head/textproc/translate-toolkit/Makefile Mon Mar 31 11:56:57 2014 (r349735) @@ -3,7 +3,7 @@ PORTNAME= translate-toolkit PORTVERSION= 1.9.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= SF/translate/Translate%20Toolkit/${PORTVERSION} \ http://freebsd.unixfreunde.de/sources/ @@ -23,12 +23,12 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sq RUN_DEPENDS:= ${BUILD_DEPENDS} # Can use psyco (on i386) -USE_BZIP2= yes -USES= gettext +USES= gettext tar:bzip2 USE_PYTHON= yes USE_PYDISTUTILS= yes -MAN1= csv2po.1 csv2tbx.1 html2po.1 ical2po.1 ini2po.1 \ +# list of manual pages to generate +GEN_MAN= csv2po.1 csv2tbx.1 html2po.1 ical2po.1 ini2po.1 \ moz2po.1 odf2xliff.1 oo2po.1 oo2xliff.1 \ php2po.1 po2csv.1 po2html.1 po2ical.1 po2ini.1 \ po2moz.1 po2oo.1 po2php.1 po2prop.1 po2rc.1 \ @@ -39,7 +39,6 @@ MAN1= csv2po.1 csv2tbx.1 html2po.1 ical prop2po.1 rc2po.1 symb2po.1 tiki2po.1 ts2po.1 \ txt2po.1 web2py2po.1 xliff2odf.1 xliff2oo.1 xliff2po.1 -NO_STAGE= yes post-patch: @${FIND} ${WRKSRC}/tools -type f -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e \ @@ -48,15 +47,15 @@ post-patch: post-build: @${MKDIR} ${WRKDIR}/manpages -.for i in ${MAN1:S|.1||} +.for i in ${GEN_MAN:S|.1||} cd ${WRKSRC}/build/scripts-* && \ ${SETENV} PYTHONPATH=${WRKSRC}/build/lib ${PYTHON_CMD} \ ${i} --man > ${WRKDIR}/manpages/${i}.1 .endfor post-install: -.for i in ${MAN1} - cd ${WRKDIR}/manpages && ${INSTALL_MAN} ${i} ${MANPREFIX}/man/man1 +.for i in ${GEN_MAN} + cd ${WRKDIR}/manpages && ${INSTALL_MAN} ${i} ${STAGEDIR}${PREFIX}/man/man1 .endfor list-man1: build Modified: head/textproc/translate-toolkit/pkg-plist ============================================================================== --- head/textproc/translate-toolkit/pkg-plist Mon Mar 31 11:26:53 2014 (r349734) +++ head/textproc/translate-toolkit/pkg-plist Mon Mar 31 11:56:57 2014 (r349735) @@ -62,6 +62,55 @@ bin/web2py2po bin/xliff2odf bin/xliff2oo bin/xliff2po +man/man1/csv2po.1.gz +man/man1/csv2tbx.1.gz +man/man1/html2po.1.gz +man/man1/ical2po.1.gz +man/man1/ini2po.1.gz +man/man1/moz2po.1.gz +man/man1/odf2xliff.1.gz +man/man1/oo2po.1.gz +man/man1/oo2xliff.1.gz +man/man1/php2po.1.gz +man/man1/po2csv.1.gz +man/man1/po2html.1.gz +man/man1/po2ical.1.gz +man/man1/po2ini.1.gz +man/man1/po2moz.1.gz +man/man1/po2oo.1.gz +man/man1/po2php.1.gz +man/man1/po2prop.1.gz +man/man1/po2rc.1.gz +man/man1/po2symb.1.gz +man/man1/po2tiki.1.gz +man/man1/po2tmx.1.gz +man/man1/po2ts.1.gz +man/man1/po2txt.1.gz +man/man1/po2web2py.1.gz +man/man1/po2wordfast.1.gz +man/man1/po2xliff.1.gz +man/man1/poclean.1.gz +man/man1/pocompile.1.gz +man/man1/poconflicts.1.gz +man/man1/podebug.1.gz +man/man1/pofilter.1.gz +man/man1/pogrep.1.gz +man/man1/pomerge.1.gz +man/man1/porestructure.1.gz +man/man1/posegment.1.gz +man/man1/poswap.1.gz +man/man1/pot2po.1.gz +man/man1/pretranslate.1.gz +man/man1/prop2po.1.gz +man/man1/rc2po.1.gz +man/man1/symb2po.1.gz +man/man1/tiki2po.1.gz +man/man1/ts2po.1.gz +man/man1/txt2po.1.gz +man/man1/web2py2po.1.gz +man/man1/xliff2odf.1.gz +man/man1/xliff2oo.1.gz +man/man1/xliff2po.1.gz %%PYTHON_SITELIBDIR%%/translate/COPYING %%PYTHON_SITELIBDIR%%/translate/ChangeLog %%PYTHON_SITELIBDIR%%/translate/LICENSE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403311156.s2VBuvml057860>