Initial import of arphicttf-2.11.

This is Chinese Big5/GB TrueType fonts.
This commit is contained in:
kevlo 2001-01-21 15:07:55 +00:00
parent d3c447aad7
commit 4356604572
7 changed files with 84 additions and 0 deletions

View 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>

View 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

View File

@ -0,0 +1 @@
chinese big5/gb truetype fonts

View 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

View 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.

View 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

View 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"