Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / fonts / ko-mizi / Makefile
blob5ea519aab08677660fe0a29d199687bfc30d4264
1 # $NetBSD: Makefile,v 1.14 2009/12/17 17:23:36 abs Exp $
4 DISTNAME= xfntmizi-1.1-2.noarch
5 PKGNAME= ko-mizi-20010718
6 PKGREVISION= 1
7 CATEGORIES= fonts x11 korean
8 MASTER_SITES+= ftp://ftp.mizi.co.kr/pub/hanIM/
9 EXTRACT_SUFX= .rpm
11 MAINTAINER= pkgsrc-users@NetBSD.org
12 COMMENT= X11 fonts for KSC 5601 standard
14 BUILD_DEPENDS+= rpm-[0-9]*:../../misc/rpm
16 CONFLICTS+= ksc5601fonts-[0-9]*
18 USE_X11BASE= yes
19 USE_TOOLS+= gzip gunzip
21 MAKE_ENV+= FONTDIR=${FONTDIR:Q} GZIP_CMD=${GZIP_CMD:Q}
23 # fonts
24 MIZI_PCF= mzgt16e.pcf mzgt16h1.pcf mzmj16h.pcf mzpg16h.pcf mzsm16h.pcf \
25 mzgt16h.pcf mzmj16e.pcf mzpg16e.pcf mzsm16e.pcf
27 FONTDIR= ${PREFIX}/lib/X11/fonts/local
28 FONTS_DIRS.x11= ${FONTDIR}
29 INSTALLATION_DIRS+= ${FONTDIR}
31 do-extract:
32 ${MKDIR} ${WRKSRC}
33 ${CP} ${.CURDIR}/../../fonts/ko-x11fonts/files/Makefile ${WRKSRC}
34 (cd ${WRKSRC}; rpm2cpio ${_DISTDIR}/${DISTFILES} | \
35 cpio -i --make-directories *.pcf.Z)
36 (cd ${WRKSRC}; for i in ${MIZI_PCF}; do \
37 ${GUNZIP_CMD} -c usr/lib/X11/fonts/misc/$$i.Z > $$i; \
38 done)
40 do-configure:
41 cd ${WRKSRC}; ${MAKE} prepare
43 .include "../../mk/bsd.pkg.mk"