freebsd-ports/print/deforaos-pdfviewer/Makefile
Tobias C. Berner ff3b39857e graphics/poppler: update to 0.87.0
Release 0.87.0:
        core:
         * Fix crashes due to inconsistent vtables for Clang builds
         * Fix leak in broken files
         * Internal code improvements

        qt5:
         * Add option to get form choice for export value
         * ArthurOutputDev: Avoid division by zero in updateLineDash. Issue #695

        glib:
         * Internal code improvements

         utils:
         * pdftohtml: Fix memory leak in HtmlOutputDev::getLinkDest

PR:		245150
Exp-run by:	antoine
2020-04-02 04:41:02 +00:00

50 lines
1.2 KiB
Makefile

# Created by: Olivier Cochard-Labbe <olivier@FreeBSD.org>
# $FreeBSD$
PORTNAME= pdfviewer
PORTVERSION= 0.0.2
PORTREVISION= 12
CATEGORIES= print
MASTER_SITES= http://www.defora.org/os/download/download/4431/
PKGNAMEPREFIX= deforaos-
DISTNAME= PDFViewer-${PORTVERSION}
MAINTAINER= olivier@FreeBSD.org
COMMENT= DeforaOS desktop PDF viewer
LICENSE= GPLv3
LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \
libDesktop.so:x11/deforaos-libdesktop \
libpoppler-glib.so:graphics/poppler-glib \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
MAKE_ARGS+= PREFIX=${PREFIX}
USES= desktop-file-utils gnome pkgconfig
USE_GNOME= gtk20 gdkpixbuf2 cairo
MAKE_ENV+= MANDIR=${STAGEDIR}${MANPREFIX}/man
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl
post-patch-DOCS-off:
${REINPLACE_CMD} 's|data doc po|data po|' \
${WRKSRC}/Makefile
post-patch-NLS-off:
${REINPLACE_CMD} 's|po src tools|src tools|' \
${WRKSRC}/Makefile
post-patch:
@${REINPLACE_CMD} 's|-Wl,-pie||g' \
${WRKSRC}/tools/Makefile \
${WRKSRC}/src/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pdfviewer
.include <bsd.port.mk>