mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Add recipe for asciidoc (required to build git documentation)
This commit is contained in:
51
app-text/asciidoc/asciidoc-8.6.8.recipe
Normal file
51
app-text/asciidoc/asciidoc-8.6.8.recipe
Normal file
@@ -0,0 +1,51 @@
|
||||
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"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2002-2011 Stuart Rackham"
|
||||
SRC_URI="http://sourceforge.net/projects/asciidoc/files/asciidoc/8.6.8/asciidoc-8.6.8.tar.gz"
|
||||
CHECKSUM_MD5="6ffff1ab211f30481741ce4d1e4b12bf"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
asciidoc = $portVersion compat >= 8.6.8
|
||||
cmd:a2x = $portVersion compat >= 8
|
||||
cmd:asciidoc = $portVersion compat >= 8
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
SOURCE_DIR="$portVersionedName"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
sed -i -e 's|/usr/bin/env|/bin/env|' *.py
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
# TODO: separate data and configuration files.
|
||||
runConfigure ./configure \
|
||||
--sysconfdir=$dataDir/asciidoc
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
Reference in New Issue
Block a user