Subject: pkg/20372: New Package fonts/mplusfonts.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ishit@pluto.dti.ne.jp>
List: netbsd-bugs
Date: 02/16/2003 09:31:48
>Number: 20372
>Category: pkg
>Synopsis: New Package fonts/mplusfonts.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Feb 16 09:32:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: ISIHARA takanori
>Release: NetBSD/i386 1.6.1_RC1
>Organization:
Nagoya *BSD Users' Group
>Environment:
NetBSD ishitPc3.home 1.6.1_RC1 NetBSD 1.6.1_RC1 (ISHITPC3) #0: Thu Feb 13 16:15:34 JST 2003 root@ishitPc3.home:/usr/src/sys/arch/i386/compile/ISHITPC3 i386
>Description:
I made new package fonts/mplusfonts.
I converted FreeBSD's ports.
mplusfonts is 12x13 dots X11 kanji fonts with simple and readable design.
>How-To-Repeat:
>Fix:
# 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:
#
# mplusfonts
# mplusfonts/Makefile
# mplusfonts/DESCR
# mplusfonts/PLIST
# mplusfonts/distinfo
#
echo c - mplusfonts
mkdir -p mplusfonts > /dev/null 2>&1
echo x - mplusfonts/Makefile
sed 's/^X//' >mplusfonts/Makefile << 'END-of-mplusfonts/Makefile'
X# $NetBSD$
X# FreeBSD Id: ports/japanese/mplusfonts/Makefile,v 1.2 2003/01/15 14:42:22 nobutaka Exp
X
XDISTNAME= mplus_fonts_J-1.0.4
XPKGNAME= mplusfonts-1.0.4
XCATEGORIES= fonts japanese
XMASTER_SITES= http://downloads.sourceforge.jp/mplus-fonts/2050/ \
X http://wids.net/archive/mplusfonts/distfiles/
X
XMAINTAINER= packages@netbsd.org
XHOMEPAGE= http://mplus-fonts.sourceforge.jp/
XCOMMENT= 12x13 dots X11 kanji fonts with simple and readable design
X
XUSE_X11BASE= yes
XPLIST_SUBST+= FONTDIR=${FONTDIR}
X
XFONTS= mplus_j12b mplus_j12b_iso8859 mplus_j12b_jisx0201 \
X mplus_j12r mplus_j12r_iso8859 mplus_j12r_jisx0201
XFONTDIR= ${PREFIX}/lib/X11/fonts/local
X
Xdo-build:
X @cd ${WRKSRC}; \
X for FONT in ${FONTS}; do \
X ${ECHO} -n "Compiling font $${FONT} ... "; \
X ${X11BASE}/bin/bdftopcf $${FONT}.bdf | \
X ${GZIP_CMD} -c >$${FONT}.pcf.gz; \
X ${ECHO} "done"; \
X done
X
Xpre-install:
X [ -d ${FONTDIR} ] || ${INSTALL_DATA_DIR} ${FONTDIR}
X
Xdo-install:
X @for FONT in ${FONTS}; do \
X ${ECHO} -n "Installing font $${FONT} ... "; \
X ${INSTALL_DATA} ${WRKSRC}/$${FONT}.pcf.gz \
X ${FONTDIR}; \
X ${ECHO} "done"; \
X done
X @cd ${FONTDIR}; ${X11BASE}/bin/mkfontdir
X
Xpost-install:
X ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mplusfonts
X ${INSTALL_DATA} ${WRKSRC}/LICENSE \
X ${PREFIX}/share/doc/mplusfonts
X ${INSTALL_DATA} ${WRKSRC}/README_J \
X ${PREFIX}/share/doc/mplusfonts
X
X.include "../../mk/bsd.pkg.mk"
END-of-mplusfonts/Makefile
echo x - mplusfonts/DESCR
sed 's/^X//' >mplusfonts/DESCR << 'END-of-mplusfonts/DESCR'
XM+ bitmap fonts is a bitmap font set aimed for simple and readable design.
X
X
XWWW: http://mplus-fonts.sourceforge.jp/
X
X-- H.Miyamoto
X<Ys@PixyGarden.net>
END-of-mplusfonts/DESCR
echo x - mplusfonts/PLIST
sed 's/^X//' >mplusfonts/PLIST << 'END-of-mplusfonts/PLIST'
X@comment $NetBSD$
Xlib/X11/fonts/local/mplus_j12b.pcf.gz
Xlib/X11/fonts/local/mplus_j12b_iso8859.pcf.gz
Xlib/X11/fonts/local/mplus_j12b_jisx0201.pcf.gz
Xlib/X11/fonts/local/mplus_j12r.pcf.gz
Xlib/X11/fonts/local/mplus_j12r_iso8859.pcf.gz
Xlib/X11/fonts/local/mplus_j12r_jisx0201.pcf.gz
Xshare/doc/mplusfonts/LICENSE
Xshare/doc/mplusfonts/README_J
X@dirrm share/doc/mplusfonts
END-of-mplusfonts/PLIST
echo x - mplusfonts/distinfo
sed 's/^X//' >mplusfonts/distinfo << 'END-of-mplusfonts/distinfo'
X$NetBSD$
X
XMD5 (mplus_fonts_J-1.0.4.tar.gz) = 2ae9c907ff8843f98b7d5346b7179959
END-of-mplusfonts/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted: