9c8b5ede43
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2006/03/04 21:29:39 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= xfntmizi-1.1-2.noarch
|
|
PKGNAME= ko-mizi-20010718
|
|
PKGREVISION= 1
|
|
CATEGORIES= fonts x11 korean
|
|
MASTER_SITES+= ftp://ftp.mizi.co.kr/pub/hanIM/
|
|
EXTRACT_SUFX= .rpm
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= X11 fonts for KSC 5601 standard
|
|
|
|
BUILD_DEPENDS+= rpm-[0-9]*:../../misc/rpm
|
|
|
|
CONFLICTS+= ksc5601fonts-[0-9]*
|
|
|
|
USE_X11BASE= yes
|
|
USE_TOOLS+= gzip gunzip
|
|
|
|
MAKE_ENV+= FONTDIR=${FONTDIR:Q} GZIP_CMD=${GZIP_CMD:Q}
|
|
|
|
# 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
|
|
FONTS_DIRS.x11= ${FONTDIR}
|
|
|
|
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}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|