summaryrefslogtreecommitdiff
path: root/audio/wmusic
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-02 06:10:30 +0000
committerjlam <jlam>2008-03-02 06:10:30 +0000
commit33be9d571979426caf74e11b4f9a9f2be70808b5 (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/wmusic
parent49d8db83e7f07977deb64d4280dcde0dbef7c34f (diff)
downloadpkgsrc-33be9d571979426caf74e11b4f9a9f2be70808b5.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/wmusic')
-rw-r--r--audio/wmusic/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/wmusic/Makefile b/audio/wmusic/Makefile
index 3a63d3742bb..25f569d07ea 100644
--- a/audio/wmusic/Makefile
+++ b/audio/wmusic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2007/01/15 16:36:47 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2008/03/02 06:10:34 jlam Exp $
DISTNAME= wmusic-1.5.0
PKGREVISION= 2
@@ -9,16 +9,18 @@ MAINTAINER= joel@carnat.net
HOMEPAGE= http://home.jtan.com/~john/wmusic/
COMMENT= WindowMaker dockable remote for XMMS
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/wmusic ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/wmusic
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmusic
- ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/wmusic
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/wmusic ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/wmusic
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/wmusic
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/wmusic
.include "../../audio/xmms/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"