diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
commit | 175fab70a3a2f3b0f348e8eb065240a97f4f7d61 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/gnome-audio | |
parent | 8e48fde97a437ad72ee0e0977aecc1023910f244 (diff) | |
download | pkgsrc-175fab70a3a2f3b0f348e8eb065240a97f4f7d61.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'audio/gnome-audio')
-rw-r--r-- | audio/gnome-audio/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/audio/gnome-audio/Makefile b/audio/gnome-audio/Makefile index 2b89bd99367..16c2440db29 100644 --- a/audio/gnome-audio/Makefile +++ b/audio/gnome-audio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2007/01/26 18:28:24 joerg Exp $ +# $NetBSD: Makefile,v 1.18 2008/03/02 06:10:32 jlam Exp $ # DISTNAME= gnome-audio-2.0.0 @@ -11,6 +11,8 @@ MAINTAINER= rh@NetBSD.org HOMEPAGE= http://www.gnome.org/ COMMENT= Set of audio files for GNOME +PKG_DESTDIR_SUPPORT= user-destdir + NO_CONFIGURE= YES NO_BUILD= YES USE_DIRS+= xdg-1.1 @@ -18,12 +20,12 @@ USE_DIRS+= xdg-1.1 do-install: cd ${WRKSRC}/sounds && for f in *.wav */*.wav; do \ dst=`${DIRNAME} $$f`; \ - ${INSTALL_DATA_DIR} ${PREFIX}/share/sounds/$$dst; \ - ${INSTALL_DATA} $$f ${PREFIX}/share/sounds/$$f; \ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/sounds/$$dst; \ + ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/share/sounds/$$f; \ done - ${RM} -f ${PREFIX}/share/sounds/login.wav - ${RM} -f ${PREFIX}/share/sounds/logout.wav - ${LN} -fs startup3.wav ${PREFIX}/share/sounds/login.wav - ${LN} -fs shutdown1.wav ${PREFIX}/share/sounds/logout.wav + ${RM} -f ${DESTDIR}${PREFIX}/share/sounds/login.wav + ${RM} -f ${DESTDIR}${PREFIX}/share/sounds/logout.wav + ${LN} -fs startup3.wav ${DESTDIR}${PREFIX}/share/sounds/login.wav + ${LN} -fs shutdown1.wav ${DESTDIR}${PREFIX}/share/sounds/logout.wav .include "../../mk/bsd.pkg.mk" |