diff options
author | kevlo <kevlo@FreeBSD.org> | 2000-10-03 23:43:11 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2000-10-03 23:43:11 +0800 |
commit | f3a60c1272972637929e63cb3a7538f5d20e54d3 (patch) | |
tree | 2312a2860bb7f2ac8330e7ec6da22ecc88b318e0 /chinese | |
parent | 9e11b8ee2550140c2782e238330db43db027fd53 (diff) | |
download | freebsd-ports-gnome-f3a60c1272972637929e63cb3a7538f5d20e54d3.tar.gz freebsd-ports-gnome-f3a60c1272972637929e63cb3a7538f5d20e54d3.tar.zst freebsd-ports-gnome-f3a60c1272972637929e63cb3a7538f5d20e54d3.zip |
Import moefonts-cid, which is MOE CIDFonts converted by Adobe.
PR: 21703
Submitted by: Jing-Tang Keith Jang <keith@freebsd.sinica.edu.tw>
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/moefonts-cid/Makefile | 43 | ||||
-rw-r--r-- | chinese/moefonts-cid/distinfo | 4 | ||||
-rw-r--r-- | chinese/moefonts-cid/files/MOEKai-Regular-ETen-B5-H.gsf | 16 | ||||
-rw-r--r-- | chinese/moefonts-cid/files/MOEKai-Regular-ETen-B5-V.gsf | 16 | ||||
-rw-r--r-- | chinese/moefonts-cid/files/MOESung-Regular-ETen-B5-H.gsf | 16 | ||||
-rw-r--r-- | chinese/moefonts-cid/files/MOESung-Regular-ETen-B5-V.gsf | 16 | ||||
-rw-r--r-- | chinese/moefonts-cid/pkg-comment | 1 | ||||
-rw-r--r-- | chinese/moefonts-cid/pkg-deinstall | 14 | ||||
-rw-r--r-- | chinese/moefonts-cid/pkg-descr | 13 | ||||
-rw-r--r-- | chinese/moefonts-cid/pkg-install | 15 | ||||
-rw-r--r-- | chinese/moefonts-cid/pkg-plist | 65 | ||||
-rw-r--r-- | chinese/moefonts-cid/pkg-req | 14 |
13 files changed, 234 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile index b3c15fc59840..3bbb1f7ab3a4 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -24,6 +24,7 @@ SUBDIR += kcfonts SUBDIR += libtabe SUBDIR += lunar + SUBDIR += moefonts-cid SUBDIR += moettf SUBDIR += mule-freewnn SUBDIR += muni diff --git a/chinese/moefonts-cid/Makefile b/chinese/moefonts-cid/Makefile new file mode 100644 index 000000000000..ae7847c14b1e --- /dev/null +++ b/chinese/moefonts-cid/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: MOE CIDFonts +# Date created: 3 Mar 2000 +# Whom: Jing-Tang Keith Jang <keith@freebsd.sinica.edu.tw> +# +# $FreeBSD$ +# + +PORTNAME= moefonts-cid +PORTVERSION= 1.0 +CATEGORIES= chinese print +MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/moe_cidfonts/ \ + ftp://ftp.ora.com/pub/examples/nutshell/cjkv/adobe/ \ + ftp://ftp.ora.com/pub/examples/nutshell/cjkv/adobe/samples/ +DISTFILES= MOEKai-Regular MOESung-Regular ac13.tar.Z ag13.tar.Z + +MAINTAINER= keith@freebsd.sinica.edu.tw + +RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript6 + +NO_BUILD= YES + +do-extract: + @${MKDIR} ${WRKDIR} + @(cd ${WRKDIR} && \ + ${TAR} xzf ${DISTDIR}/ac13.tar.Z && \ + ${TAR} xzf ${DISTDIR}/ag13.tar.Z ) + +do-install: + @${INSTALL_DATA} ${DISTDIR}/MOEKai-Regular \ + ${DISTDIR}/MOESung-Regular \ + ${FILESDIR}/MOEKai-Regular-ETen-B5-H.gsf \ + ${FILESDIR}/MOEKai-Regular-ETen-B5-V.gsf \ + ${FILESDIR}/MOESung-Regular-ETen-B5-H.gsf \ + ${FILESDIR}/MOESung-Regular-ETen-B5-V.gsf \ + ${PREFIX}/share/ghostscript/fonts + @${MKDIR} ${PREFIX}/share/ghostscript/fonts/CMap + @${INSTALL_DATA} ${WRKDIR}/ac13/CMap/* \ + ${PREFIX}/share/ghostscript/fonts/CMap + @${INSTALL_DATA} ${WRKDIR}/ag13/CMap/* \ + ${PREFIX}/share/ghostscript/fonts/CMap + @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL + +.include <bsd.port.mk> diff --git a/chinese/moefonts-cid/distinfo b/chinese/moefonts-cid/distinfo new file mode 100644 index 000000000000..0ffcff1019a8 --- /dev/null +++ b/chinese/moefonts-cid/distinfo @@ -0,0 +1,4 @@ +MD5 (MOEKai-Regular) = f8a94515e3058321c78149e862005459 +MD5 (MOESung-Regular) = 42a8801fb18a4b851a7ce1224b3b5bc3 +MD5 (ac13.tar.Z) = bfd28f5d6f6dd6f8e3ea9080e9aca359 +MD5 (ag13.tar.Z) = 8f664529e6a0fc0405a7c1520c532544 diff --git a/chinese/moefonts-cid/files/MOEKai-Regular-ETen-B5-H.gsf b/chinese/moefonts-cid/files/MOEKai-Regular-ETen-B5-H.gsf new file mode 100644 index 000000000000..d6d99e8150a4 --- /dev/null +++ b/chinese/moefonts-cid/files/MOEKai-Regular-ETen-B5-H.gsf @@ -0,0 +1,16 @@ +/MOEKai-Regular-ETen-B5-H +/MOEKai-Regular (MOEKai-Regular) +/ETen-B5-H (CMap/ETen-B5-H) + +1 index /CMap resourcestatus +{pop pop pop} +{runlibfile} ifelse +/CMap findresource + +3 1 roll +1 index /CIDFont resourcestatus +{pop pop pop} +{runlibfile} ifelse +/CIDFont findresource + +[ exch ] composefont pop diff --git a/chinese/moefonts-cid/files/MOEKai-Regular-ETen-B5-V.gsf b/chinese/moefonts-cid/files/MOEKai-Regular-ETen-B5-V.gsf new file mode 100644 index 000000000000..500d360c87f1 --- /dev/null +++ b/chinese/moefonts-cid/files/MOEKai-Regular-ETen-B5-V.gsf @@ -0,0 +1,16 @@ +/MOEKai-Regular-ETen-B5-V +/MOEKai-Regular (MOEKai-Regular) +/ETen-B5-V (CMap/ETen-B5-V) + +1 index /CMap resourcestatus +{pop pop pop} +{runlibfile} ifelse +/CMap findresource + +3 1 roll +1 index /CIDFont resourcestatus +{pop pop pop} +{runlibfile} ifelse +/CIDFont findresource + +[ exch ] composefont pop diff --git a/chinese/moefonts-cid/files/MOESung-Regular-ETen-B5-H.gsf b/chinese/moefonts-cid/files/MOESung-Regular-ETen-B5-H.gsf new file mode 100644 index 000000000000..3b87d3b4df9f --- /dev/null +++ b/chinese/moefonts-cid/files/MOESung-Regular-ETen-B5-H.gsf @@ -0,0 +1,16 @@ +/MOESung-Regular-ETen-B5-H +/MOESung-Regular (MOESung-Regular) +/ETen-B5-H (CMap/ETen-B5-H) + +1 index /CMap resourcestatus +{pop pop pop} +{runlibfile} ifelse +/CMap findresource + +3 1 roll +1 index /CIDFont resourcestatus +{pop pop pop} +{runlibfile} ifelse +/CIDFont findresource + +[ exch ] composefont pop diff --git a/chinese/moefonts-cid/files/MOESung-Regular-ETen-B5-V.gsf b/chinese/moefonts-cid/files/MOESung-Regular-ETen-B5-V.gsf new file mode 100644 index 000000000000..5a9b85ff9848 --- /dev/null +++ b/chinese/moefonts-cid/files/MOESung-Regular-ETen-B5-V.gsf @@ -0,0 +1,16 @@ +/MOESung-Regular-ETen-B5-V +/MOESung-Regular (MOESung-Regular) +/ETen-B5-V (CMap/ETen-B5-V) + +1 index /CMap resourcestatus +{pop pop pop} +{runlibfile} ifelse +/CMap findresource + +3 1 roll +1 index /CIDFont resourcestatus +{pop pop pop} +{runlibfile} ifelse +/CIDFont findresource + +[ exch ] composefont pop diff --git a/chinese/moefonts-cid/pkg-comment b/chinese/moefonts-cid/pkg-comment new file mode 100644 index 000000000000..73452e3694aa --- /dev/null +++ b/chinese/moefonts-cid/pkg-comment @@ -0,0 +1 @@ +MOE CIDFonts converted by Adobe diff --git a/chinese/moefonts-cid/pkg-deinstall b/chinese/moefonts-cid/pkg-deinstall new file mode 100644 index 000000000000..ac428dd379d3 --- /dev/null +++ b/chinese/moefonts-cid/pkg-deinstall @@ -0,0 +1,14 @@ +#!/bin/sh + +GSVER=6.01 +GSDIR=${PKG_PREFIX}/share/ghostscript +FONTMAP=${GSDIR}/${GSVER}/lib/Fontmap.GS +FONTMAPTMP=${FONTMAP}.tmp + +# Run just once. +if [ "x$2" != "xDEINSTALL" ]; then + exit 0 +fi + +sed -e "/^\/MOE.*/d" ${FONTMAP} > ${FONTMAPTMP} +mv -f ${FONTMAPTMP} ${FONTMAP} diff --git a/chinese/moefonts-cid/pkg-descr b/chinese/moefonts-cid/pkg-descr new file mode 100644 index 000000000000..2e0ff5f5d6f6 --- /dev/null +++ b/chinese/moefonts-cid/pkg-descr @@ -0,0 +1,13 @@ +MOE CIDFonts +============ + +This font collection is used by ghostscript, for printing +Chinese documents. + +Chinese CID-Keyed fonts(MOEKai and MOESung) are provided by +Adobe, and original 48x48 bitmap fonts is from Ministry of +Education of Taiwan Government, prepared by Dynalab. These +fonts are free to use. + +-- +Jing-Tang Keith Jang <keith@freebsd.sinica.edu.tw> diff --git a/chinese/moefonts-cid/pkg-install b/chinese/moefonts-cid/pkg-install new file mode 100644 index 000000000000..117b7118e9dd --- /dev/null +++ b/chinese/moefonts-cid/pkg-install @@ -0,0 +1,15 @@ +#!/bin/sh + +GSVER=6.01 +GSDIR=${PKG_PREFIX}/share/ghostscript +FONTMAP=${GSDIR}/${GSVER}/lib/Fontmap.GS + +# Run just once. +if [ "x$2" != "xPOST-INSTALL" ]; then + exit 0 +fi + +echo "/MOEKai-Regular-ETen-B5-H (MOEKai-Regular-ETen-B5-H.gsf) ;" >> ${FONTMAP} +echo "/MOEKai-Regular-ETen-B5-V (MOEKai-Regular-ETen-B5-V.gsf) ;" >> ${FONTMAP} +echo "/MOESung-Regular-ETen-B5-H (MOESung-Regular-ETen-B5-H.gsf) ;" >> ${FONTMAP} +echo "/MOESung-Regular-ETen-B5-V (MOESung-Regular-ETen-B5-V.gsf) ;" >> ${FONTMAP} diff --git a/chinese/moefonts-cid/pkg-plist b/chinese/moefonts-cid/pkg-plist new file mode 100644 index 000000000000..2cc9db3e3e29 --- /dev/null +++ b/chinese/moefonts-cid/pkg-plist @@ -0,0 +1,65 @@ +share/ghostscript/fonts/CMap/Adobe-CNS1-0 +share/ghostscript/fonts/CMap/Adobe-CNS1-1 +share/ghostscript/fonts/CMap/Adobe-CNS1-2 +share/ghostscript/fonts/CMap/Adobe-CNS1-3 +share/ghostscript/fonts/CMap/Adobe-GB1-0 +share/ghostscript/fonts/CMap/Adobe-GB1-1 +share/ghostscript/fonts/CMap/Adobe-GB1-2 +share/ghostscript/fonts/CMap/Adobe-GB1-3 +share/ghostscript/fonts/CMap/B5-H +share/ghostscript/fonts/CMap/B5-V +share/ghostscript/fonts/CMap/B5pc-H +share/ghostscript/fonts/CMap/B5pc-V +share/ghostscript/fonts/CMap/CNS-EUC-H +share/ghostscript/fonts/CMap/CNS-EUC-V +share/ghostscript/fonts/CMap/CNS1-H +share/ghostscript/fonts/CMap/CNS1-V +share/ghostscript/fonts/CMap/CNS2-H +share/ghostscript/fonts/CMap/CNS2-V +share/ghostscript/fonts/CMap/ETHK-B5-H +share/ghostscript/fonts/CMap/ETHK-B5-V +share/ghostscript/fonts/CMap/ETen-B5-H +share/ghostscript/fonts/CMap/ETen-B5-V +share/ghostscript/fonts/CMap/GB-EUC-H +share/ghostscript/fonts/CMap/GB-EUC-V +share/ghostscript/fonts/CMap/GB-H +share/ghostscript/fonts/CMap/GB-V +share/ghostscript/fonts/CMap/GBK-EUC-H +share/ghostscript/fonts/CMap/GBK-EUC-V +share/ghostscript/fonts/CMap/GBKp-EUC-H +share/ghostscript/fonts/CMap/GBKp-EUC-V +share/ghostscript/fonts/CMap/GBT-EUC-H +share/ghostscript/fonts/CMap/GBT-EUC-V +share/ghostscript/fonts/CMap/GBT-H +share/ghostscript/fonts/CMap/GBT-V +share/ghostscript/fonts/CMap/GBTpc-EUC-H +share/ghostscript/fonts/CMap/GBTpc-EUC-V +share/ghostscript/fonts/CMap/GBpc-EUC-H +share/ghostscript/fonts/CMap/GBpc-EUC-V +share/ghostscript/fonts/CMap/HKdla-B5-H +share/ghostscript/fonts/CMap/HKdla-B5-V +share/ghostscript/fonts/CMap/HKdlb-B5-H +share/ghostscript/fonts/CMap/HKdlb-B5-V +share/ghostscript/fonts/CMap/HKgccs-B5-H +share/ghostscript/fonts/CMap/HKgccs-B5-V +share/ghostscript/fonts/CMap/HKm314-B5-H +share/ghostscript/fonts/CMap/HKm314-B5-V +share/ghostscript/fonts/CMap/HKm471-B5-H +share/ghostscript/fonts/CMap/HKm471-B5-V +share/ghostscript/fonts/CMap/HKscs-B5-H +share/ghostscript/fonts/CMap/HKscs-B5-V +share/ghostscript/fonts/CMap/UniCNS-UCS2-H +share/ghostscript/fonts/CMap/UniCNS-UCS2-V +share/ghostscript/fonts/CMap/UniCNS-UTF8-H +share/ghostscript/fonts/CMap/UniCNS-UTF8-V +share/ghostscript/fonts/CMap/UniGB-UCS2-H +share/ghostscript/fonts/CMap/UniGB-UCS2-V +share/ghostscript/fonts/CMap/UniGB-UTF8-H +share/ghostscript/fonts/CMap/UniGB-UTF8-V +share/ghostscript/fonts/MOEKai-Regular +share/ghostscript/fonts/MOEKai-Regular-ETen-B5-H.gsf +share/ghostscript/fonts/MOEKai-Regular-ETen-B5-V.gsf +share/ghostscript/fonts/MOESung-Regular +share/ghostscript/fonts/MOESung-Regular-ETen-B5-H.gsf +share/ghostscript/fonts/MOESung-Regular-ETen-B5-V.gsf +@dirrm share/ghostscript/fonts/CMap diff --git a/chinese/moefonts-cid/pkg-req b/chinese/moefonts-cid/pkg-req new file mode 100644 index 000000000000..3c1fbafc4907 --- /dev/null +++ b/chinese/moefonts-cid/pkg-req @@ -0,0 +1,14 @@ +#!/bin/sh + +if [ "$2" != "INSTALL" ]; then + exit 0 +fi + +if [ ! -f /usr/local/share/ghostscript/6.01/lib/Fontmap.GS ]; then + echo === + echo You do not have Ghostscript 6.01 installed! + echo + echo This port is specifically for version 6.01 or later, for + echo it fixes many bugs wrt. CIDFonts. + echo === +fi |