mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
69 lines
1.2 KiB
Bash
69 lines
1.2 KiB
Bash
SUMMARY="The PDF viewer for Haiku"
|
|
DESCRIPTION="BePDF is a PDF viewer for Haiku. Besides viewing, it supports \
|
|
annotating and user-defined bookmarking for unencrypted PDFs."
|
|
HOMEPAGE="https://haikuarchives.github.io/BePDF/"
|
|
COPYRIGHT="1997 Benoit Triquet
|
|
1999-2000 Hubert Figuiere
|
|
2000-2011 Michael Pfeiffer
|
|
2013-2017 Augustin Cavalier"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/HaikuArchives/BePDF/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="7c7c11123f83d6c4a6b1e5b470437dfd0db0a303e932bf448a57dacb1ef84fca"
|
|
SOURCE_DIR="BePDF-$portVersion"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PROVIDES="
|
|
bepdf = $portVersion
|
|
app:BePDF = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libfreetype
|
|
lib:libz
|
|
lib:libbz2
|
|
lib:libpng16
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libfreetype
|
|
devel:libz
|
|
devel:libbz2
|
|
devel:libpng16
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:gcc
|
|
cmd:make
|
|
cmd:freetype_config
|
|
cmd:htmldoc
|
|
#cmd:ps2pdf # Ghostscript is not ported yet, so we can't generate PDF docs.
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
pushd xpdf
|
|
make $@
|
|
popd
|
|
pushd bepdf
|
|
make $@
|
|
make bindcatalogs
|
|
popd
|
|
|
|
pushd docs
|
|
sh make.sh
|
|
popd
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
cp -dR dist $appsDir/BePDF
|
|
cp -r docs-build $appsDir/BePDF/docs
|
|
|
|
addAppDeskbarSymlink $appsDir/BePDF/BePDF
|
|
}
|
|
|