pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/xmms-madspin user-destdir suppoort



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0cb9c1f8f0f2
branches:  trunk
changeset: 395524:0cb9c1f8f0f2
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jul 08 14:38:35 2009 +0000

description:
user-destdir suppoort

diffstat:

 audio/xmms-madspin/Makefile |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 4beae462a3ba -r 0cb9c1f8f0f2 audio/xmms-madspin/Makefile
--- a/audio/xmms-madspin/Makefile       Wed Jul 08 14:28:28 2009 +0000
+++ b/audio/xmms-madspin/Makefile       Wed Jul 08 14:38:35 2009 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index