Files
haikuports/dev-python/docutils/docutils-0.11.recipe
2013-10-30 00:17:40 -06:00

59 lines
1.4 KiB
Plaintext

SUMMARY="Docutils is an open-source text processing system"
DESCRIPTION="
Docutils is an open-source text processing system for processing
plaintext documentation into useful formats, such as HTML, LaTeX,
man-pages, open-document or XML. It includes reStructuredText, the
easy to read, easy to use, what-you-see-is-what-you-get plaintext
markup language."
HOMEPAGE="http://docutils.sourceforge.net/"
SRC_URI="http://sourceforge.net/projects/docutils/files/docutils/0.11/docutils-0.11.tar.gz"
CHECKSUM_MD5="20ac380a18b369824276864d98ec0ad6"
COPYRIGHT="Günter Milde
John Gruber
Alex Fernández"
LICENSE="Public Domain
BSD (2-clause)
GNU GPL v3
Python"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2"
SOURCE_DIR="$portVersionedName"
PROVIDES="
docutils = $portVersion
cmd:rst2html.py = $portVersion
cmd:rst2latex.py = $portVersion
cmd:rst2man.py = $portVersion
cmd:rst2newlatex.py = $portVersion
cmd:rst2odt_prepstyles.py = $portVersion
cmd:rst2odt.py = $portVersion
cmd:rst2pseudoxml.py = $portVersion
cmd:rst2s5.py = $portVersion
cmd:rst2xetex.py = $portVersion
cmd:rst2xml.py = $portVersion
cmd:rstpep2html.py = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
cmd:python
"
BUILD_REQUIRES=""
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:python
"
BUILD()
{
$portPackageLinksDir/cmd~python/bin/python setup.py build
}
INSTALL()
{
$portPackageLinksDir/cmd~python/bin/python setup.py install \
--prefix="$prefix" \
--force
}