summaryrefslogtreecommitdiff
path: root/audio/xmms-wma/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-wma/patches/patch-ad')
-rw-r--r--audio/xmms-wma/patches/patch-ad26
1 files changed, 26 insertions, 0 deletions
diff --git a/audio/xmms-wma/patches/patch-ad b/audio/xmms-wma/patches/patch-ad
new file mode 100644
index 00000000000..e0da8752175
--- /dev/null
+++ b/audio/xmms-wma/patches/patch-ad
@@ -0,0 +1,26 @@
+$NetBSD: patch-ad,v 1.1.1.1 2005/03/01 01:17:01 xtraeme Exp $
+
+--- Makefile.orig 2005-03-01 02:09:43.000000000 +0100
++++ Makefile 2005-03-01 02:10:42.000000000 +0100
+@@ -1,6 +1,6 @@
+ .PHONY: all install install-home uninstall uninstall-home clean
+
+-INSTALL_DIR := /usr/lib/xmms/Input
++INSTALL_DIR := `xmms-config --input-plugin-dir`
+ INSTALL_DIR_HOME := ~/.xmms/Plugins/Input
+
+ export PLUGIN_FILE := libwma.so
+@@ -14,12 +14,9 @@
+ @cd ffmpeg-strip-wma; make; cd ..
+ @$(MAKE) --no-print-directory -f Makefile.inc
+ @strip $(PLUGIN_FILE)
+- @echo "The plug-in has been compiled. Run one of the following:"
+- @echo "make install - for global (root) installation to $(INSTALL_DIR)"
+- @echo "make install-home - for installation to home directory $(INSTALL_DIR_HOME)"
+
+ install: all
+- cp -f $(PLUGIN_FILE) $(INSTALL_DIR)
++ $(BSD_INSTALL_LIB) $(PLUGIN_FILE) $(INSTALL_DIR)
+ @echo "The plug-in has been installed."
+ @echo "Enjoy!"
+