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/"
SOURCE_URI="http://files.itstool.org/itstool/itstool-$portVersion.tar.bz2"
CHECKSUM_SHA256="bf909fb59b11a646681a8534d5700fec99be83bb2c57badf8c1844512227033a"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
	itstool = $portVersion
	cmd:itstool
"

REQUIRES="
	libxml2_python
"

BUILD_REQUIRES="
	libxml2_python
"

BUILD_PREREQUIRES="
	cmd:awk
	cmd:make
	cmd:python
"

BUILD()
{
	runConfigure ./configure
	make $jobArgs
}

INSTALL()
{
	make install
}

LICENSE="GNU GPL v3"
COPYRIGHT="2010-2014 Shaun McCance"
