mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
Add itstool or ITS tool
ITS Tool allows you to translate your XML documents with PO files, using rules from the W3C Internationalization Tag Set (ITS) to determine what to translate and how to separate it into PO file messages. WWW: http://itstool.org
This commit is contained in:
parent
7dd6f18e0f
commit
b68ae99d25
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281903
@ -311,6 +311,7 @@
|
||||
SUBDIR += it-hyphen
|
||||
SUBDIR += it-ispell
|
||||
SUBDIR += it-mythes
|
||||
SUBDIR += itstool
|
||||
SUBDIR += jade
|
||||
SUBDIR += jakarta-commons-digester
|
||||
SUBDIR += jakarta-poi
|
||||
|
28
textproc/itstool/Makefile
Normal file
28
textproc/itstool/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# New ports collection makefile for: itstool
|
||||
# Date Created: 17 Sept 2011
|
||||
# Whom: Koop Mast <kwm@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= itstool
|
||||
PORTVERSION= 1.1.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= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
MAN1= itstool.1
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|g' \
|
||||
${WRKSRC}/itstool.in
|
||||
|
||||
.include <bsd.port.mk>
|
2
textproc/itstool/distinfo
Normal file
2
textproc/itstool/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (itstool-1.1.0.tar.bz2) = 27dea27410b871a908402a58b44cec3dd35f7bad49eea32c403ff44877c40b1e
|
||||
SIZE (itstool-1.1.0.tar.bz2) = 78062
|
19
textproc/itstool/pkg-descr
Normal file
19
textproc/itstool/pkg-descr
Normal file
@ -0,0 +1,19 @@
|
||||
ITS Tool allows you to translate your XML documents with PO files, using rules
|
||||
from the W3C Internationalization Tag Set (ITS) to determine what to translate
|
||||
and how to separate it into PO file messages.
|
||||
|
||||
PO files are the standard translation format for GNU and other Unix-like
|
||||
systems. They present translatable information as discrete messages, allowing
|
||||
each message to be translated independently. In contrast to whole-page
|
||||
translation, translating with a message-based format like PO means you can
|
||||
easily track changes to the source document down to the paragraph. When new
|
||||
strings are added or existing strings are modified, you only need to update
|
||||
the corresponding messages.
|
||||
|
||||
ITS Tool is designed to make XML documents translatable through PO files by
|
||||
applying standard ITS rules, as well as extension rules specific to ITS Tool.
|
||||
ITS also provides an industry standard way for authors to override translation
|
||||
information in their documents, such as whether a particular element should be
|
||||
translated.
|
||||
|
||||
WWW: http://itstool.org/
|
8
textproc/itstool/pkg-plist
Normal file
8
textproc/itstool/pkg-plist
Normal file
@ -0,0 +1,8 @@
|
||||
bin/itstool
|
||||
%%DATADIR%%/its/docbook.its
|
||||
%%DATADIR%%/its/its.its
|
||||
%%DATADIR%%/its/mallard.its
|
||||
%%DATADIR%%/its/ttml.its
|
||||
%%DATADIR%%/its/xhtml.its
|
||||
@dirrm %%DATADIR%%/its
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in New Issue
Block a user