Files
haikuports/dev-python/docutils/docutils-0.11.recipe
Alexander von Gluck IV d97a2aabd9 all: Don't use portVersionedName for SOURCE_DIR
* portVersionedName contains the secondary architecture,
  so using it means secondary package builds fail.
  example: $portVersionedName is libwow_x86-0.0.0 when
  doing an x86 build on x86_gcc2
2013-12-25 17:52:56 -06:00

58 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"
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
}