mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
5dc59a82ae
Release 20.09.0: core: * Compability fix for Forms * Fix fetching of Objects failing in some cases * Fix clearing date in Annot setModified/setDate * TextSelectionPainter: support glyphless fonts * Splash: Don't try read past end of image * avoid abort() on large memory allocation * Fix memory leak on broken files * Fix potential invalid memory read * Small code improvements qt5: * Document TextAnnotation::inplaceAlign * Make Annotation::setModification/CreationDate work on existing annots * Be a bit more stubborn converting dates that come from xml * Clean as many null characters from the end as possible when converting strings glib: * Add accessor functions for PopplerAttachment * Deprecate PopplerAttachment GTime fields * Deprecate PopplerDocument date properties utils: * pdftoppm: report error and exit if output file cannot be written * Document that PDF-file can be '-' to read it from stdin build system: * cmake: Modern way to link against libpng, zlib and libtiff * cmake: Remove stray support for lcms1 in pdftocairo PR: 249060 Exp-run by: antoine
50 lines
1.4 KiB
Makefile
50 lines
1.4 KiB
Makefile
# Created by: chinsan <chinsan.tw@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= epdfview
|
|
PORTVERSION= 0.1.8
|
|
PORTREVISION= 34
|
|
CATEGORIES= graphics print gnome
|
|
MASTER_SITES= FRUGALWARE/xapps-extra/${PORTNAME} \
|
|
ftp://ftp.slackware.com/.1/blfs/conglomeration/${PORTNAME}/ \
|
|
http://anduin.linuxfromscratch.org/sources/BLFS/conglomeration/${PORTNAME}/ \
|
|
http://pkgs.fedoraproject.org/repo/pkgs/${PORTNAME}/${DISTNAME}${EXTRACT_SUFX}/e50285b01612169b2594fea375f53ae4/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Lightweight PDF document viewer
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= cppunit-config:devel/cppunit
|
|
LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib
|
|
|
|
USES= compiler:c++11-lang desktop-file-utils gmake gnome iconv \
|
|
pkgconfig tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_ICONS= yes
|
|
USE_GNOME= gtk20 intlhack
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= CUPS NLS
|
|
OPTIONS_DEFAULT=CUPS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
CUPS_CONFIGURE_WITH= cups
|
|
CUPS_LIB_DEPENDS= libcups.so:print/cups
|
|
|
|
NLS_USES= gettext
|
|
NLS_CPPFLAGS= -I${LOCALBASE}/include
|
|
NLS_LDFLAGS= -L${LOCALBASE}/lib
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
|
|
${WRKSRC}/src/gtk/StockIcons.h
|
|
|
|
post-install:
|
|
${REINPLACE_CMD} -e 's,Icon.*,Icon=${DATADIR}/pixmaps/icon_epdfview-48.png,' ${WRKSRC}/data/${PORTNAME}.desktop
|
|
${INSTALL_DATA} ${WRKSRC}/data/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/
|
|
|
|
.include <bsd.port.mk>
|