mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
56 lines
1.1 KiB
Bash
56 lines
1.1 KiB
Bash
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"
|
|
COPYRIGHT="1997-2006 Easy Software Products"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="http://www.msweet.org/files/project1/htmldoc-$portVersion-source.tar.bz2"
|
|
CHECKSUM_SHA256="e8c96ad740d19169eab8305c8e2ee1c795c4afa59ba99d18786ad191a2853f31"
|
|
PATCHES="htmldoc-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PROVIDES="
|
|
htmldoc = $portVersion compat >= 1.8
|
|
cmd:htmldoc = $portVersion compat >= 1.8
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libjpeg
|
|
lib:libpng16
|
|
lib:libz
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libjpeg
|
|
devel:libpng16
|
|
devel:libz
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku_devel
|
|
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
|
|
}
|