summaryrefslogtreecommitdiff
path: root/fonts/kochi-ttf/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 20:17:11 +0000
committerjlam <jlam>2008-03-03 20:17:11 +0000
commit513d55cb8075ce3708c063e9c2613db42dfab09a (patch)
treef10a20ae369c1bb45808b6fa246faf206d89f420 /fonts/kochi-ttf/Makefile
parent950114a6b9efb1655f11066828abdb59573e9aea (diff)
downloadpkgsrc-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/Makefile10
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"