summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-03-12 02:05:30 +0000
committersnj <snj@pkgsrc.org>2004-03-12 02:05:30 +0000
commit906fa076078bf3dc526a5b4e5a6e5be596080f45 (patch)
tree65cb73fc29f7bd43e3139f1db0517e145232530d /audio
parent493728a085a13892a897152adfb9d339b3824f9a (diff)
downloadpkgsrc-906fa076078bf3dc526a5b4e5a6e5be596080f45.tar.gz
Use bl3. Fix when building as non-root.
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms-madspin/Makefile15
-rw-r--r--audio/xmms-madspin/distinfo3
-rw-r--r--audio/xmms-madspin/patches/patch-aa18
3 files changed, 30 insertions, 6 deletions
diff --git a/audio/xmms-madspin/Makefile b/audio/xmms-madspin/Makefile
index 742442a9b75..6292967b7b1 100644
--- a/audio/xmms-madspin/Makefile
+++ b/audio/xmms-madspin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2004/02/14 17:21:34 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2004/03/12 02:05:30 snj Exp $
#
DISTNAME= madspin-0.05
@@ -11,11 +11,16 @@ MAINTAINER= hubertf@NetBSD.org
HOMEPAGE= http://www.students.uiuc.edu/~birck/madspin.html
COMMENT= Based on the madspin winamp plugin
-USE_BUILDLINK2= YES
-USE_LIBTOOL= YES
GNU_CONFIGURE= YES
+USE_BUILDLINK3= YES
USE_GNU_TOOLS+= make
+USE_LIBTOOL= YES
+
+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
-.include "../../audio/xmms/buildlink2.mk"
-.include "../../x11/gtk/buildlink2.mk"
+.include "../../audio/xmms/buildlink3.mk"
+.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/xmms-madspin/distinfo b/audio/xmms-madspin/distinfo
index 163711a14e4..3d798dac2de 100644
--- a/audio/xmms-madspin/distinfo
+++ b/audio/xmms-madspin/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2003/02/22 13:16:13 hubertf Exp $
+$NetBSD: distinfo,v 1.3 2004/03/12 02:05:30 snj Exp $
SHA1 (madspin-0.05.tar.gz) = 4bddb3e77da8f28a17c2a9190c0a345c29159b42
Size (madspin-0.05.tar.gz) = 565244 bytes
+SHA1 (patch-aa) = 4cc8d55a32ff980376ca965d6e09d1a9ab928b7e
diff --git a/audio/xmms-madspin/patches/patch-aa b/audio/xmms-madspin/patches/patch-aa
new file mode 100644
index 00000000000..878d3380828
--- /dev/null
+++ b/audio/xmms-madspin/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1 2004/03/12 02:05:30 snj Exp $
+
+--- configure.orig 2004-03-11 17:43:15.000000000 -0800
++++ configure 2004-03-11 17:44:01.000000000 -0800
+@@ -3750,13 +3750,6 @@ EOF
+ chmod +x $CONFIG_STATUS
+ rm -fr confdefs* $ac_clean_files
+
+-echo ""
+-echo "**** Putting star1.bmp and star2.bmp in $XMMS_VISUALIZATION_PLUGIN_DIR/madspin/ ****"
+-echo ""
+-
+-mkdir -p $XMMS_DATA_DIR/madspin
+-cp star1.bmp $XMMS_DATA_DIR/madspin/star1.bmp
+-cp star2.bmp $XMMS_DATA_DIR/madspin/star2.bmp
+
+ test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
+