Files
haikuports/haiku-apps/bepdf/bepdf-2.1.4.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00

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 HaikuArchive Team"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/HaikuArchives/BePDF/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="63dbfb3dc28aa63a039b825129fb79b25bdc95c802af515b610ed67a6097d978"
SOURCE_DIR="BePDF-$portVersion"
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
}