summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2004-01-13 06:46:25 +0000
committerMark Linimon <linimon@FreeBSD.org>2004-01-13 06:46:25 +0000
commit7565c476b26023b16c83970da6b4cd3b7d6e1198 (patch)
treea4dd6211f8cdb3d002ed1c5cbf6d5f08d652c623 /chinese
parentRemove WITHOUT_GNOME support because it doesn't work from the recent (diff)
Back out revision 1.6 which was committed by mistake; the change in
it was picked up by a spurious commit of mine to chinese/*/Makefile. Sorry about that. If anyone has had ghostscript dependency problems while trying to install this port, please try it again now.
Notes
Notes: svn path=/head/; revision=98045
Diffstat (limited to 'chinese')
-rw-r--r--chinese/enscript/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/chinese/enscript/Makefile b/chinese/enscript/Makefile
index d155d713ffb8..97ec2971f63a 100644
--- a/chinese/enscript/Makefile
+++ b/chinese/enscript/Makefile
@@ -12,14 +12,19 @@ MASTERDIR= ${.CURDIR}/../../print/enscript-letter
MAINTAINER= keith@FreeBSD.org
-RUN_DEPENDS= ttfm.sh:${PORTSDIR}/chinese/ttfm
+.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}
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} ""