summaryrefslogtreecommitdiff
path: root/net/wb
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-01-20 16:30:09 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-01-20 16:30:09 +0000
commitb7eeb1b30d83e557cf2a24b7952efbea026c2779 (patch)
tree1b6cdba0063a7653636c9b822f9b7e586ca8a359 /net/wb
parents/sanity-check/check-sanity/ since the latter is the actual target name. (diff)
Use the new ghostscript options.
Submitted by: linimon
Notes
Notes: svn path=/head/; revision=98657
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"