summaryrefslogtreecommitdiff
path: root/audio/xwave/Makefile
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/xwave/Makefile
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/xwave/Makefile')
-rw-r--r--audio/xwave/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/audio/xwave/Makefile b/audio/xwave/Makefile
index b92faf2d485..f8e87b098c5 100644
--- a/audio/xwave/Makefile
+++ b/audio/xwave/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/12/27 13:37:36 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2008/03/02 06:10:34 jlam Exp $
#
DISTNAME= xwave2
@@ -10,19 +10,22 @@ MASTER_SITES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Audio player/recorder/editor for the X Window System
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_IMAKE= YES
INSTALLATION_DIRS= bin lib/X11/app-defaults
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/xwave ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/src/XWave ${PREFIX}/lib/X11/app-defaults
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xwave2
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/xwave ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/src/XWave \
+ ${DESTDIR}${PREFIX}/lib/X11/app-defaults
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/xwave2
${INSTALL_DATA} ${WRKSRC}/README \
${WRKSRC}/README-XWAVE2 \
${WRKSRC}/README.v06 \
${WRKSRC}/COPYING \
${WRKSRC}/INSTALL \
- ${PREFIX}/share/doc/xwave2
+ ${DESTDIR}${PREFIX}/share/doc/xwave2
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"