pkgsrc/fonts/ja-kappa20/Makefile
jlam b2677a2cb0 Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
2003-08-30 22:51:11 +00:00

32 lines
963 B
Makefile

# $NetBSD: Makefile,v 1.4 2003/08/30 22:51:17 jlam Exp $
DISTNAME= Kappa20-0.394
PKGNAME= ja-kappa20-0.394
CATEGORIES= fonts x11 japanese
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://kappa.allnet.ne.jp/20dot.fonts/
COMMENT= 20x20 dots X11 bitmap font for Japanese with several extra fonts
USE_X11BASE= YES
FONTDIR= ${PREFIX}/lib/X11/fonts/local
ALIAS_KAPPA= ${PREFIX}/share/examples/fonts.alias.Kappa20
USE_PKGINSTALL= YES
DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
FILES_SUBST+= FONTDIR=${FONTDIR}
FILES_SUBST+= ALIAS_KAPPA=${ALIAS_KAPPA}
# do not build experimental JIS X 0213 font.
ALL_TARGET= default
do-install:
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/README.Kappa20; \
${INSTALL_DATA} ${WRKSRC}/pcf/fonts.alias ${ALIAS_KAPPA}; \
${INSTALL_DATA} ${WRKSRC}/pcf/*.pcf.* ${FONTDIR}
.include "../../mk/bsd.pkg.mk"