Skip to content

Commit

Permalink
Korean hanyang X11 fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed Jul 22, 2001
1 parent 893e066 commit 01c0737
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 0 deletions.
43 changes: 43 additions & 0 deletions fonts/ko-hanyang/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# $NetBSD: Makefile,v 1.1.1.1 2001/07/22 01:09:37 itojun Exp $
#

DISTNAME= hanyang-font-pcf
PKGNAME= ko-hanyang-20010718
CATEGORIES= fonts x11 korean
MASTER_SITES+= ftp://ftp.kaist.ac.kr/pub/hangul/fonts/ \
ftp://ftp.kreonet.re.kr/pub/hangul/cair-archive/fonts/

MAINTAINER= [email protected]
COMMENT= X11 fonts for KSC 5601 standard

CONFLICTS+= ksc5601fonts-[0-9]*

USE_X11BASE= yes
EXTRACT_ONLY= # empty

MAKE_ENV+= FONTDIR=${FONTDIR} GZIP_CMD="${GZIP_CMD}"

# fonts
EXTRACT_ONLY+= hanyang-font-pcf.tar.gz
HANYANG_PCF= hgm10.pcf hgm12.pcf hgm14.pcf hgm16.pcf hgm18.pcf hgm20.pcf \
hmm10.pcf hmm12.pcf hmm14.pcf hmm16.pcf hmm18.pcf hmm20.pcf

FONTDIR=${PREFIX}/lib/X11/fonts/local

post-extract:
${MKDIR} ${WRKSRC}
${CP} ${.CURDIR}/../../fonts/ko-x11fonts/files/Makefile ${WRKSRC}
(cd ${WRKSRC}; ${MAKE} prepare)

post-build:
for i in ${HANYANG_PCF}; do \
${MV} ${WRKDIR}/$$i ${WRKSRC}; \
done

pre-install:
[ -d ${FONTDIR} ] || ${INSTALL_DATA_DIR} ${FONTDIR}

post-install:
(cd ${FONTDIR}; mkfontdir)

.include "../../mk/bsd.pkg.mk"
4 changes: 4 additions & 0 deletions fonts/ko-hanyang/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$NetBSD: distinfo,v 1.1.1.1 2001/07/22 01:09:37 itojun Exp $

SHA1 (hanyang-font-pcf.tar.gz) = 87cc3a2d7d2229b4c426a6457c5242bd180b6659
Size (hanyang-font-pcf.tar.gz) = 2876501 bytes
4 changes: 4 additions & 0 deletions fonts/ko-hanyang/pkg/DESCR
Original file line number Diff line number Diff line change
@@ -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).
15 changes: 15 additions & 0 deletions fonts/ko-hanyang/pkg/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/22 01:09:37 itojun Exp $
lib/X11/fonts/local/hgm10.pcf.gz
lib/X11/fonts/local/hgm12.pcf.gz
lib/X11/fonts/local/hgm14.pcf.gz
lib/X11/fonts/local/hgm16.pcf.gz
lib/X11/fonts/local/hgm18.pcf.gz
lib/X11/fonts/local/hgm20.pcf.gz
lib/X11/fonts/local/hmm10.pcf.gz
lib/X11/fonts/local/hmm12.pcf.gz
lib/X11/fonts/local/hmm14.pcf.gz
lib/X11/fonts/local/hmm16.pcf.gz
lib/X11/fonts/local/hmm18.pcf.gz
lib/X11/fonts/local/hmm20.pcf.gz
@exec /usr/X11R6/bin/mkfontdir %D/lib/X11/fonts/local
@unexec /usr/X11R6/bin/mkfontdir %D/lib/X11/fonts/local

0 comments on commit 01c0737

Please sign in to comment.