0
0
Fork 0
haikuports/app-text/asciidoc/asciidoc-9.0.4.recipe

67 lines
1.5 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="https://asciidoc.org/"
COPYRIGHT="2002-2013 Stuart Rackham
2013-2020 AsciiDoc Contributors"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/asciidoc/asciidoc-py3/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="fb0e683ae6a4baf34a8969c3af764ca729526196576729ee9275b9f39fd8b79c"
SOURCE_DIR="asciidoc-py-$portVersion"
SOURCE_FILENAME="asciidoc-$portVersion.tar.gz"
ARCHITECTURES="any"
PROVIDES="
asciidoc = $portVersion
cmd:a2x = $portVersion compat >= 8
cmd:a2x.py = $portVersion compat >= 8
cmd:asciidoc = $portVersion compat >= 8
cmd:asciidoc.py = $portVersion compat >= 8
"
REQUIRES="
haiku
cmd:python3
"
BUILD_REQUIRES="
haiku_devel
docbook_xml_dtd
docbook_xsl_stylesheets
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:make
cmd:python3
cmd:sed
cmd:xmllint
cmd:xsltproc
"
BUILD()
{
# TODO: separate data and configuration files.
autoreconf -fi
runConfigure ./configure \
--sysconfdir=$dataDir
make
}
INSTALL()
{
make install
}
TEST()
{
make test
}