diff options
Diffstat (limited to 'fonts/ko-hanyang/Makefile')
-rw-r--r-- | fonts/ko-hanyang/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/fonts/ko-hanyang/Makefile b/fonts/ko-hanyang/Makefile new file mode 100644 index 00000000000..a51dbe58655 --- /dev/null +++ b/fonts/ko-hanyang/Makefile @@ -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= packages@netbsd.org +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" |