Add docutils recipe

This commit is contained in:
Chris Roberts
2013-10-29 16:58:40 -06:00
parent de6c3b6fd0
commit fc9b8c04d7

View File

@@ -0,0 +1,58 @@
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
}