Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2003 14:27:46 +0800 (CST)
From:      Statue <statue@freebsd.sinica.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/58058: New port: chinese/xttmgr
Message-ID:  <20031015062746.5332BA5A@freebsd.sinica.edu.tw>
Resent-Message-ID: <200310150630.h9F6UGCm059324@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         58058
>Category:       ports
>Synopsis:       New port: chinese/xttmgr
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 14 23:30:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Statue
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #4: Mon Sep 15 18:44:48 CST 2003 root@freebsd.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386


	
>Description:

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
	
>How-To-Repeat:
	
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xttmgr/
#	xttmgr/Makefile
#	xttmgr/distinfo
#	xttmgr/files
#	xttmgr/pkg-descr
#	xttmgr/pkg-plist
#	xttmgr/files/patch-Makefile
#
echo c - xttmgr/
mkdir -p xttmgr/ > /dev/null 2>&1
echo x - xttmgr/Makefile
sed 's/^X//' >xttmgr/Makefile << 'END-of-xttmgr/Makefile'
X# New ports collection makefile for:	ArialUni CJK TrueType fonts
X# Date created:		13 Oct 2001
X# Whom:			Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xttmgr
XPORTVERSION=	0.9.6
XCATEGORIES=	chinese
XMASTER_SITES=	ftp://freebsd.sinica.edu.tw/pub/statue/xttmgr/
X
XMAINTAINER=	statue@freebsd.sinica.edu.tw
XCOMMENT=	A Big5/GB enhanced TrueType Font Manager
X
XBUILD_DEPENDS=	freetype-config:${PORTSDIR}/print/freetype2
X
X.include <bsd.port.mk>
END-of-xttmgr/Makefile
echo x - xttmgr/distinfo
sed 's/^X//' >xttmgr/distinfo << 'END-of-xttmgr/distinfo'
XMD5 (xttmgr-0.9.6.tar.gz) = fd08757ed9644c92539078135357c92b
END-of-xttmgr/distinfo
echo c - xttmgr/files
mkdir -p xttmgr/files > /dev/null 2>&1
echo x - xttmgr/pkg-descr
sed 's/^X//' >xttmgr/pkg-descr << 'END-of-xttmgr/pkg-descr'
XA True Type Font Manager that handles true type font
Xinstallation, uninstallation, list, and default font
Xsetting.  It was originally in the CLE distribution.
X
XThe manager doesn't deal with applications using TTF
Xdirectly.  Instead, it calls modules to handle the
Xdetails.  There are only several predefined behaviours
Xof the modules, like add/remove/list.  
X
XSome modules are Big5/GB enhanced, for better font
Xdetection/generation.
X
XWWW: http://firefly.idv.tw/test/Forum.php?Board=1
END-of-xttmgr/pkg-descr
echo x - xttmgr/pkg-plist
sed 's/^X//' >xttmgr/pkg-plist << 'END-of-xttmgr/pkg-plist'
Xbin/xttmgr
END-of-xttmgr/pkg-plist
echo x - xttmgr/files/patch-Makefile
sed 's/^X//' >xttmgr/files/patch-Makefile << 'END-of-xttmgr/files/patch-Makefile'
X--- Makefile.orig	Thu May  8 08:41:13 2003
X+++ Makefile	Mon Jun 23 22:44:18 2003
X@@ -1,16 +1,16 @@
X-FREETYPE_BASE=/usr
X-FREETYPE_INCL=$(FREETYPE_BASE)/include/freetype2
X+FREETYPE_BASE=/usr/local
X+FREETYPE_INCL=-I$(FREETYPE_BASE)/include/freetype2 -I$(FREETYPE_BASE)/include
X FREETYPE_LIB=$(FREETYPE_BASE)/lib
X-prefix=/usr
X+prefix=/usr/local
X 
X CC=gcc
X-CFLAGS=$(RPM_OPT_FLAGS) -Wall -pedantic -I$(FREETYPE_INCL)
X+CFLAGS=$(RPM_OPT_FLAGS) -Wall -pedantic $(FREETYPE_INCL)
X LDFALGS=-L$(FREETYPE_LIB) -lfreetype -lz
X 
X all: xttmgr
X 
X xttmgr: xttmgr.o
X-	$(CC) -o $@ $< $(LDFALGS)
X+	$(CC) -o $@ xttmgr.o $(LDFALGS)
X 
X xttmgr.o: xttmgr.c
X 
X@@ -18,7 +18,7 @@
X 	-rm -f *.o core xttmgr
X 
X install:
X-	-install -s -m 755 xttmgr $(DESTDIR)$(prefix)/sbin/xttmgr
X+	-install -s -m 755 xttmgr $(DESTDIR)$(prefix)/bin/xttmgr
X 
X uninstall:
X 	-rm -f /usr/sbin/xttmgr
END-of-xttmgr/files/patch-Makefile
exit

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031015062746.5332BA5A>