aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-07-28 13:31:09 +0800
committerdinoex <dinoex@FreeBSD.org>2003-07-28 13:31:09 +0800
commit83a34fb48a754cf0447a63f519ffd41f720dda35 (patch)
tree4074fb4163f2386372e4d2ab857a743951e103f7
parent891e9fc65fbfadcc26bc54415e5735dd9c2ee6c5 (diff)
downloadfreebsd-ports-gnome-83a34fb48a754cf0447a63f519ffd41f720dda35.tar.gz
freebsd-ports-gnome-83a34fb48a754cf0447a63f519ffd41f720dda35.tar.zst
freebsd-ports-gnome-83a34fb48a754cf0447a63f519ffd41f720dda35.zip
- new Option WITH_GHOSTSCRIPT_AFPL
This patch allows the admin of the machine to choose either print/ghostscript-gnu or print/ghostscript-afp1 PR: 54923 Submitted by: rehsack@liwing.de
-rw-r--r--deskutils/gworkspace/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/deskutils/gworkspace/Makefile b/deskutils/gworkspace/Makefile
index ac1046ab80ce..11597af2cb88 100644
--- a/deskutils/gworkspace/Makefile
+++ b/deskutils/gworkspace/Makefile
@@ -24,8 +24,13 @@ MAKEFILE= GNUmakefile
.ifdef WITHOUT_GHOSTSCRIPT
PLIST_SUB+= PDFVIEW="@comment "
.else
-BUILD_DEPENDS+= gs:${PORTSDIR}/print/ghostscript-gnu
-RUN_DEPENDS+= gs:${PORTSDIR}/print/ghostscript-gnu
+.if defined(WITH_GHOSTSCRIPT_AFP1)
+GSPORT?= print/ghostscript-afp1
+.else
+GSPORT?= print/ghostscript-gnu
+.endif
+BUILD_DEPENDS+= gs:${PORTSDIR}/${GSPORT}
+RUN_DEPENDS+= gs:${PORTSDIR}/${GSPORT}
PLIST_SUB+= PDFVIEW=""
.endif