summaryrefslogtreecommitdiff
path: root/chinese/enscript
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/enscript')
-rw-r--r--chinese/enscript/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/chinese/enscript/Makefile b/chinese/enscript/Makefile
index 97ec2971f63a..d155d713ffb8 100644
--- a/chinese/enscript/Makefile
+++ b/chinese/enscript/Makefile
@@ -12,19 +12,14 @@ MASTERDIR= ${.CURDIR}/../../print/enscript-letter
MAINTAINER= keith@FreeBSD.org
-.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
-GSPORT?= print/ghostscript-afpl
-.else
-GSPORT?= print/ghostscript-gnu
-.endif
-
-RUN_DEPENDS= ttfm.sh:${PORTSDIR}/chinese/ttfm \
- gs:${PORTSDIR}/${GSPORT}
+RUN_DEPENDS= ttfm.sh:${PORTSDIR}/chinese/ttfm
EXTRA_PATCHES= ${.CURDIR}/files/patch-*
PLIST= ${WRKDIR}/pkg-plist
PKGMESSAGE= ${.CURDIR}/pkg-message
+USE_GHOSTSCRIPT_RUN= yes
+
pre-fetch:
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
@${ECHO} ""