summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-08 14:38:35 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-08 14:38:35 +0000
commit9cffbd95c251b84b054b6697cbc81589cf839221 (patch)
treeb7e84ac99738de50bf26f6e55020116f280c51f0
parent49c575630592e7c6aa1f6111601f0f457ba2e70f (diff)
downloadpkgsrc-9cffbd95c251b84b054b6697cbc81589cf839221.tar.gz
user-destdir suppoort
-rw-r--r--audio/xmms-madspin/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/audio/xmms-madspin/Makefile b/audio/xmms-madspin/Makefile
index 0bb74c6dcb4..2ac6745a519 100644
--- a/audio/xmms-madspin/Makefile
+++ b/audio/xmms-madspin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2009/05/05 18:54:40 zafer Exp $
+# $NetBSD: Makefile,v 1.18 2009/07/08 14:38:35 joerg Exp $
#
DISTNAME= madspin-0.05
@@ -11,14 +11,17 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.students.uiuc.edu/~birck/madspin.html
COMMENT= Based on the madspin winamp plugin
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_TOOLS+= gmake
USE_LIBTOOL= YES
+INSTALLATION_DIRS= lib/xmms/Visualization share/xmms/madspin
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/xmms/madspin
- ${INSTALL_DATA} ${WRKSRC}/star1.bmp ${PREFIX}/share/xmms/madspin
- ${INSTALL_DATA} ${WRKSRC}/star2.bmp ${PREFIX}/share/xmms/madspin
+ ${INSTALL_DATA} ${WRKSRC}/star1.bmp ${DESTDIR}${PREFIX}/share/xmms/madspin
+ ${INSTALL_DATA} ${WRKSRC}/star2.bmp ${DESTDIR}${PREFIX}/share/xmms/madspin
.include "../../audio/xmms/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"