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-2018 Augustin Cavalier
|
|
2019-2021 HaikuArchives Team"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/HaikuArchives/BePDF/archive/${portVersion}-1.tar.gz"
|
|
CHECKSUM_SHA256="a3f87e176ca04999f0efa4c2a325a9e4e6376fcb668a00bfad559c414973d42e"
|
|
SOURCE_DIR="BePDF-${portVersion}-1"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
bepdf = $portVersion
|
|
app:BePDF = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libbz2
|
|
lib:libfreetype
|
|
lib:libpng16
|
|
lib:libz
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libbz2
|
|
devel:libfreetype
|
|
devel:libpng16
|
|
devel:libz
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:freetype_config
|
|
cmd:gcc
|
|
cmd:htmldoc
|
|
cmd:make
|
|
# cmd:ps2pdf
|
|
"
|
|
|
|
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
|
|
}
|