diff options
author | keith <keith@FreeBSD.org> | 2000-11-13 08:48:09 +0000 |
---|---|---|
committer | keith <keith@FreeBSD.org> | 2000-11-13 08:48:09 +0000 |
commit | 5abe03a27338b3d3187b7df1b7457817ca3f4a9f (patch) | |
tree | e391b1bb07b5cd9903ca2e64779451f99b5ef5d3 | |
parent | aba3a35f2e8b162fb8f93e6f3f8e2bccdb651574 (diff) | |
download | FreeBSD-ports-5abe03a27338b3d3187b7df1b7457817ca3f4a9f.zip FreeBSD-ports-5abe03a27338b3d3187b7df1b7457817ca3f4a9f.tar.gz |
New port added: ttfm
A True Type Font Manager that handles true type font installation,
uninstallation, list, and default font setting. It was originally
in the CLE Linux distribution, modified by Cheng Yuan-Chung from
Joerg Pommnitz's ttmkfdir, to have Big5/GB TTF better detection.
There are four modules as of version 0.9.0 for their respective apps:
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, available
in both tcl and sh versions.
Since ChiTeX hasn't been ported yet, CJK needs further tuning, only
xfreetype & xttfm are available right now. Future applications which
uses TTF(like ghostscript) should use TTFM to manage TTF. The importing
of this port also implies existing ports like arphicttf/moettf should
be re-written.
/me is always able to find trouble for himself. :-)
-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 2351217..9a4b8ef 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 0000000..8a7cae4 --- /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 0000000..dfa9bc9 --- /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 0000000..e724560 --- /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 0000000..27ff6f5 --- /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 0000000..0e0c438 --- /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 |