Initial import of arphicttf-2.11.
This is Chinese Big5/GB TrueType fonts.
This commit is contained in:
parent
d3c447aad7
commit
4356604572
34
chinese/arphicttf/Makefile
Normal file
34
chinese/arphicttf/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/01/21 15:07:55 kevlo Exp $
|
||||
|
||||
DISTNAME= zh-arphicttf-2.11
|
||||
PKGNAME= zh-fonts-arphicttf-2.11
|
||||
CATEGORIES= chinese x11
|
||||
NEED_VERSION= 1.351
|
||||
|
||||
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
||||
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
|
||||
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/
|
||||
|
||||
BUILD_DEPENDS= ttfm.sh::chinese/ttfm
|
||||
RUN_DEPENDS= xfstt::x11/xfstt
|
||||
|
||||
NO_BUILD= Yes
|
||||
|
||||
WRKDIST= ${WRKDIR}/arphic
|
||||
|
||||
FONTDIR= ${PREFIX}/lib/X11/fonts/TrueType
|
||||
|
||||
FONTS= bkai00mp.ttf bsmi00lp.ttf gbsn00lp.ttf gkai00mp.ttf
|
||||
|
||||
do-install:
|
||||
.if !exists(${FONTDIR})
|
||||
${INSTALL_DATA_DIR} ${FONTDIR}
|
||||
.endif
|
||||
cd ${WRKSRC}/font; ${INSTALL_DATA} ${FONTS} ${FONTDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
chinese/arphicttf/files/md5
Normal file
3
chinese/arphicttf/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (zh-arphicttf-2.11.tar.gz) = 09da02ad78592859fb92b959c8c4c73d
|
||||
RMD160 (zh-arphicttf-2.11.tar.gz) = ebd53b56f27b3aaaa1de1386f213a0ea1fca8924
|
||||
SHA1 (zh-arphicttf-2.11.tar.gz) = 4a1d9431357118d44aecedf7a7ee6b9a1b05fd64
|
1
chinese/arphicttf/pkg/COMMENT
Normal file
1
chinese/arphicttf/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
chinese big5/gb truetype fonts
|
18
chinese/arphicttf/pkg/DEINSTALL
Normal file
18
chinese/arphicttf/pkg/DEINSTALL
Normal file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.1.1.1 2001/01/21 15:07:55 kevlo Exp $
|
||||
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
TTFM=${PREFIX}/bin/ttfm.sh
|
||||
FONTDIR=${PREFIX}/lib/X11/fonts/TrueType
|
||||
FONTS="bkai00mp.ttf bsmi00lp.ttf gbsn00lp.ttf gkai00mp.ttf"
|
||||
|
||||
if [ "$2" != "DEINSTALL" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
for f in $FONTS; do
|
||||
$TTFM --remove xttfm ${FONTDIR}/$f
|
||||
done
|
||||
|
||||
exit 0
|
3
chinese/arphicttf/pkg/DESCR
Normal file
3
chinese/arphicttf/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
Chinese Big5/GB TrueType fonts, includes Kaiti/Mingti(Big5) and
|
||||
Kaiti/Sungti(GB). It then can be used along with X Window System
|
||||
or typesetting software like CJK. Thanks to Arphic Technology.
|
19
chinese/arphicttf/pkg/INSTALL
Normal file
19
chinese/arphicttf/pkg/INSTALL
Normal file
@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.1.1.1 2001/01/21 15:07:55 kevlo Exp $
|
||||
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
TTFM=${PREFIX}/bin/ttfm.sh
|
||||
FONTPATH=${WKRSRC}/font
|
||||
FONTDIR=${PREFIX}/lib/X11/fonts/TrueType
|
||||
FONTS="bkai00mp.ttf bsmi00lp.ttf gbsn00lp.ttf gkai00mp.ttf"
|
||||
|
||||
if [ "$2" = "PRE-INSTALL" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
for f in ${FONTPATH}/$FONTS; do
|
||||
$TTFM --add xttfm $FONTDIR/$f
|
||||
done
|
||||
|
||||
exit 0
|
6
chinese/arphicttf/pkg/PLIST
Normal file
6
chinese/arphicttf/pkg/PLIST
Normal file
@ -0,0 +1,6 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/01/21 15:07:55 kevlo Exp $
|
||||
lib/X11/fonts/TrueType/bkai00mp.ttf
|
||||
lib/X11/fonts/TrueType/bsmi00lp.ttf
|
||||
lib/X11/fonts/TrueType/gbsn00lp.ttf
|
||||
lib/X11/fonts/TrueType/gkai00mp.ttf
|
||||
@unexec echo "Remove %B manually if it's now empty"
|
Loading…
Reference in New Issue
Block a user