aboutsummaryrefslogtreecommitdiffstats
path: root/net/wb
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-01-21 00:30:09 +0800
committermarcus <marcus@FreeBSD.org>2004-01-21 00:30:09 +0800
commit832fa9838ab1e4697a84f093306a5259c766afd6 (patch)
treee3db5d1ad3f330e38e50ecdcfc9753318db20ef1 /net/wb
parent259679e71a7cf3fa04dcd60ad745125e8bf16d87 (diff)
downloadfreebsd-ports-gnome-832fa9838ab1e4697a84f093306a5259c766afd6.tar.gz
freebsd-ports-gnome-832fa9838ab1e4697a84f093306a5259c766afd6.tar.zst
freebsd-ports-gnome-832fa9838ab1e4697a84f093306a5259c766afd6.zip
Use the new ghostscript options.
Submitted by: linimon
Diffstat (limited to 'net/wb')
-rw-r--r--net/wb/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/net/wb/Makefile b/net/wb/Makefile
index 3e981484efba..4f865b3f9338 100644
--- a/net/wb/Makefile
+++ b/net/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"