mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
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.
61 lines
1.4 KiB
Bash
61 lines
1.4 KiB
Bash
SUMMARY="Open source Portable Document Format (PDF) viewer"
|
|
DESCRIPTION="The Xpdf project also includes a PDF text extractor, PDF-to-PostScript \
|
|
converter, and various other utilities.
|
|
|
|
The non-X components should run on pretty much any system with a decent \
|
|
C++ compiler. Xpdf will run on 32-bit and 64-bit machines."
|
|
HOMEPAGE="https://www.xpdfreader.com/"
|
|
COPYRIGHT="1996-2014 Glyph & Cog, LLC."
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="3"
|
|
SOURCE_URI="http://mirror.neu.edu.cn/CTAN/support/xpdf/xpdf-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="11390c74733abcb262aaca4db68710f13ffffd42bfe2a0861a5dfc912b2977e5"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
settings/xpdfrc keep-old
|
|
"
|
|
|
|
PROVIDES="
|
|
xpdf$secondaryArchSuffix = $portVersion
|
|
cmd:pdfdetach$secondaryArchSuffix
|
|
cmd:pdffonts$secondaryArchSuffix
|
|
cmd:pdfimages$secondaryArchSuffix
|
|
cmd:pdfinfo$secondaryArchSuffix
|
|
cmd:pdftops$secondaryArchSuffix
|
|
cmd:pdftotext$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libfreetype$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libfreetype$secondaryArchSuffix
|
|
devel:libpng16$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure \
|
|
--enable-multithreaded \
|
|
--enable-cmyk
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|