From 76ed4a57975c0d7c08dcc86ebda15457c3e83793 Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 2 Mar 2008 06:10:30 +0000 Subject: Mechanical changes to add full DESTDIR support to packages that install their files via a custom do-install target. --- audio/wavesurfer/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'audio/wavesurfer') 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" -- cgit v1.2.3