Files
haikuports/app-text/asciidoc/asciidoc-8.6.9.recipe
2016-07-25 20:37:04 -04:00

56 lines
1.3 KiB
Bash

SUMMARY="Highly configurable text format for writing documentation"
DESCRIPTION="
AsciiDoc is a text document format for writing notes, documentation, articles, \
books, ebooks, slideshows, web pages, man pages and blogs. AsciiDoc files can \
be translated to many formats including HTML, PDF, EPUB, man page.
AsciiDoc is highly configurable: both the AsciiDoc source file syntax and the \
backend output markups (which can be almost any type of SGML/XML markup) can \
be customized and extended by the user."
HOMEPAGE="http://asciidoc.org/"
COPYRIGHT="2002-2013 Stuart Rackham"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://downloads.sourceforge.net/asciidoc/asciidoc-$portVersion.tar.gz"
CHECKSUM_SHA256="78db9d0567c8ab6570a6eff7ffdf84eadd91f2dfc0a92a2d0105d323cab4e1f0"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
asciidoc = $portVersion compat >= 8.6.8
cmd:a2x.py = $portVersion compat >= 8
cmd:a2x = $portVersion compat >= 8
cmd:asciidoc.py = $portVersion compat >= 8
cmd:asciidoc = $portVersion compat >= 8
"
REQUIRES="
haiku
cmd:python
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:awk
cmd:make
cmd:sed
"
BUILD()
{
# TODO: separate data and configuration files.
runConfigure ./configure \
--sysconfdir=$dataDir
make
}
INSTALL()
{
make install
}
TEST()
{
make test
}