diff options
author | jlam <jlam> | 2008-03-03 20:17:11 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 20:17:11 +0000 |
commit | 513d55cb8075ce3708c063e9c2613db42dfab09a (patch) | |
tree | f10a20ae369c1bb45808b6fa246faf206d89f420 /fonts/kochi-ttf/Makefile | |
parent | 950114a6b9efb1655f11066828abdb59573e9aea (diff) | |
download | pkgsrc-513d55cb8075ce3708c063e9c2613db42dfab09a.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'fonts/kochi-ttf/Makefile')
-rw-r--r-- | fonts/kochi-ttf/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/fonts/kochi-ttf/Makefile b/fonts/kochi-ttf/Makefile index a064685f78b..967a40abbf4 100644 --- a/fonts/kochi-ttf/Makefile +++ b/fonts/kochi-ttf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/02/05 23:09:10 joerg Exp $ +# $NetBSD: Makefile,v 1.19 2008/03/03 20:17:12 jlam Exp $ DISTNAME= kochi-substitute-${KOCHI_VERSION} PKGNAME= kochi-ttf-${KOCHI_VERSION} @@ -13,15 +13,17 @@ COMMENT= Free Japanese TrueType font by Yasuyuki Furukawa KOCHI_VERSION= 20030809 +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= yes FONTS_DIRS.ttf= ${PREFIX}/lib/X11/fonts/TTF do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fonts/TTF + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/X11/fonts/TTF ${INSTALL_DATA} ${WRKSRC}/kochi-gothic-subst.ttf \ - ${PREFIX}/lib/X11/fonts/TTF/kochi-gothic.ttf + ${DESTDIR}${PREFIX}/lib/X11/fonts/TTF/kochi-gothic.ttf ${INSTALL_DATA} ${WRKSRC}/kochi-mincho-subst.ttf \ - ${PREFIX}/lib/X11/fonts/TTF/kochi-mincho.ttf + ${DESTDIR}${PREFIX}/lib/X11/fonts/TTF/kochi-mincho.ttf .include "../../mk/bsd.pkg.mk" |