summaryrefslogtreecommitdiff
path: root/print/pdq/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/pdq/Makefile')
-rw-r--r--print/pdq/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/print/pdq/Makefile b/print/pdq/Makefile
index 065eba93960b..8f4bd64b8338 100644
--- a/print/pdq/Makefile
+++ b/print/pdq/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pdq
-PORTVERSION= 2.1.1
+PORTVERSION= 2.2.1
CATEGORIES= print
MASTER_SITES= ftp://feynman.tam.uiuc.edu/pub/pdq/
EXTRACT_SUFX= .tgz
@@ -19,6 +19,7 @@ GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-pdqlibdir=${PREFIX}/etc/pdq
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
GLIB_CONFIG="${GLIB_CONFIG}"
@@ -26,12 +27,11 @@ MAN1= lpd_cancel.1 lpd_print.1 lpd_status.1 pdq.1 xpdq.1
MAN5= printrc.5
post-install:
- ${CP} ${WRKSRC}/sample_etc_printrc ${PREFIX}/etc/printrc.sample
strip ${PREFIX}/bin/pdq
strip ${PREFIX}/bin/xpdq
strip ${PREFIX}/bin/lpd_cancel
strip ${PREFIX}/bin/lpd_print
strip ${PREFIX}/bin/lpd_status
- @${CAT} pkg/MESSAGE
+ @${SED} 's|%%PREFIX%%|${PREFIX}|g' pkg/MESSAGE
.include <bsd.port.mk>