1 $NetBSD: patch-ad,v 1.2 2010/06/25 20:21:47 joerg Exp $
3 --- Makefile.orig 2004-03-03 14:47:58.000000000 +0000
6 .PHONY: all install install-home uninstall uninstall-home clean
8 -INSTALL_DIR := /usr/lib/xmms/Input
9 +INSTALL_DIR := ${DESTDIR}`xmms-config --input-plugin-dir`
10 INSTALL_DIR_HOME := ~/.xmms/Plugins/Input
12 export PLUGIN_FILE := libwma.so
13 @@ -14,12 +14,10 @@ all:
14 @cd ffmpeg-strip-wma; make; cd ..
15 @$(MAKE) --no-print-directory -f Makefile.inc
17 - @echo "The plug-in has been compiled. Run one of the following:"
18 - @echo "make install - for global (root) installation to $(INSTALL_DIR)"
19 - @echo "make install-home - for installation to home directory $(INSTALL_DIR_HOME)"
22 - cp -f $(PLUGIN_FILE) $(INSTALL_DIR)
23 + $(BSD_INSTALL_LIB_DIR) $(INSTALL_DIR)
24 + $(BSD_INSTALL_LIB) $(PLUGIN_FILE) $(INSTALL_DIR)
25 @echo "The plug-in has been installed."