aboutsummaryrefslogtreecommitdiff
path: root/print/photoprint
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2017-10-26 22:56:54 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2017-10-26 22:56:54 +0000
commit5792844491a5811cdc57e2989766afc053ba5cfd (patch)
tree09eafc626173fa0ad74bd9d3468ecebb79f70aaf /print/photoprint
parent8d40fcf1d85030a436dc0329aad5758050825e55 (diff)
Notes
Diffstat (limited to 'print/photoprint')
-rw-r--r--print/photoprint/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/print/photoprint/Makefile b/print/photoprint/Makefile
index 84c582f35e11..9791f594abce 100644
--- a/print/photoprint/Makefile
+++ b/print/photoprint/Makefile
@@ -2,7 +2,7 @@
PORTNAME= photoprint
DISTVERSION= 0.4.2-pre2
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= print graphics
MASTER_SITES= http://www.blackfiveimaging.co.uk/photoprint/
@@ -12,6 +12,8 @@ COMMENT= Utility to print multiple images per sheet
LICENSE= GPLv2
LIB_DEPENDS= libcups.so:print/cups \
+ libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2 \
libgutenprint.so:print/gutenprint \
liblcms.so:graphics/lcms \
libnetpbm.so:graphics/netpbm \
@@ -20,7 +22,7 @@ LIB_DEPENDS= libcups.so:print/cups \
GNU_CONFIGURE= yes
USES= desktop-file-utils gettext jpeg libtool pkgconfig
-USE_GNOME= gdkpixbuf2 gtk20
+USE_GNOME= cairo gdkpixbuf2 gtk20
USE_XORG= x11
INSTALLS_ICONS= yes
@@ -30,5 +32,7 @@ LIBS+= -L${LOCALBASE}/lib -lX11
post-patch:
@${REINPLACE_CMD} -e 's|glib/gstrfuncs.h|glib.h|g' \
${WRKSRC}/gp_cppsupport/gprinter.cpp
+ @${REINPLACE_CMD} -e 's|cups/cups.h|cups/ppd.h|g' \
+ ${WRKSRC}/stp_support/printerqueues_unix.c
.include <bsd.port.mk>