svn commit: r523553 - head/textproc/translate-toolkit
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jan 19 11:11:18 UTC 2020
Author: sunpoet
Date: Sun Jan 19 11:11:17 2020
New Revision: 523553
URL: https://svnweb.freebsd.org/changeset/ports/523553
Log:
Change the way *_DEPENDS are set
- Sort *_DEPENDS
- Update pkg-descr
- Update WWW
- Take maintainership
Modified:
head/textproc/translate-toolkit/Makefile
head/textproc/translate-toolkit/pkg-descr
Modified: head/textproc/translate-toolkit/Makefile
==============================================================================
--- head/textproc/translate-toolkit/Makefile Sun Jan 19 11:11:12 2020 (r523552)
+++ head/textproc/translate-toolkit/Makefile Sun Jan 19 11:11:17 2020 (r523553)
@@ -6,30 +6,30 @@ PORTVERSION= 2.4.0
CATEGORIES= textproc
MASTER_SITES= CHEESESHOP
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= sunpoet at FreeBSD.org
COMMENT= Converts between many translation formats
LICENSE= GPLv2
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}vobject>=0:deskutils/py-vobject@${PY_FLAVOR} \
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= bash:shells/bash \
+ iso-codes>=1.3:misc/iso-codes \
msghack:devel/gettext-msghack \
+ ${PYTHON_PKGNAMEPREFIX}backports.csv>=1.0.0:devel/py-backports.csv@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}iniparse>=0:devel/py-iniparse@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}python-Levenshtein>=0:devel/py-python-Levenshtein@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
- iso-codes>=1.3:misc/iso-codes \
- bash:shells/bash \
+ ${PYTHON_PKGNAMEPREFIX}phply>=1.2.5:devel/py-phply@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-Levenshtein>=0:devel/py-python-Levenshtein@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}utidylib>=0:www/py-utidylib@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}backports.csv>=1.0.0:devel/py-backports.csv@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}phply>=1.2.5:devel/py-phply@${PY_FLAVOR}
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-# Can use psyco (on i386)
+ ${PYTHON_PKGNAMEPREFIX}vobject>=0:deskutils/py-vobject@${PY_FLAVOR}
-NO_ARCH= yes
USES= gettext python:2.7
USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+
# list of manual pages to generate
GEN_MAN= csv2po.1 csv2tbx.1 dtd2po.1 html2po.1 ical2po.1 idml2po.1 \
ini2po.1 json2po.1 moz2po.1 mozlang2po.1 odf2xliff.1 oo2po.1 \
@@ -59,7 +59,7 @@ post-install:
cd ${WRKDIR}/manpages && ${INSTALL_MAN} ${i} ${STAGEDIR}${PREFIX}/man/man1
.endfor
-list-man1: build
+list-man1: build
@cd ${WRKSRC}/build/scripts-* && ${GREP} -l "${PYTHON_CMD}" * | \
${EGREP} -v '(build_tmdb|pocount|poterminology|tmserver)' | \
${TR} "\n" " "
Modified: head/textproc/translate-toolkit/pkg-descr
==============================================================================
--- head/textproc/translate-toolkit/pkg-descr Sun Jan 19 11:11:12 2020 (r523552)
+++ head/textproc/translate-toolkit/pkg-descr Sun Jan 19 11:11:17 2020 (r523553)
@@ -1,17 +1,20 @@
-The Translate Toolkit is a set of software and documentation designed
-to help make the lives of localizers both more productive and less
-frustrating. The software includes programs to covert localization
-formats to the common PO format and programs to check and manage PO
-files. The documentation includes guides on using the tools, running a
-localization project and how to localize various projects from
-OpenOffice.org to Mozilla.
+The Translate Toolkit is a set of software and documentation designed to help
+make the lives of localizers both more productive and less frustrating. The
+Toolkit is part of the Translate project.
+The software includes programs to convert localization formats to the common PO,
+and emerging XLIFF format. There are also programs to check and manage PO and
+XLIFF files. Online documentation includes guides on using the tools, running a
+localization project and how to localize various projects from OpenOffice.org to
+Mozilla.
+
At its core the software contains a set of classes for handling various
-localization storage formats: DTD, properties, OpenOffice.org GSI/SDF,
-CSV and of course PO and XLIFF. It also provides scripts to convert
-between these formats.
+localization storage formats: DTD, properties, OpenOffice.org GSI/SDF, CSV, MO,
+Qt .ts, TMX, TBX, WordFast txt, Gettext .mo, Windows RC, and of course PO and
+XLIFF. It also provides scripts to convert between these formats.
-Also part of the Toolkit are Python programs to create word counts,
-merge translations and perform various checks on PO and XLIFF files.
+Also part of the Toolkit are Python programs to create word counts, merge
+translations and perform various checks on translation files.
-WWW: https://github.com/translate/translate/
+WWW: https://toolkit.translatehouse.org/
+WWW: https://github.com/translate/translate
More information about the svn-ports-all
mailing list