aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-07-28 05:31:09 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-07-28 05:31:09 +0000
commita492c096d821b09bacbd616dc20a03613cee1f07 (patch)
treed9a3064c78d7425d740b17a60f818358f9e713c1 /deskutils
parent0b4f6089efe5d4b4f8419f35ce86f9d9730f5a75 (diff)
downloadports-a492c096d821b09bacbd616dc20a03613cee1f07.tar.gz
ports-a492c096d821b09bacbd616dc20a03613cee1f07.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
Notes
Notes: svn path=/head/; revision=85711
Diffstat (limited to 'deskutils')
-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