mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
2f973a2955
Release 21.04.0: core: * Hide symbols by default * TextSelectionDumper: fix word order for RTL text * Fix rendering of text in some files. Issue #1052 * Implement rendering of Masks of Image subtype. Issue #1058 * Forms: fix unclicking standalone form buttons. Issue #1034 glib: * Expose more fields from MediaRendition in PopplerMedia * Use stock glib macro to define boxed type * Remove incorrecly used volatile from enum type registration code qt5: * Fix crash in files with malformed signatures * Fix memory leak when QImage constructor "fails" qt6: * Fix crash in files with malformed signatures * Fix memory leak when QImage constructor "fails" utils: * pdfsig: New paragraph for "-sign" in manpage * pdfimages: Do not assert in "too big images". Issue #1061 build system: * Require cmake >= 3.10 * Require Qt 5 >= 5.9 * Require glib >= 2.56 * Require gtk 3 >= 3.22 * Require gdk-pixbuf >= 2.36 PR: poppler-21.04.0 Exp-run by: antoine
50 lines
1.7 KiB
Makefile
50 lines
1.7 KiB
Makefile
PORTNAME= pdf-tools
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.90-41
|
|
DISTVERSIONSUFFIX= -g2ece508
|
|
PORTREVISION= 14
|
|
CATEGORIES= print elisp
|
|
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
|
|
|
|
MAINTAINER= jrm@FreeBSD.org
|
|
COMMENT= Emacs support library for PDF files
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BROKEN_FreeBSD_11_powerpc64= fails to configure on powerpc64 elfv1: cannot find necessary poppler-private header (see README.org)
|
|
BROKEN_FreeBSD_12_powerpc64= fails to configure on powerpc64 elfv1: cannot find necessary poppler-private header (see README.org)
|
|
|
|
BUILD_DEPENDS= cask${EMACS_PKGNAMESUFFIX}>0:devel/cask@${EMACS_FLAVOR} \
|
|
tablist${EMACS_PKGNAMESUFFIX}>=0.70.4:devel/tablist@${EMACS_FLAVOR}
|
|
LIB_DEPENDS= libMagickCore-7.so:graphics/ImageMagick7 \
|
|
libpng.so:graphics/png \
|
|
libpoppler-glib.so:graphics/poppler-glib \
|
|
libpoppler.so:graphics/poppler
|
|
RUN_DEPENDS= tablist${EMACS_PKGNAMESUFFIX}>=0.70:devel/tablist@${EMACS_FLAVOR}
|
|
|
|
USES= autoreconf:build emacs gettext-runtime gmake gnome
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= politza
|
|
USE_GNOME= cairo glib20
|
|
|
|
EMACS_FLAVORS_EXCLUDE= devel_nox nox
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/server && ./autogen.sh && ./configure -q && make
|
|
${EMACS_CMD} -q --batch -L ${WRKSRC}/lisp -f batch-byte-compile \
|
|
${WRKSRC}/lisp/*.el
|
|
${EMACS_CMD} -q --batch \
|
|
--eval "(setq generated-autoload-file \
|
|
\"${WRKSRC}/lisp/${PORTNAME}-loaddefs.el\" \
|
|
backup-inhibited t)" \
|
|
-f batch-update-autoloads ${WRKSRC}/lisp
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
|
|
${INSTALL_PROGRAM} ${WRKSRC}/server/epdfinfo ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/lisp/* ${FILESDIR}/${PORTNAME}-init.el \
|
|
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|