diff options
author | itojun <itojun@pkgsrc.org> | 2001-07-22 01:07:55 +0000 |
---|---|---|
committer | itojun <itojun@pkgsrc.org> | 2001-07-22 01:07:55 +0000 |
commit | 1e87a9df4609bd344e2b7b291672146328475cbe (patch) | |
tree | 6e329fc105b8bfbfe9485398f7c415cfce80a607 /fonts | |
parent | cfb91ae7bddcdc1d6a85f72b706b1a2c60927fcc (diff) | |
download | pkgsrc-1e87a9df4609bd344e2b7b291672146328475cbe.tar.gz |
Korean mizi X11 fonts
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/ko-mizi/Makefile | 43 | ||||
-rw-r--r-- | fonts/ko-mizi/distinfo | 4 | ||||
-rw-r--r-- | fonts/ko-mizi/pkg/DESCR | 4 | ||||
-rw-r--r-- | fonts/ko-mizi/pkg/PLIST | 12 |
4 files changed, 63 insertions, 0 deletions
diff --git a/fonts/ko-mizi/Makefile b/fonts/ko-mizi/Makefile new file mode 100644 index 00000000000..daab1d39f4d --- /dev/null +++ b/fonts/ko-mizi/Makefile @@ -0,0 +1,43 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/07/22 01:07:55 itojun Exp $ +# + +DISTNAME= xfntmizi-1.1-2.noarch +PKGNAME= ko-mizi-20010718 +CATEGORIES= fonts x11 korean +MASTER_SITES+= ftp://ftp.mizi.co.kr/pub/hanIM/ +EXTRACT_SUFX= .rpm + +MAINTAINER= packages@netbsd.org +COMMENT= X11 fonts for KSC 5601 standard + +BUILD_DEPENDS+= rpm-*:../../misc/rpm + +CONFLICTS+= ksc5601fonts-[0-9]* + +USE_X11BASE= yes + +MAKE_ENV+= FONTDIR=${FONTDIR} GZIP_CMD="${GZIP_CMD}" + +# fonts +MIZI_PCF= mzgt16e.pcf mzgt16h1.pcf mzmj16h.pcf mzpg16h.pcf mzsm16h.pcf \ + mzgt16h.pcf mzmj16e.pcf mzpg16e.pcf mzsm16e.pcf + +FONTDIR=${PREFIX}/lib/X11/fonts/local + +do-extract: + ${MKDIR} ${WRKSRC} + ${CP} ${.CURDIR}/../../fonts/ko-x11fonts/files/Makefile ${WRKSRC} + (cd ${WRKSRC}; rpm2cpio ${_DISTDIR}/${DISTFILES} | \ + cpio -i --make-directories *.pcf.Z) + (cd ${WRKSRC}; for i in ${MIZI_PCF}; do \ + ${GUNZIP_CMD} -c usr/lib/X11/fonts/misc/$$i.Z > $$i; \ + done) + (cd ${WRKSRC}; ${MAKE} prepare) + +pre-install: + [ -d ${FONTDIR} ] || ${INSTALL_DATA_DIR} ${FONTDIR} + +post-install: + (cd ${FONTDIR}; mkfontdir) + +.include "../../mk/bsd.pkg.mk" diff --git a/fonts/ko-mizi/distinfo b/fonts/ko-mizi/distinfo new file mode 100644 index 00000000000..251b50a9072 --- /dev/null +++ b/fonts/ko-mizi/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/07/22 01:07:55 itojun Exp $ + +SHA1 (xfntmizi-1.1-2.noarch.rpm) = 920a9485b5c5b1b22b0da9d2b4430388219f6bf2 +Size (xfntmizi-1.1-2.noarch.rpm) = 1484554 bytes diff --git a/fonts/ko-mizi/pkg/DESCR b/fonts/ko-mizi/pkg/DESCR new file mode 100644 index 00000000000..b32af80c52d --- /dev/null +++ b/fonts/ko-mizi/pkg/DESCR @@ -0,0 +1,4 @@ +The pkgsrc installs X11 fonts for KSC 5601 Korean character set standard. + +Caveat: some of the font files seem to have incorrect font metric +(font metric does not meet the actual font glyph). diff --git a/fonts/ko-mizi/pkg/PLIST b/fonts/ko-mizi/pkg/PLIST new file mode 100644 index 00000000000..3921b2915fe --- /dev/null +++ b/fonts/ko-mizi/pkg/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/22 01:07:55 itojun Exp $ +lib/X11/fonts/local/mzgt16e.pcf.gz +lib/X11/fonts/local/mzgt16h.pcf.gz +lib/X11/fonts/local/mzgt16h1.pcf.gz +lib/X11/fonts/local/mzmj16e.pcf.gz +lib/X11/fonts/local/mzmj16h.pcf.gz +lib/X11/fonts/local/mzpg16e.pcf.gz +lib/X11/fonts/local/mzpg16h.pcf.gz +lib/X11/fonts/local/mzsm16e.pcf.gz +lib/X11/fonts/local/mzsm16h.pcf.gz +@exec /usr/X11R6/bin/mkfontdir %D/lib/X11/fonts/local +@unexec /usr/X11R6/bin/mkfontdir %D/lib/X11/fonts/local |