diff options
author | jlam <jlam> | 2008-03-03 20:17:11 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 20:17:11 +0000 |
commit | 93da8714c36decac2f91167d5510d069789597e2 (patch) | |
tree | f10a20ae369c1bb45808b6fa246faf206d89f420 /fonts/ja-kappa20 | |
parent | 4c466bc0cfc7d41864f907ac04383df82c492609 (diff) | |
download | pkgsrc-93da8714c36decac2f91167d5510d069789597e2.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'fonts/ja-kappa20')
-rw-r--r-- | fonts/ja-kappa20/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/fonts/ja-kappa20/Makefile b/fonts/ja-kappa20/Makefile index b4f3a95abd0..17321932a10 100644 --- a/fonts/ja-kappa20/Makefile +++ b/fonts/ja-kappa20/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2008/01/22 17:09:54 tnn Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/03 20:17:12 jlam Exp $ DISTNAME= Kappa20-0.394 PKGNAME= ja-kappa20-0.394 @@ -11,6 +11,8 @@ 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 +PKG_DESTDIR_SUPPORT= user-destdir + USE_X11BASE= YES FONTDIR= ${PREFIX}/lib/X11/fonts/local ALIAS_KAPPA= ${PREFIX}/share/examples/fonts.alias.Kappa20 @@ -26,8 +28,9 @@ BUILD_TARGET= default INSTALLATION_DIRS= lib/X11/fonts/local share/doc share/examples 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} + ${INSTALL_DATA} ${WRKSRC}/README \ + ${DESTDIR}${PREFIX}/share/doc/README.Kappa20 + ${INSTALL_DATA} ${WRKSRC}/pcf/fonts.alias ${DESTDIR}${ALIAS_KAPPA} + ${INSTALL_DATA} ${WRKSRC}/pcf/*.pcf.* ${DESTDIR}${FONTDIR} .include "../../mk/bsd.pkg.mk" |