Files
haikuports/app-text/htmldoc/htmldoc-1.8.27.recipe
2014-04-21 19:31:51 +02:00

59 lines
1.1 KiB
Plaintext

SUMMARY="HTML file processor and converter"
DESCRIPTION="
HTMLDOC converts HTML files and web pages into index HTML, Adobe Postscript or \
Adobe Portable Document Format files (pdf).
"
HOMEPAGE="http://www.msweet.org/projects.php?Z1"
LICENSE="GNU GPL v2"
COPYRIGHT="1997-2006 Easy Software Products"
SRC_URI="http://www.msweet.org/files/project1/htmldoc-1.8.27-source.tar.bz2"
CHECKSUM_SHA256="89ffd223734268375dc959c200622dc5f167576c5cad9d7ce4bd7567faeb9613"
REVISION="3"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="htmldoc-1.8.27.patchset"
PROVIDES="
htmldoc = $portVersion compat >= 1.8
cmd:htmldoc = $portVersion compat >= 1.8
"
REQUIRES="
haiku >= $haikuVersion
lib:libjpeg
lib:libpng
lib:libz
"
BUILD_REQUIRES="
devel:libjpeg
devel:libpng
devel:libz
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:autoconf
cmd:gcc
cmd:ld
cmd:make
cmd:sed
"
BUILD()
{
autoconf
chmod 755 configure
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
# move html documentation out of man-dir
mkdir -p $docDir
mv $manDir/doc/htmldoc/* $docDir/
rm -r $manDir/doc
}