0
0
Fork 0
haikuports/dev-util/itstool/itstool-2.0.2.recipe

57 lines
1.6 KiB
Bash

SUMMARY="Translate your XML documents with PO files"
DESCRIPTION="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."
HOMEPAGE="http://itstool.org/"
COPYRIGHT="2010-2014 Shaun McCance"
LICENSE="GNU GPL v3"
REVISION="2"
SOURCE_URI="http://files.itstool.org/itstool/itstool-$portVersion.tar.bz2"
CHECKSUM_SHA256="bf909fb59b11a646681a8534d5700fec99be83bb2c57badf8c1844512227033a"
ARCHITECTURES="all"
PROVIDES="
itstool = $portVersion
cmd:itstool
"
REQUIRES="
haiku
libxml2_python
"
BUILD_REQUIRES="
haiku_devel
libxml2_python
"
BUILD_PREREQUIRES="
cmd:awk
cmd:make
cmd:python
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}