summaryrefslogtreecommitdiffstats
path: root/chinese/xttmgr
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2003-10-17 11:22:54 +0000
committervanilla <vanilla@FreeBSD.org>2003-10-17 11:22:54 +0000
commit89295f83ecc16ea9c19a34474b4a54d3ed069cdd (patch)
tree92f749fb61c7b8ad838da8cdf800fe377705ba75 /chinese/xttmgr
parent833e5e373d9b0cf324df571c69ad7fe349abc376 (diff)
downloadFreeBSD-ports-89295f83ecc16ea9c19a34474b4a54d3ed069cdd.zip
FreeBSD-ports-89295f83ecc16ea9c19a34474b4a54d3ed069cdd.tar.gz
Add xttmgr 0.9.6, a Big5/GB enhanced TrueType Font Manager.
PR: 58058 Submitted by: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
Diffstat (limited to 'chinese/xttmgr')
-rw-r--r--chinese/xttmgr/Makefile18
-rw-r--r--chinese/xttmgr/distinfo1
-rw-r--r--chinese/xttmgr/files/patch-Makefile33
-rw-r--r--chinese/xttmgr/pkg-descr13
-rw-r--r--chinese/xttmgr/pkg-plist1
5 files changed, 66 insertions, 0 deletions
diff --git a/chinese/xttmgr/Makefile b/chinese/xttmgr/Makefile
new file mode 100644
index 0000000..4f7287b
--- /dev/null
+++ b/chinese/xttmgr/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: ArialUni CJK TrueType fonts
+# Date created: 13 Oct 2001
+# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xttmgr
+PORTVERSION= 0.9.6
+CATEGORIES= chinese
+MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/xttmgr/
+
+MAINTAINER= statue@freebsd.sinica.edu.tw
+COMMENT= A Big5/GB enhanced TrueType Font Manager
+
+BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2
+
+.include <bsd.port.mk>
diff --git a/chinese/xttmgr/distinfo b/chinese/xttmgr/distinfo
new file mode 100644
index 0000000..08677fb
--- /dev/null
+++ b/chinese/xttmgr/distinfo
@@ -0,0 +1 @@
+MD5 (xttmgr-0.9.6.tar.gz) = fd08757ed9644c92539078135357c92b
diff --git a/chinese/xttmgr/files/patch-Makefile b/chinese/xttmgr/files/patch-Makefile
new file mode 100644
index 0000000..2248c3e
--- /dev/null
+++ b/chinese/xttmgr/files/patch-Makefile
@@ -0,0 +1,33 @@
+--- Makefile.orig Thu May 8 08:41:13 2003
++++ Makefile Mon Jun 23 22:44:18 2003
+@@ -1,16 +1,16 @@
+-FREETYPE_BASE=/usr
+-FREETYPE_INCL=$(FREETYPE_BASE)/include/freetype2
++FREETYPE_BASE=/usr/local
++FREETYPE_INCL=-I$(FREETYPE_BASE)/include/freetype2 -I$(FREETYPE_BASE)/include
+ FREETYPE_LIB=$(FREETYPE_BASE)/lib
+-prefix=/usr
++prefix=/usr/local
+
+ CC=gcc
+-CFLAGS=$(RPM_OPT_FLAGS) -Wall -pedantic -I$(FREETYPE_INCL)
++CFLAGS=$(RPM_OPT_FLAGS) -Wall -pedantic $(FREETYPE_INCL)
+ LDFALGS=-L$(FREETYPE_LIB) -lfreetype -lz
+
+ all: xttmgr
+
+ xttmgr: xttmgr.o
+- $(CC) -o $@ $< $(LDFALGS)
++ $(CC) -o $@ xttmgr.o $(LDFALGS)
+
+ xttmgr.o: xttmgr.c
+
+@@ -18,7 +18,7 @@
+ -rm -f *.o core xttmgr
+
+ install:
+- -install -s -m 755 xttmgr $(DESTDIR)$(prefix)/sbin/xttmgr
++ -install -s -m 755 xttmgr $(DESTDIR)$(prefix)/bin/xttmgr
+
+ uninstall:
+ -rm -f /usr/sbin/xttmgr
diff --git a/chinese/xttmgr/pkg-descr b/chinese/xttmgr/pkg-descr
new file mode 100644
index 0000000..c7e95a1
--- /dev/null
+++ b/chinese/xttmgr/pkg-descr
@@ -0,0 +1,13 @@
+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.
+
+Some modules are Big5/GB enhanced, for better font
+detection/generation.
+
+WWW: http://firefly.idv.tw/test/Forum.php?Board=1
diff --git a/chinese/xttmgr/pkg-plist b/chinese/xttmgr/pkg-plist
new file mode 100644
index 0000000..f80dbe4
--- /dev/null
+++ b/chinese/xttmgr/pkg-plist
@@ -0,0 +1 @@
+bin/xttmgr
OpenPOWER on IntegriCloud