summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-24 08:44:13 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-24 08:44:13 +0000
commitc7854e63469901ad14aa8b1bf1477ffc95490ecf (patch)
treebe17bea42bcb1c908d2c7d61d4a3f6903a85223f /chinese
parentUpdate to 0.7.5. (diff)
Switch from ghostscript6 (6.50) to ghostscript-gnu (6.51).
No response from: keith (MAINTAINER)
Notes
Notes: svn path=/head/; revision=48139
Diffstat (limited to 'chinese')
-rw-r--r--chinese/ghostscript6/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/chinese/ghostscript6/Makefile b/chinese/ghostscript6/Makefile
index 00a3032edca8..f5cccfd40e61 100644
--- a/chinese/ghostscript6/Makefile
+++ b/chinese/ghostscript6/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= ghostscript
-PORTVERSION= 6.50
-PORTREVISION= 1
+PORTVERSION= 6.51
CATEGORIES= chinese print
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/CID/CMap/ \
ftp://freebsd.sinica.edu.tw/pub/keith/GS6TTF/ \
@@ -20,7 +19,7 @@ EXTRACT_ONLY=
MAINTAINER= keith@FreeBSD.org
-RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/6.50/lib/gs_ttf.ps:${PORTSDIR}/print/ghostscript6 \
+RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/${PORTVERSION}/lib/gs_ttf.ps:${PORTSDIR}/print/ghostscript-gnu \
ttfm.sh:${PORTSDIR}/chinese/ttfm
NO_BUILD= yes
@@ -41,13 +40,13 @@ do-install:
${LN} -sf rksj-cmaps/* . )
@(cd ${PREFIX}/share/ghostscript/CJK/TrueType; \
${TAR} -xzf ${DISTDIR}/cjkvttcidmap-0.8.tar.gz )
- @(cd ${PREFIX}/share/ghostscript/6.50/lib; \
+ @(cd ${PREFIX}/share/ghostscript/${PORTVERSION}/lib; \
${GZCAT} ${DISTDIR}/gs6.50_ttf.ps-cjkv-20001215.patch.gz |${PATCH} )
- @${CP} ${PREFIX}/share/ghostscript/6.50/lib/gs_res.ps \
- ${PREFIX}/share/ghostscript/6.50/lib/gs_res.ps.orig
+ @${CP} ${PREFIX}/share/ghostscript/${PORTVERSION}/lib/gs_res.ps \
+ ${PREFIX}/share/ghostscript/${PORTVERSION}/lib/gs_res.ps.orig
@${SED} -e "s:(/Resource/):(${PREFIX}/share/ghostscript/CJK/):g" \
-e "s:(/Resource/Font/):(${PREFIX}/share/ghostscript/CJK/Font/):g" \
- ${PREFIX}/share/ghostscript/6.50/lib/gs_res.ps.orig > \
- ${PREFIX}/share/ghostscript/6.50/lib/gs_res.ps
+ ${PREFIX}/share/ghostscript/${PORTVERSION}/lib/gs_res.ps.orig > \
+ ${PREFIX}/share/ghostscript/${PORTVERSION}/lib/gs_res.ps
.include <bsd.port.mk>