diff options
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/enscript/Makefile | 11 | ||||
-rw-r--r-- | chinese/moefonts-cid/Makefile | 11 |
2 files changed, 6 insertions, 16 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} "" diff --git a/chinese/moefonts-cid/Makefile b/chinese/moefonts-cid/Makefile index 8eb3cbfe12b3..5faabc2e161a 100644 --- a/chinese/moefonts-cid/Makefile +++ b/chinese/moefonts-cid/Makefile @@ -18,17 +18,12 @@ EXTRACT_ONLY= # empty MAINTAINER= ports@FreeBSD.org COMMENT= MOE CIDFonts converted by Adobe -.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes -GSPORT?= print/ghostscript-afpl -.else -GSPORT?= print/ghostscript-gnu -.endif - -RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT} \ - ${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps +RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps NO_BUILD= YES +USE_GHOSTSCRIPT_RUN= yes + pre-fetch: .if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes @${ECHO} "" |