diff options
-rw-r--r-- | chinese/CJKUnifonts/Makefile | 42 | ||||
-rw-r--r-- | chinese/CJKUnifonts/distinfo | 4 | ||||
-rw-r--r-- | chinese/CJKUnifonts/pkg-descr | 7 | ||||
-rw-r--r-- | chinese/CJKUnifonts/pkg-plist | 10 | ||||
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/arnettf/Makefile | 42 | ||||
-rw-r--r-- | chinese/arnettf/distinfo | 4 | ||||
-rw-r--r-- | chinese/arnettf/pkg-descr | 7 | ||||
-rw-r--r-- | chinese/arnettf/pkg-plist | 10 |
9 files changed, 127 insertions, 0 deletions
diff --git a/chinese/CJKUnifonts/Makefile b/chinese/CJKUnifonts/Makefile new file mode 100644 index 000000000000..08b196d544db --- /dev/null +++ b/chinese/CJKUnifonts/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: arne TrueType Font +# Date created: 10 Dec 2004 +# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw> +# +# $FreeBSD$ +# + +PORTNAME= arnettf +PORTVERSION= 0.0.20041031 +CATEGORIES= chinese x11-fonts +MASTER_SITES= http://debian.linux.org.tw/pub/3Anoppix/people/arne/uming/ \ + http://debian.linux.org.tw/pub/3Anoppix/people/arne/ukai/ +DISTFILES= ttf-arphic-uming_0.0.20041031-1.tar.gz \ + ttf-arphic-ukai_0.0.20041031-1.tar.gz + +MAINTAINER= ports@FreeBSD.Org +COMMENT= Arne TrueType Font is combine of arphic ming and kai fonts + +BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig \ + ttfm.sh:${PORTSDIR}/chinese/ttfm +RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig \ + ttfm.sh:${PORTSDIR}/chinese/ttfm + +NO_BUILD= yes +WRKSRC= ${WRKDIR} +USE_XLIB= yes +FONTDIR= ${PREFIX}/share/fonts/TrueType +XFONTDIR= ${X11BASE}/lib/X11/fonts/TrueType + +.include <bsd.port.pre.mk> + +do-install: + @${MKDIR} ${FONTDIR} + @${INSTALL_DATA} ${WRKSRC}/ttf-arphic-ukai-0.0.20041031/ukai.ttf ${FONTDIR} + @${INSTALL_DATA} ${WRKSRC}/ttf-arphic-uming-0.0.20041031/uming.ttf ${FONTDIR} + @${ECHO_MSG} "===> Running ttfm.sh" + -@${PREFIX}/bin/ttfm.sh --add xttfm ukai.ttf + -@${PREFIX}/bin/ttfm.sh --add xttfm uming.ttf + @${ECHO_MSG} "===> Running fc-cache" + -@${X11BASE}/bin/fc-cache -f -v ${XFONTDIR} + +.include <bsd.port.post.mk> diff --git a/chinese/CJKUnifonts/distinfo b/chinese/CJKUnifonts/distinfo new file mode 100644 index 000000000000..21c9ac77ec86 --- /dev/null +++ b/chinese/CJKUnifonts/distinfo @@ -0,0 +1,4 @@ +MD5 (ttf-arphic-uming_0.0.20041031-1.tar.gz) = f8a74e78a5909b84a4d92f3a559e2c21 +SIZE (ttf-arphic-uming_0.0.20041031-1.tar.gz) = 7950619 +MD5 (ttf-arphic-ukai_0.0.20041031-1.tar.gz) = c58266d333937086dc87e80674ecc1a7 +SIZE (ttf-arphic-ukai_0.0.20041031-1.tar.gz) = 10193481 diff --git a/chinese/CJKUnifonts/pkg-descr b/chinese/CJKUnifonts/pkg-descr new file mode 100644 index 000000000000..15e5478d8547 --- /dev/null +++ b/chinese/CJKUnifonts/pkg-descr @@ -0,0 +1,7 @@ +These fonts are chinese Unicode fonts which include the following +charsets: Big5, GB2312-80, ISO8859-1,2,3,4,7,9,10,13,14,15, +Bopomofo Extended for Minnan and Hakka. + +HKSCS, CNS11643, GB18030, Japanese and Korean are work in progress. + +WWW: http://tavi.debian.org.tw/index.php?page=Unifonts diff --git a/chinese/CJKUnifonts/pkg-plist b/chinese/CJKUnifonts/pkg-plist new file mode 100644 index 000000000000..15929592deb1 --- /dev/null +++ b/chinese/CJKUnifonts/pkg-plist @@ -0,0 +1,10 @@ +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/ukai.ttf || true +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/uming.ttf || true +share/fonts/TrueType/ukai.ttf +share/fonts/TrueType/uming.ttf +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/ukai.ttf || true +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/uming.ttf || true +@unexec %%X11BASE%%/bin/fc-cache -f -v %%X11BASE%%/lib/X11/fonts/TrueType || true +@exec %%X11BASE%%/bin/fc-cache -f -v %%X11BASE%%/lib/X11/fonts/TrueType || true +@unexec rmdir %D/share/fonts/TrueType 2>/dev/null || true +@unexec rmdir %D/share/fonts 2>/dev/null || true diff --git a/chinese/Makefile b/chinese/Makefile index a5f3118d3a25..1f724b887903 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -10,6 +10,7 @@ SUBDIR += MT SUBDIR += acroread5-chsfont SUBDIR += acroread5-chtfont + SUBDIR += arnettf SUBDIR += arphicttf SUBDIR += aterm SUBDIR += auto-tw-l10n diff --git a/chinese/arnettf/Makefile b/chinese/arnettf/Makefile new file mode 100644 index 000000000000..08b196d544db --- /dev/null +++ b/chinese/arnettf/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: arne TrueType Font +# Date created: 10 Dec 2004 +# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw> +# +# $FreeBSD$ +# + +PORTNAME= arnettf +PORTVERSION= 0.0.20041031 +CATEGORIES= chinese x11-fonts +MASTER_SITES= http://debian.linux.org.tw/pub/3Anoppix/people/arne/uming/ \ + http://debian.linux.org.tw/pub/3Anoppix/people/arne/ukai/ +DISTFILES= ttf-arphic-uming_0.0.20041031-1.tar.gz \ + ttf-arphic-ukai_0.0.20041031-1.tar.gz + +MAINTAINER= ports@FreeBSD.Org +COMMENT= Arne TrueType Font is combine of arphic ming and kai fonts + +BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig \ + ttfm.sh:${PORTSDIR}/chinese/ttfm +RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig \ + ttfm.sh:${PORTSDIR}/chinese/ttfm + +NO_BUILD= yes +WRKSRC= ${WRKDIR} +USE_XLIB= yes +FONTDIR= ${PREFIX}/share/fonts/TrueType +XFONTDIR= ${X11BASE}/lib/X11/fonts/TrueType + +.include <bsd.port.pre.mk> + +do-install: + @${MKDIR} ${FONTDIR} + @${INSTALL_DATA} ${WRKSRC}/ttf-arphic-ukai-0.0.20041031/ukai.ttf ${FONTDIR} + @${INSTALL_DATA} ${WRKSRC}/ttf-arphic-uming-0.0.20041031/uming.ttf ${FONTDIR} + @${ECHO_MSG} "===> Running ttfm.sh" + -@${PREFIX}/bin/ttfm.sh --add xttfm ukai.ttf + -@${PREFIX}/bin/ttfm.sh --add xttfm uming.ttf + @${ECHO_MSG} "===> Running fc-cache" + -@${X11BASE}/bin/fc-cache -f -v ${XFONTDIR} + +.include <bsd.port.post.mk> diff --git a/chinese/arnettf/distinfo b/chinese/arnettf/distinfo new file mode 100644 index 000000000000..21c9ac77ec86 --- /dev/null +++ b/chinese/arnettf/distinfo @@ -0,0 +1,4 @@ +MD5 (ttf-arphic-uming_0.0.20041031-1.tar.gz) = f8a74e78a5909b84a4d92f3a559e2c21 +SIZE (ttf-arphic-uming_0.0.20041031-1.tar.gz) = 7950619 +MD5 (ttf-arphic-ukai_0.0.20041031-1.tar.gz) = c58266d333937086dc87e80674ecc1a7 +SIZE (ttf-arphic-ukai_0.0.20041031-1.tar.gz) = 10193481 diff --git a/chinese/arnettf/pkg-descr b/chinese/arnettf/pkg-descr new file mode 100644 index 000000000000..15e5478d8547 --- /dev/null +++ b/chinese/arnettf/pkg-descr @@ -0,0 +1,7 @@ +These fonts are chinese Unicode fonts which include the following +charsets: Big5, GB2312-80, ISO8859-1,2,3,4,7,9,10,13,14,15, +Bopomofo Extended for Minnan and Hakka. + +HKSCS, CNS11643, GB18030, Japanese and Korean are work in progress. + +WWW: http://tavi.debian.org.tw/index.php?page=Unifonts diff --git a/chinese/arnettf/pkg-plist b/chinese/arnettf/pkg-plist new file mode 100644 index 000000000000..15929592deb1 --- /dev/null +++ b/chinese/arnettf/pkg-plist @@ -0,0 +1,10 @@ +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/ukai.ttf || true +@unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/uming.ttf || true +share/fonts/TrueType/ukai.ttf +share/fonts/TrueType/uming.ttf +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/ukai.ttf || true +@exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/uming.ttf || true +@unexec %%X11BASE%%/bin/fc-cache -f -v %%X11BASE%%/lib/X11/fonts/TrueType || true +@exec %%X11BASE%%/bin/fc-cache -f -v %%X11BASE%%/lib/X11/fonts/TrueType || true +@unexec rmdir %D/share/fonts/TrueType 2>/dev/null || true +@unexec rmdir %D/share/fonts 2>/dev/null || true |