c567676136
Release 21.06.0: core: * Fix rendering of some extended latin1 characters in annotations. Issue #1070 * Support some not so well formed documents with password. Issue #1083 * Add API to get notified if the xref is reconstructed * Add somewhat fancier left/right signature visual representation * Fix crashes in malformed files * Minor code improvements qt6: * Change some functions to return std::unique_ptr qt5/qt6: * Add API to get notified if the xref is reconstructed * Add somewhat fancier left/right signature visual representation * Don't assert when trying to invert singular matrices build system: * make boost opt-out if building splash - Add dependency on boost to enable the splash backend. PR: 256370 Exp-run by: antoine
48 lines
1.4 KiB
Makefile
48 lines
1.4 KiB
Makefile
# Created by: chinsan <chinsan.tw@gmail.com>
|
|
|
|
PORTNAME= epdfview
|
|
PORTVERSION= 0.1.8
|
|
PORTREVISION= 43
|
|
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>
|