summaryrefslogtreecommitdiff
path: root/audio/wavesurfer
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
commit175fab70a3a2f3b0f348e8eb065240a97f4f7d61 (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/wavesurfer
parent8e48fde97a437ad72ee0e0977aecc1023910f244 (diff)
downloadpkgsrc-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/wavesurfer')
-rw-r--r--audio/wavesurfer/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/audio/wavesurfer/Makefile b/audio/wavesurfer/Makefile
index c57395d4d7a..be452a3b393 100644
--- a/audio/wavesurfer/Makefile
+++ b/audio/wavesurfer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/05/28 07:38:26 gson Exp $
+# $NetBSD: Makefile,v 1.16 2008/03/02 06:10:34 jlam Exp $
DISTNAME= wavesurfer-1.8.5
CATEGORIES= audio
@@ -11,6 +11,8 @@ COMMENT= Tool for sound visualization and manipulation
DEPENDS+= tcl-snack-[0-9]*:../../audio/tcl-snack
DEPENDS+= tk-[0-9]*:../../x11/tk
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_CONFIGURE= yes
NO_BUILD= yes
USE_LANGUAGES= # empty
@@ -24,7 +26,8 @@ SUBST_SED.wish= -e 's,wish8.4,wish,g'
INSTALLATION_DIRS= bin lib
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/wavesurfer.tcl ${PREFIX}/bin/wavesurfer
- cd ${WRKSRC} && pax -wr -pm wsurf1.8 ${PREFIX}/lib/
+ ${INSTALL_SCRIPT} ${WRKSRC}/wavesurfer.tcl \
+ ${DESTDIR}${PREFIX}/bin/wavesurfer
+ cd ${WRKSRC} && pax -wr -pm wsurf1.8 ${DESTDIR}${PREFIX}/lib
.include "../../mk/bsd.pkg.mk"