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-kaname | |
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-kaname')
-rw-r--r-- | fonts/ja-kaname/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/fonts/ja-kaname/Makefile b/fonts/ja-kaname/Makefile index c802efcf34b..06709a35b5d 100644 --- a/fonts/ja-kaname/Makefile +++ b/fonts/ja-kaname/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2006/02/05 23:09:09 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2008/03/03 20:17:12 jlam Exp $ DISTNAME= kaname_k12_bdf PKGNAME= ja-kaname-0.0.0.20030112 @@ -9,6 +9,8 @@ MASTER_SITES= ${MASTER_SITE_LOCAL} # original site was closed. MAINTAINER= tech-pkg-ja@jp.NetBSD.org COMMENT= 12x12 dots X11 bitmap font for JIS X 0208 +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} USE_X11BASE= YES USE_TOOLS+= bdftopcf gzip @@ -27,10 +29,10 @@ do-build: done do-install: - ${INSTALL_DATA_DIR} ${DOCDIR}; \ - ${INSTALL_DATA} ${WRKSRC}/readme.kaname_bdf ${DOCDIR}; \ - ${INSTALL_DATA} ${WRKSRC}/doc.orig/* ${DOCDIR}; \ - ${INSTALL_DATA_DIR} ${FONTDIR}; \ - ${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${FONTDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/readme.kaname_bdf ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/doc.orig/* ${DESTDIR}${DOCDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${FONTDIR} + ${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${DESTDIR}${FONTDIR} .include "../../mk/bsd.pkg.mk" |