[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jisx0208fonts
冨江@IIJ4Uです。
On 2001.1.9, at 00:46 +0900, Jun-ichiro itojun Hagino wrote:
>
> >> 両方いれちゃうってのは無しなのですか?
> >jisx0208fontsじゃなくて、jisx0208-kaname と jisx-0208-shinonome とか
> >別にするという手はありそうに思えます。
>
> XLFDで区別できるのなら両方いれちまって問題ないのではないですか?
XLFDで区別が可能なので両方入れるようにしました。
またUSE_KANAME=NO,USE_SHINONOME=NOで、要町フォントshinonomeフォント
をインストールしないように出来ます。
(デフォルトでは両方ともインストールです。)
--
冨江@IIJ4U hrs-t@hh.iij4u.or.jp
P.S. そろそろ本業?のKDE2かなぁ...
# 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:
#
# .
# ./files
# ./files/md5
# ./files/Makefile
# ./files/README.kappa20
# ./files/patch-sum
# ./Makefile
# ./patches
# ./patches/patch-aa
# ./pkg
# ./pkg/COMMENT
# ./pkg/DESCR
# ./pkg/PLIST
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/md5
sed 's/^X//' >./files/md5 << 'END-of-./files/md5'
X$NetBSD$
X
XMD5 (elisau10.tgz) = e14defd8b1f310241576686b6a2887a6
XMD5 (clR5x8.bdf) = 7c9c28f5a68a977e49f40f3f17044c35
XMD5 (elisat10.tar.gz) = ac64d7a5aeafef4d5cb1e35d3fa53267
XMD5 (kaname_k12_bdf.tar.gz) = e0a103ceeffe0aa1c5670458f47452b3
XMD5 (Kappa20-0.3.tar.gz) = 0fb4dec59deb0a01dd65e6d26d47126a
XMD5 (knj10-1.1.tar.gz) = 5836501841546f41406092b10858fd17
XMD5 (6x12.tar.gz) = de7bbe307e3fd646942275cddf77e62b
XMD5 (shinonome12-1.0.8.tar.bz2) = b2aa5bf8ef7c78462d5fede98e9a4d12
END-of-./files/md5
echo x - ./files/Makefile
sed 's/^X//' >./files/Makefile << 'END-of-./files/Makefile'
XBDF0!= find .. -type f -a -name \*.bdf -print
XBDF= ${BDF0:C/.*\///}
XPCF= ${BDF:C/bdf$/pcf/}
X
X.SUFFIXES: .bdf .pcf
X
X.bdf.pcf:
X bdftopcf -o $@ $<
X
Xall: ${PCF}
X
Xprepare::
X for i in ${BDF0}; do \
X ln -sf $$i; \
X done
X
Xinstall::
X for i in ${PCF}; do \
X ${BSD_INSTALL_DATA} $$i ${FONTDIR}; \
X ${GZIP_CMD} ${FONTDIR}/$$i; \
X done
X
Xclean:
X rm -f *.bdf *.pcf
END-of-./files/Makefile
echo x - ./files/README.kappa20
sed 's/^X//' >./files/README.kappa20 << 'END-of-./files/README.kappa20'
X$NetBSD: README.kappa20,v 1.1.1.1 2000/04/09 15:20:48 itojun Exp $
XNetBSD binary package "jisx0208fonts" includes Kappa20 font, converted
Xinto pcf format.
END-of-./files/README.kappa20
echo x - ./files/patch-sum
sed 's/^X//' >./files/patch-sum << 'END-of-./files/patch-sum'
X$NetBSD: patch-sum,v 1.1 2000/09/05 02:52:27 itojun Exp $
X
XMD5 (patch-aa) = 2faa93de86c52b545f5711a1a253a5dd
END-of-./files/patch-sum
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# $NetBSD: Makefile,v 1.6 2000/10/15 14:26:00 itojun Exp $
X#
X
XDISTNAME= jisx0208fonts-20010109
XCATEGORIES= fonts x11 japanese
XMASTER_SITES= ftp://ftp.iij.ad.jp/pub/X/X11R6.4/xc/fonts/bdf/misc/ \
X ftp://ftp.eu.net/X11/R6.4/xc/fonts/bdf/misc/
XDISTFILES= ${ELISA10X8} ${ELISA8X8} ${KANAME12} ${KAPPA20} ${NAGA10} \
X ${K12X10} ${SHINONOME12}
X
X#MAINTAINER= itojun@itojun.org
XMAINTAINER= hrs-t@hh.iij4u.or.jp
X
XUSE_SHINONOME?= YES
XUSE_KANAME?= YES
X
XUSE_X11BASE= yes
XEXTRACT_ONLY= # empty
X
XMAKE_ENV+= FONTDIR=${FONTDIR} GZIP_CMD="${GZIP_CMD}"
XFONTDIR=${PREFIX}/lib/X11/fonts/local
X
XPLIST_SRC=${WRKDIR}/PLIST
XPLIST_INIT=${PKGDIR}/PLIST
X
X# fonts
XMASTER_SITES+= http://hp.vector.co.jp/authors/VA004814/freesoft/ \
X ftp://ftp.jp.netbsd.org/pub/NetBSD-jp/tut-jp/fonts/
XELISA10X8= elisau10.tgz clR5x8.bdf
XEXTRACT_ONLY+= elisau10.tgz
X
XMASTER_SITES+= http://www.tea.forus.or.jp/toshi/exhibition/
XELISA8X8= elisat10.tar.gz
XEXTRACT_ONLY+= elisat10.tar.gz
X
X.if ${USE_KANAME} == YES
XMASTER_SITES+= http://www.din.or.jp/~storm/fonts/
XKANAME12= kaname_k12_bdf.tar.gz
XEXTRACT_ONLY+= kaname_k12_bdf.tar.gz
X.endif
X
X.if ${USE_SHINONOME} == YES
XMASTER_SITES+= http://www.on.ics.keio.ac.jp/~yasu/linux/fonts/
XSHINONOME12= shinonome12-1.0.8.tar.bz2
XEXTRACT_ONLY+= shinonome12-1.0.8.tar.bz2
X
XSHINONOME_CONFIGURE_ENV=${CONFIGURE_ENV} PERL="${LOCALBASE}/bin/perl"
XSHINONOME_CONFIGURE_ARGS=${CONFIGURE_ARGS} --with-fontdir=${FONTDIR} --disable-progressbar
X
XBUILD_DEPEND+= perl:../../lang/perl5
XBUILD_DEPEND+= gmake:../../devel/gmake
X.endif
X
XMASTER_SITES+= ftp://ftp.jaist.ac.jp/pub/misc/character/fonts/kappa/
XKAPPA20= Kappa20-0.3.tar.gz
XEXTRACT_ONLY+= Kappa20-0.3.tar.gz
X
XMASTER_SITES+= http://hp.vector.co.jp/authors/VA013391/fonts/
XNAGA10= knj10-1.1.tar.gz 6x12.tar.gz
XEXTRACT_ONLY+= knj10-1.1.tar.gz 6x12.tar.gz
X
X#MASTER_SITES+= http://www.softclub.co.jp/~zoro/k12x10/
X#K12X10= k12x10bdf.tar.gz
X#EXTRACT_ONLY+= k12x10bdf.tar.gz
X
Xpost-extract:
X ${MKDIR} ${WRKSRC}
X ${CP} ${DISTDIR}/clR5x8.bdf ${WRKDIR}
X ${CP} ${FILESDIR}/Makefile ${WRKSRC}
X.if ${USE_SHINONOME} == YES
X @(cd ${WRKDIR}/shinonome12-1.0.8 ; \
X ${SETENV} ${SHINONOME_CONFIGURE_ENV} ${CONFIGURE_SCRIPT} \
X ${SHINONOME_CONFIGURE_ARGS} ; \
X ${SETENV} ${MAKE_ENV} gmake bdf; \
X rm hankaku/*.bdf latin1/*.bdf)
X.endif
X (cd ${WRKSRC}; ${MAKE} prepare)
X
X# for do-patch
X.if ${USE_KANAME} != YES
XPATCHDIR= ${.CURDIR}/NO-EXIST
X.endif
X
Xpre-install:
X [ -d ${FONTDIR} ] || ${MKDIR} -p ${FONTDIR}
X
Xpost-install:
X ${MKDIR} ${PREFIX}/share/doc/jisx0208fonts
X ${INSTALL_DATA} ${WRKDIR}/knj10-1.1/README \
X ${PREFIX}/share/doc/jisx0208fonts/README.naga10-1.1
X ${INSTALL_DATA} ${FILESDIR}/README.kappa20 \
X ${PREFIX}/share/doc/jisx0208fonts
X (cd ${FONTDIR}; mkfontdir)
X cp ${PLIST_INIT} ${PLIST_SRC}
X.if ${USE_SHINONOME} != YES
X egrep -v 'shnmk12.*\.pcf\.gz' ${PLIST_SRC} > ${PLIST_SRC}.new
X mv ${PLIST_SRC}.new ${PLIST_SRC}
X.endif
X.if ${USE_KANAME} != YES
X egrep -v 'knm[hz]n12x\.pcf\.gz' ${PLIST_SRC} > ${PLIST_SRC}.new
X mv ${PLIST_SRC}.new ${PLIST_SRC}
X.endif
X
X.include "../../mk/bsd.pkg.mk"
END-of-./Makefile
echo c - ./patches
mkdir -p ./patches > /dev/null 2>&1
echo x - ./patches/patch-aa
sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa'
X$NetBSD: patch-aa,v 1.1 2000/09/05 02:52:28 itojun Exp $
X
X--- knmzn12x.bdf.orig Tue Sep 5 00:50:19 2000
X+++ knmzn12x.bdf Tue Sep 5 00:53:08 2000
X@@ -47001,17 +47001,17 @@
X DWIDTH 12 0
X BBX 12 12 0 -2
X BITMAP
X-07e0
X-8420
X-67e0
X-0420
X-07e0
X-e400
X-2530
X-2540
X-2480
X-2e70
X-3000
X+1c60
X+8780
X+68a0
X+0940
X+0880
X+ed20
X+3bf0
X+2890
X+2aa0
X+2a90
X+3c90
X cff0
X ENDCHAR
X STARTCHAR 423e
END-of-./patches/patch-aa
echo c - ./pkg
mkdir -p ./pkg > /dev/null 2>&1
echo x - ./pkg/COMMENT
sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT'
XX11 fonts for JIS X0208 standard
END-of-./pkg/COMMENT
echo x - ./pkg/DESCR
sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR'
XThe pkgsrc installs X11 fonts for JIS X0208 standard.
END-of-./pkg/DESCR
echo x - ./pkg/PLIST
sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST'
X@comment $NetBSD: PLIST,v 1.3 2000/12/15 22:59:44 wiz Exp $
Xlib/X11/fonts/local/10x20b.pcf.gz
Xlib/X11/fonts/local/10x20m.pcf.gz
Xlib/X11/fonts/local/10x20rkb.pcf.gz
Xlib/X11/fonts/local/10x20rkm.pcf.gz
Xlib/X11/fonts/local/5x10B.pcf.gz
Xlib/X11/fonts/local/5x10a.pcf.gz
Xlib/X11/fonts/local/5x10rk.pcf.gz
Xlib/X11/fonts/local/6x12B.pcf.gz
Xlib/X11/fonts/local/6x12a.pcf.gz
Xlib/X11/fonts/local/6x12rk.pcf.gz
Xlib/X11/fonts/local/clR5x8.pcf.gz
Xlib/X11/fonts/local/elisat10.pcf.gz
Xlib/X11/fonts/local/elisau10.pcf.gz
Xlib/X11/fonts/local/ipa-10x20b.pcf.gz
Xlib/X11/fonts/local/ipa-10x20m.pcf.gz
Xlib/X11/fonts/local/jpnhn4-iso.pcf.gz
Xlib/X11/fonts/local/jpnhn4-jis.pcf.gz
Xlib/X11/fonts/local/k20b.pcf.gz
Xlib/X11/fonts/local/k20m.pcf.gz
Xlib/X11/fonts/local/knj10.pcf.gz
Xlib/X11/fonts/local/knj10B.pcf.gz
Xlib/X11/fonts/local/shnmk12.pcf.gz
Xlib/X11/fonts/local/shnmk12p.pcf.gz
Xlib/X11/fonts/local/shnmk12min.pcf.gz
Xlib/X11/fonts/local/shnmk12maru.pcf.gz
Xlib/X11/fonts/local/knmhn12x.pcf.gz
Xlib/X11/fonts/local/knmzn12x.pcf.gz
Xshare/doc/jisx0208fonts/README.naga10-1.1
Xshare/doc/jisx0208fonts/README.kappa20
X@dirrm share/doc/jisx0208fonts
X@exec %D/bin/mkfontdir %D/lib/X11/fonts/local
X@unexec %D/bin/mkfontdir %D/lib/X11/fonts/local
END-of-./pkg/PLIST
exit