aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2003-10-17 11:22:54 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2003-10-17 11:22:54 +0000
commitb92eef063ca24d5d6cb4e0e3d4968f2150cd9190 (patch)
tree9ec922e92ba5af2b7ad570acb8a1776fdc10a9ea /chinese
parentf01a970a4ec80d0f3ed1b1bdb091b764dcbde9b2 (diff)
downloadports-b92eef063ca24d5d6cb4e0e3d4968f2150cd9190.tar.gz
ports-b92eef063ca24d5d6cb4e0e3d4968f2150cd9190.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/Makefile1
-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
6 files changed, 67 insertions, 0 deletions
diff --git a/chinese/Makefile b/chinese/Makefile
index b1cdc397ed9e..9e4f2b40b479 100644
--- a/chinese/Makefile
+++ b/chinese/Makefile
@@ -108,6 +108,7 @@
SUBDIR += xmms
SUBDIR += xpdf
SUBDIR += xsim
+ SUBDIR += xttmgr
SUBDIR += zhcon
.include <bsd.port.subdir.mk>
diff --git a/chinese/xttmgr/Makefile b/chinese/xttmgr/Makefile
new file mode 100644
index 000000000000..4f7287ba10d3
--- /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 000000000000..08677fb7bbce
--- /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 000000000000..2248c3e5c2c7
--- /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 000000000000..c7e95a1cdc1f
--- /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 000000000000..f80dbe4f5b27
--- /dev/null
+++ b/chinese/xttmgr/pkg-plist
@@ -0,0 +1 @@
+bin/xttmgr