diff options
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" |