diff --git a/chinese/moefonts-cid/Makefile b/chinese/moefonts-cid/Makefile index 5faabc2e161a..8eb3cbfe12b3 100644 --- a/chinese/moefonts-cid/Makefile +++ b/chinese/moefonts-cid/Makefile @@ -18,12 +18,17 @@ EXTRACT_ONLY= # empty MAINTAINER= ports@FreeBSD.org COMMENT= MOE CIDFonts converted by Adobe -RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/Resource/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps +.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 NO_BUILD= YES -USE_GHOSTSCRIPT_RUN= yes - pre-fetch: .if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes @${ECHO} ""