ports/74910: New port: chinese/arnettf

statue statue at freebsd.netlab.cse.yzu.edu.tw
Fri Dec 10 04:40:23 UTC 2004


>Number:         74910
>Category:       ports
>Synopsis:       New port: chinese/arnettf
>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:   Fri Dec 10 04:40:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     statue
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD freebsd.netlab.cse.yzu.edu.tw 4.10-STABLE FreeBSD 4.10-STABLE #1: Tue Jun 1 18:37:58 CST 2004 statue at freebsd.netlab.cse.yzu.edu.tw:/usr/obj/usr/src/sys/statue i386


	
>Description:

These fonts are chinese Unicode fonts which include the following 
charsets: Big5, GB2312-80, ISO8859-1,2,3,4,7,9,10,13,14,15, 
Bopomofo Extended for Minnan and Hakka. 

HKSCS, CNS11643, GB18030, Japanese and Korean are work in progress.

WWW: http://tavi.debian.org.tw/index.php?page=Unifonts
	
>How-To-Repeat:
	
>Fix:

	

--- arnettf.shar begins here ---
# 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:
#
#	arnettf/
#	arnettf/Makefile
#	arnettf/distinfo
#	arnettf/pkg-descr
#	arnettf/pkg-plist
#
echo c - arnettf/
mkdir -p arnettf/ > /dev/null 2>&1
echo x - arnettf/Makefile
sed 's/^X//' >arnettf/Makefile << 'END-of-arnettf/Makefile'
X# New ports collection makefile for:	arne TrueType Font
X# Date created:		10 Dec 2004
X# Whom:			Shen Chuan-Hsing <statue at freebsd.sinica.edu.tw>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	arnettf
XPORTVERSION=	0.0.20041031
XCATEGORIES=	chinese x11-fonts
XMASTER_SITES=	http://debian.linux.org.tw/pub/3Anoppix/people/arne/uming/ \
X		http://debian.linux.org.tw/pub/3Anoppix/people/arne/ukai/
XDISTFILES=	ttf-arphic-uming_0.0.20041031-1.tar.gz \
X		ttf-arphic-ukai_0.0.20041031-1.tar.gz
X
XMAINTAINER=	ports at FreeBSD.Org
XCOMMENT=	Arne TrueType Font is combine of arphic ming and kai fonts
X
XBUILD_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
X		ttfm.sh:${PORTSDIR}/chinese/ttfm
XRUN_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
X		ttfm.sh:${PORTSDIR}/chinese/ttfm
X
XNO_BUILD=	yes
XWRKSRC=		${WRKDIR}
XUSE_XLIB=	yes
XFONTDIR=	${PREFIX}/share/fonts/TrueType
XXFONTDIR=	${X11BASE}/lib/X11/fonts/TrueType
X
X.include <bsd.port.pre.mk>
X
Xdo-install:
X	@${MKDIR} ${FONTDIR}
X	@${INSTALL_DATA} ${WRKSRC}/ttf-arphic-ukai-0.0.20041031/ukai.ttf ${FONTDIR}
X	@${INSTALL_DATA} ${WRKSRC}/ttf-arphic-uming-0.0.20041031/uming.ttf ${FONTDIR}
X	@${ECHO_MSG} "===> Running ttfm.sh"
X	-@${PREFIX}/bin/ttfm.sh --add xttfm ukai.ttf
X	-@${PREFIX}/bin/ttfm.sh --add xttfm uming.ttf
X	@${ECHO_MSG} "===> Running fc-cache"
X	-@${X11BASE}/bin/fc-cache -f -v ${XFONTDIR}
X
X.include <bsd.port.post.mk>
END-of-arnettf/Makefile
echo x - arnettf/distinfo
sed 's/^X//' >arnettf/distinfo << 'END-of-arnettf/distinfo'
XMD5 (ttf-arphic-uming_0.0.20041031-1.tar.gz) = f8a74e78a5909b84a4d92f3a559e2c21
XSIZE (ttf-arphic-uming_0.0.20041031-1.tar.gz) = 7950619
XMD5 (ttf-arphic-ukai_0.0.20041031-1.tar.gz) = c58266d333937086dc87e80674ecc1a7
XSIZE (ttf-arphic-ukai_0.0.20041031-1.tar.gz) = 10193481
END-of-arnettf/distinfo
echo x - arnettf/pkg-descr
sed 's/^X//' >arnettf/pkg-descr << 'END-of-arnettf/pkg-descr'
XThese fonts are chinese Unicode fonts which include the following 
Xcharsets: Big5, GB2312-80, ISO8859-1,2,3,4,7,9,10,13,14,15, 
XBopomofo Extended for Minnan and Hakka. 
X
XHKSCS, CNS11643, GB18030, Japanese and Korean are work in progress.
X
XWWW: http://tavi.debian.org.tw/index.php?page=Unifonts
END-of-arnettf/pkg-descr
echo x - arnettf/pkg-plist
sed 's/^X//' >arnettf/pkg-plist << 'END-of-arnettf/pkg-plist'
X at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/ukai.ttf || true
X at unexec %D/bin/ttfm.sh --remove xttfm %D/share/fonts/TrueType/uming.ttf || true
Xshare/fonts/TrueType/ukai.ttf
Xshare/fonts/TrueType/uming.ttf
X at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/ukai.ttf || true
X at exec %D/bin/ttfm.sh --add xttfm %D/share/fonts/TrueType/uming.ttf || true
X at unexec %%X11BASE%%/bin/fc-cache -f -v %%X11BASE%%/lib/X11/fonts/TrueType || true
X at exec %%X11BASE%%/bin/fc-cache -f -v %%X11BASE%%/lib/X11/fonts/TrueType || true
X at unexec rmdir %D/share/fonts/TrueType 2>/dev/null || true
X at unexec rmdir %D/share/fonts 2>/dev/null || true
END-of-arnettf/pkg-plist
exit
--- arnettf.shar ends here ---


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



More information about the freebsd-ports-bugs mailing list