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/watanabe_vfont | |
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/watanabe_vfont')
-rw-r--r-- | fonts/watanabe_vfont/Makefile | 13 |
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" |