daad0f3d6c
INSTALL/DEINSTALL script creation within pkgsrc. If an INSTALL or DEINSTALL script is found in the package directory, it is automatically used as a template for the pkginstall-generated scripts. If instead, they should be used simply as the full scripts, then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC explicitly, e.g.: INSTALL_SRC= ${PKGDIR}/INSTALL DEINSTALL_SRC= # emtpy As part of the restructuring of the pkginstall framework internals, we now *always* generate temporary INSTALL or DEINSTALL scripts. By comparing these temporary scripts with minimal INSTALL/DEINSTALL scripts formed from only the base templates, we determine whether or not the INSTALL/DEINSTALL scripts are actually needed by the package (see the generate-install-scripts target in bsd.pkginstall.mk). In addition, more variables in the framework have been made private. The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are more sensible names given the very few exported variables in this framework. The only public variables relating to the templates are: INSTALL_SRC INSTALL_TEMPLATE DEINSTALL_SRC DEINSTALL_TEMPLATE HEADER_TEMPLATE The packages in pkgsrc have been modified to reflect the changes in the pkginstall framework.
33 lines
934 B
Makefile
33 lines
934 B
Makefile
# $NetBSD: Makefile,v 1.11 2006/03/14 01:14:28 jlam Exp $
|
|
|
|
DISTNAME= Kappa20-0.394
|
|
PKGNAME= ja-kappa20-0.394
|
|
PKGREVISION= 1
|
|
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_TOOLS+= mkfontdir
|
|
|
|
FILES_SUBST+= FONTDIR=${FONTDIR:Q}
|
|
FILES_SUBST+= ALIAS_KAPPA=${ALIAS_KAPPA:Q}
|
|
|
|
# do not build experimental JIS X 0213 font.
|
|
BUILD_TARGET= default
|
|
|
|
INSTALLATION_DIRS= share/doc
|
|
|
|
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"
|