diff --git a/dev-python/docutils/docutils-0.11.recipe b/dev-python/docutils/docutils-0.11.recipe new file mode 100644 index 000000000..1843e0372 --- /dev/null +++ b/dev-python/docutils/docutils-0.11.recipe @@ -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 +}