summaryrefslogtreecommitdiff
path: root/fonts/watanabe_vfont
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 20:17:11 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 20:17:11 +0000
commitd6ccf8cf664251c9f27f0424467fbf2bd95a5cc6 (patch)
treef10a20ae369c1bb45808b6fa246faf206d89f420 /fonts/watanabe_vfont
parent68013bbef21c9e93e6c34c2bbde20ba8a3d086e5 (diff)
downloadpkgsrc-d6ccf8cf664251c9f27f0424467fbf2bd95a5cc6.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'fonts/watanabe_vfont')
-rw-r--r--fonts/watanabe_vfont/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/fonts/watanabe_vfont/Makefile b/fonts/watanabe_vfont/Makefile
index f2e18e8c55c..18f1b2641b2 100644
--- a/fonts/watanabe_vfont/Makefile
+++ b/fonts/watanabe_vfont/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/09/10 12:19:04 obache Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/03 20:17:13 jlam Exp $
#
DISTNAME= watanabe-vf
@@ -9,6 +9,8 @@ MASTER_SITES= ftp://ftp.kuis.kyoto-u.ac.jp/TeX/watanabe-jfonts/
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
COMMENT= Watanabe-vector Japanese font
+PKG_DESTDIR_SUPPORT= destdir
+
EXTRACT_ONLY= # empty
NO_CONFIGURE= yes
NO_BUILD= yes
@@ -16,10 +18,11 @@ NO_BUILD= yes
USE_TOOLS+= tar
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/fonts/watanabe_font
- cd ${PREFIX}/share/fonts/watanabe_font \
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/fonts/watanabe_font
+ cd ${DESTDIR}${PREFIX}/share/fonts/watanabe_font \
&& ${TAR} xzf ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
- ${CHMOD} ${SHAREMODE} ${PREFIX}/share/fonts/watanabe_font/*
- ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/fonts/watanabe_font/*
+ ${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/share/fonts/watanabe_font/*
+ ${CHOWN} ${SHAREOWN}:${SHAREGRP} \
+ ${DESTDIR}${PREFIX}/share/fonts/watanabe_font/*
.include "../../mk/bsd.pkg.mk"