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. :-)
This commit is contained in:
Jing-Tang Keith Jang 2000-11-13 08:48:09 +00:00
parent 10c2171c8a
commit 09cc04f6fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35057
6 changed files with 71 additions and 0 deletions

View File

@ -52,6 +52,7 @@
SUBDIR += tin
SUBDIR += tintin++
SUBDIR += tocps
SUBDIR += ttfm
SUBDIR += ve
SUBDIR += xa+cv
SUBDIR += xcin

36
chinese/ttfm/Makefile Normal file
View File

@ -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>

1
chinese/ttfm/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (ttfm-0.9.0.tar.gz) = 730d398bb36e4ee8d5ea7305a435fa25

1
chinese/ttfm/pkg-comment Normal file
View File

@ -0,0 +1 @@
A Big5/GB enhanced TrueType Font Manager

19
chinese/ttfm/pkg-descr Normal file
View File

@ -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.

13
chinese/ttfm/pkg-plist Normal file
View File

@ -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