# 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: # # opendesktop-fonts/ # opendesktop-fonts/files # opendesktop-fonts/files/local.conf-odo # opendesktop-fonts/Makefile # opendesktop-fonts/distinfo # opendesktop-fonts/pkg-descr # opendesktop-fonts/pkg-plist # echo c - opendesktop-fonts/ mkdir -p opendesktop-fonts/ > /dev/null 2>&1 echo c - opendesktop-fonts/files mkdir -p opendesktop-fonts/files > /dev/null 2>&1 echo x - opendesktop-fonts/files/local.conf-odo sed 's/^X//' >opendesktop-fonts/files/local.conf-odo << 'END-of-opendesktop-fonts/files/local.conf-odo' X X X X X X MingLiU X AR PL New Sung Mono X X X PMingLiU X AR PL New Sung Mono X X X SimSun X AR PL New Sung Mono X X X X X X Song X Sun X Kai X Ming X X X X 100 X X X 180 X X X true X X X X X X Song X Sung X Ming X X false X 0 X true X false X X 16 X false X X X X X AR PL New Sung X false X X X X X X X serif X X Bitstream Vera Serif X AR PL New Sung X AR PL New Kai X X X X X sans-serif X X Bitstream Vera Sans X AR PL New Sung X AR PL New Kai X X X X X monospace X X Bitstream Vera Sans Mono X AR PL New Sung Mono X X X END-of-opendesktop-fonts/files/local.conf-odo echo x - opendesktop-fonts/Makefile sed 's/^X//' >opendesktop-fonts/Makefile << 'END-of-opendesktop-fonts/Makefile' X# New ports collection makefile for: OpenDesktop.Org.tw Font X# Date created: 2 Sep 2004 X# Whom: Shen Chuan-Hsing X# X# $FreeBSD: ports/chinese/opendesktop-fonts/Makefile,v 1.8 2007/03/17 09:13:18 rafan Exp $ X# X XPORTNAME= opendesktop-fonts XPORTVERSION= 1.4.2 XCATEGORIES= chinese x11-fonts XMASTER_SITES?= ftp://ftp.opendesktop.org.tw/odp/ODOFonts/OpenFonts/ \ X LOCAL/chinsan/fonts X XMAINTAINER= chinsan@FreeBSD.org XCOMMENT= Ming and Kai face of OpenDesktop fonts X XCONFLICTS= zh-fireflyttf-[0-9]* XDIST_SUBDIR= OpenFonts XNO_BUILD= yes X XTTF= odokai-ExtB.ttf odokai.ttf odosung-ExtB.ttf odosung.ttc X X.include X X.if !defined(WITHOUT_X11) XPLIST_SUB+= X11="" X.else XPLIST_SUB+= X11="@comment " X.endif X Xpost-extract: X @${CHMOD} 0755 ${WRKSRC}/license X Xpost-patch: X @${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},; s,opendesktop,,g' \ X ${WRKSRC}/FAPIcidfmap.zh_CN ${WRKSRC}/FAPIcidfmap.zh_TW \ X ${WRKSRC}/cidfmap.zh_CN ${WRKSRC}/cidfmap.zh_TW X @${FIND} ${WRKSRC} -name "*.bak" -delete X Xdo-install: X ${MKDIR} ${FONTSDIR} X.for i in ${TTF} X ${INSTALL_DATA} ${WRKSRC}/${i} ${FONTSDIR} X.endfor X ${INSTALL_DATA} ${FILESDIR}/local.conf-odo ${FONTSDIR} X.if !defined(WITHOUT_X11) X ${INSTALL_DATA} ${FILESDIR}/local.conf-odo ${X11BASE}/etc/fonts/local.conf X.endif X X.include "${PORTSDIR}/chinese/ttfm/Makefile.ttf" X.include END-of-opendesktop-fonts/Makefile echo x - opendesktop-fonts/distinfo sed 's/^X//' >opendesktop-fonts/distinfo << 'END-of-opendesktop-fonts/distinfo' XMD5 (OpenFonts/opendesktop-fonts-1.4.2.tar.gz) = c33e83d27ac3401bc51a2b8a88705c78 XSHA256 (OpenFonts/opendesktop-fonts-1.4.2.tar.gz) = 0a629afe54a3a365ea0270ae0c0db0a76840cdd97f1d6837063f06602ca3a316 XSIZE (OpenFonts/opendesktop-fonts-1.4.2.tar.gz) = 22242516 END-of-opendesktop-fonts/distinfo echo x - opendesktop-fonts/pkg-descr sed 's/^X//' >opendesktop-fonts/pkg-descr << 'END-of-opendesktop-fonts/pkg-descr' XOpenDesktop Font is combine of two arphic Ming and Kai font with X12-pixel(9-point), 13-pixel(10-point), 14-pixel(10.5-point), X15-pixel(11-point), 16-pixel(12-point) embedded bitmap fonts X XNOTICE: This Truetype font contains embedded bitmap fonts made X by firefly and is released as a whole X under the ARPHIC PUBLIC LICENSE. X There are also seperate bitmap fonts made by Firefly and X released under the GENERAL PUBLIC LICENSE (GPL): X ftp://ftp.opendesktop.org.tw/odp/ODOFonts/Bitmaps/ X X XWWW: http://opendesktop.org.tw END-of-opendesktop-fonts/pkg-descr echo x - opendesktop-fonts/pkg-plist sed 's/^X//' >opendesktop-fonts/pkg-plist << 'END-of-opendesktop-fonts/pkg-plist' X%%X11%%@unexec if cmp -s %%X11BASE%%/etc/fonts/local.conf %%%D/%%FONTSDIR%%/local.conf-odo; then rm -f %%X11BASE%%/etc/fonts/local.conf; fi X%%FONTSDIR%%/local.conf-odo X%%X11%%@exec cp %D/%%FONTSDIR%%/local.conf-odo %%X11BASE%%/etc/fonts/local.conf END-of-opendesktop-fonts/pkg-plist exit