summaryrefslogtreecommitdiff
path: root/audio/madman
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-02 06:10:30 +0000
committerjlam <jlam@pkgsrc.org>2008-03-02 06:10:30 +0000
commit76ed4a57975c0d7c08dcc86ebda15457c3e83793 (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/madman
parent5c458b597ca0742153b3a339088ba80f14b598ef (diff)
downloadpkgsrc-76ed4a57975c0d7c08dcc86ebda15457c3e83793.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/madman')
-rw-r--r--audio/madman/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/madman/Makefile b/audio/madman/Makefile
index c7afedb955c..0c0605f1f5a 100644
--- a/audio/madman/Makefile
+++ b/audio/madman/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2006/09/19 20:59:30 rillig Exp $
+# $NetBSD: Makefile,v 1.22 2008/03/02 06:10:33 jlam Exp $
DISTNAME= madman-0.93
PKGREVISION= 7
@@ -11,6 +11,8 @@ COMMENT= Powerful audio manager for large collections
BUILD_DEPENDS+= scons>=0.96:../../devel/scons
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
GCC_REQD+= 3.0
@@ -30,11 +32,11 @@ do-build:
qt_directory=${QTDIR} add_c_include_dirs=${LOCALBASE}/include add_c_lib_dirs=${WRKDIR}/lib
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/main/madman ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/madman
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/madman/plugins
+ ${INSTALL_PROGRAM} ${WRKSRC}/main/madman ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/madman
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/madman/plugins
for plugin in burn_to_audio_cd burn_to_data_cd export_m3u move_to_trash; do \
- ${INSTALL_DATA} -m0755 ${WRKSRC}/plugins/$$plugin ${PREFIX}/lib/madman/plugins; \
+ ${INSTALL_DATA} -m0755 ${WRKSRC}/plugins/$$plugin ${DESTDIR}${PREFIX}/lib/madman/plugins; \
done
.include "../../x11/qt3-libs/buildlink3.mk"