summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-09-24 08:44:13 +0000
committerknu <knu@FreeBSD.org>2001-09-24 08:44:13 +0000
commitc993ff322f3b7692f37b04f82ceae13a6731ec58 (patch)
tree1b9e56fb511dd1e522f03a9b4752fdcc6eead5c9
parent48cd6a8175373f17faadd27886199d0010ed12b9 (diff)
downloadFreeBSD-ports-c993ff322f3b7692f37b04f82ceae13a6731ec58.zip
FreeBSD-ports-c993ff322f3b7692f37b04f82ceae13a6731ec58.tar.gz
Switch from ghostscript6 (6.50) to ghostscript-gnu (6.51).
No response from: keith (MAINTAINER)
-rw-r--r--chinese/ghostscript6/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/chinese/ghostscript6/Makefile b/chinese/ghostscript6/Makefile
index 00a3032..f5cccfd 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>
OpenPOWER on IntegriCloud