packaging: poppler package files for FreeBSD

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2021-05-31 22:30:20 +03:00
parent 95c04bc983
commit 35cbfe9eed
4 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# $FreeBSD$
# https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/
PORTNAME = poppler-katie
DISTVERSION = 4.20.0.d20210531
CATEGORIES = devel
MAINTAINER = xakepa10@gmail.com
COMMENT = Katie bindings for poppler
LICENSE = GPLv2 GPLv3
LICENSE_COMB = multi
MASTER_SITES = https://github.com/fluxer/poppler/archive/
DISTFILES = master.tar.gz
DIST_SUBDIR = ${PORTNAME}
WRKSRC = ${WRKDIR}/poppler-master
USES = compiler:c++11-lang pkgconfig cmake
# zlib is not part of any package
# building against openjpeg15 because if both openjpeg and openjpeg2 are installed the header from
# openjpeg15 will be found first by the compiler (openjpeg15 header is installed the local base
# headers directory, openjpeg2 in prefixed directory)
LIB_DEPENDS = libKtCore.so:katana/katie libnss3.so:security/nss \
libfontconfig.so:x11-fonts/fontconfig libfreetype.so:print/freetype2 \
libpng16.so:graphics/png libtiff.so:graphics/tiff libopenjpeg.so:graphics/openjpeg15 \
liblcms2.so:graphics/lcms2 libcurl.so:ftp/curl libjpeg.so:graphics/jpeg-turbo
CMAKE_ARGS = -Wno-dev -DENABLE_LIBOPENJPEG=openjpeg1 -DENABLE_UTILS=OFF -DBUILD_TESTS=OFF \
-DBUILD_QT4_TESTS=OFF
# workaround to make it possible to link to libraries that are not specified as full paths
LDFLAGS += -L${LOCALBASE}/lib
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1622488066
SHA256 (poppler-katie/master.tar.gz) = dcf94602c30247c97c47ebf6564e4d2870cc802d6f27899e6fa85e509e756f75
SIZE (poppler-katie/master.tar.gz) = 1687461

View file

@ -0,0 +1,3 @@
Katie bindings for poppler
WWW: https://github.com/fluxer/poppler

View file

@ -0,0 +1,12 @@
include/poppler/katie/poppler-annotation.h
include/poppler/katie/poppler-export.h
include/poppler/katie/poppler-form.h
include/poppler/katie/poppler-link.h
include/poppler/katie/poppler-media.h
include/poppler/katie/poppler-optcontent.h
include/poppler/katie/poppler-page-transition.h
include/poppler/katie/poppler-qt4.h
lib/libpoppler-katie.so
lib/libpoppler-katie.so.0
lib/libpoppler-katie.so.0.61
libdata/pkgconfig/poppler-katie.pc