From a492c096d821b09bacbd616dc20a03613cee1f07 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Mon, 28 Jul 2003 05:31:09 +0000 Subject: - 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 --- deskutils/gworkspace/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'deskutils/gworkspace') 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 -- cgit v1.2.3