diff options
-rw-r--r-- | chinese/Makefile | 1 | ||||
-rw-r--r-- | chinese/ttfm/Makefile | 36 | ||||
-rw-r--r-- | chinese/ttfm/distinfo | 1 | ||||
-rw-r--r-- | chinese/ttfm/pkg-comment | 1 | ||||
-rw-r--r-- | chinese/ttfm/pkg-descr | 19 | ||||
-rw-r--r-- | chinese/ttfm/pkg-plist | 13 |
6 files changed, 71 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile index 2351217d8203..9a4b8efc7ae7 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -52,6 +52,7 @@ SUBDIR += tin SUBDIR += tintin++ SUBDIR += tocps + SUBDIR += ttfm SUBDIR += ve SUBDIR += xa+cv SUBDIR += xcin diff --git a/chinese/ttfm/Makefile b/chinese/ttfm/Makefile new file mode 100644 index 000000000000..8a7cae43d03f --- /dev/null +++ b/chinese/ttfm/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: zh-ttfm +# Date created: 12 Nov 2000 +# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= ttfm +PORTVERSION= 0.9.0 +CATEGORIES= chinese print +MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/ + +MAINTAINER= keith@FreeBSD.org + +USE_FREETYPE= yes + +FONTSDIR= ${PREFIX}/share/fonts/ttf/ +MODULESDIR= ${PREFIX}/share/ttfm/ + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/ttfinfo ${PREFIX}/bin + @${INSTALL_SCRIPT} ${WRKSRC}/ttfm.sh ${PREFIX}/bin + @${MKDIR} ${PREFIX}/share/doc/ttfm +.for doc in README USAGE + @${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/ttfm +.endfor + @${MKDIR} ${MODULESDIR} +.for module in xfreetype.ttfm xttfm.ttfm + @${INSTALL_SCRIPT} ${WRKSRC}/modules/${module} ${MODULESDIR} +.endfor +.for module in chitex.ttfm ttf2pk.ttfm xttfm-tcl.ttfm + @${INSTALL_SCRIPT} ${WRKSRC}/modules/${module} ${MODULESDIR}/${module}.nop +.endfor + @${MKDIR} ${FONTSDIR} + +.include <bsd.port.mk> diff --git a/chinese/ttfm/distinfo b/chinese/ttfm/distinfo new file mode 100644 index 000000000000..dfa9bc9ef15c --- /dev/null +++ b/chinese/ttfm/distinfo @@ -0,0 +1 @@ +MD5 (ttfm-0.9.0.tar.gz) = 730d398bb36e4ee8d5ea7305a435fa25 diff --git a/chinese/ttfm/pkg-comment b/chinese/ttfm/pkg-comment new file mode 100644 index 000000000000..e72456044856 --- /dev/null +++ b/chinese/ttfm/pkg-comment @@ -0,0 +1 @@ +A Big5/GB enhanced TrueType Font Manager diff --git a/chinese/ttfm/pkg-descr b/chinese/ttfm/pkg-descr new file mode 100644 index 000000000000..27ff6f5845d0 --- /dev/null +++ b/chinese/ttfm/pkg-descr @@ -0,0 +1,19 @@ +A True Type Font Manager that handles true type font +installation, uninstallation, list, and default font +setting. It was originally in the CLE distribution. + +The manager doesn't deal with applications using TTF +directly. Instead, it calls modules to handle the +details. There are only several predefined behaviours +of the modules, like add/remove/list. There are four +modules as of version 0.9: + +chitex: For ChiTeX, a Chinese TeX/LaTeX +ttf2pk: Generate pk/tfm for CJK +xfreetype: For Xfsft in XFree86 3.3.x and "freetype" + module in 4.x +xttfm: For X-TT in XFree86 3.3.x and "xtt" module in + 4.x, avaiable in both tcl and sh versions. + +Some modules are Big5/GB enhanced, for better font +detection/generation. diff --git a/chinese/ttfm/pkg-plist b/chinese/ttfm/pkg-plist new file mode 100644 index 000000000000..0e0c4388d8f6 --- /dev/null +++ b/chinese/ttfm/pkg-plist @@ -0,0 +1,13 @@ +bin/ttfinfo +bin/ttfm.sh +share/doc/ttfm/README +share/doc/ttfm/USAGE +share/ttfm/chitex.ttfm.nop +share/ttfm/ttf2pk.ttfm.nop +share/ttfm/xttfm-tcl.ttfm.nop +share/ttfm/xfreetype.ttfm +share/ttfm/xttfm.ttfm +@dirrm share/doc/ttfm +@dirrm share/ttfm +@unexec rmdir %D/share/fonts/ttf 2>/dev/null || true +@unexec rmdir %D/share/fonts 2>/dev/null || true |