summaryrefslogtreecommitdiffstats
path: root/mbone/wb
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-01-20 16:30:09 +0000
committermarcus <marcus@FreeBSD.org>2004-01-20 16:30:09 +0000
commit832fa9838ab1e4697a84f093306a5259c766afd6 (patch)
treee3db5d1ad3f330e38e50ecdcfc9753318db20ef1 /mbone/wb
parent259679e71a7cf3fa04dcd60ad745125e8bf16d87 (diff)
downloadFreeBSD-ports-832fa9838ab1e4697a84f093306a5259c766afd6.zip
FreeBSD-ports-832fa9838ab1e4697a84f093306a5259c766afd6.tar.gz
Use the new ghostscript options.
Submitted by: linimon
Diffstat (limited to 'mbone/wb')
-rw-r--r--mbone/wb/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/mbone/wb/Makefile b/mbone/wb/Makefile
index 3e98148..4f865b3 100644
--- a/mbone/wb/Makefile
+++ b/mbone/wb/Makefile
@@ -18,14 +18,8 @@ NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_X_PREFIX= yes
-# XXX ghostscript, ghostscript3, ghostscript4 or ghostscript5 will all do.
-.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
-GSPORT?= print/ghostscript-afpl
-.else
-GSPORT?= print/ghostscript-gnu
-.endif
-
-RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
+# ghostscript, ghostscript3, ghostscript4 or ghostscript5 will all do.
+USE_GHOSTSCRIPT_RUN= yes
.include <bsd.port.pre.mk>
@@ -33,7 +27,7 @@ RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
STRIP=
.endif
-pre-fetch:
+pre-everything::
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
@${ECHO} ""
@${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
OpenPOWER on IntegriCloud