freebsd-ports/audio/xmms-wma/files/patch-Makefile
Pav Lucistnik 7778c0831d - Update to 0.2
PR:		ports/65695
Submitted by:	edwin
Approved by:	maintainer
2004-04-19 07:52:57 +00:00

31 lines
1,015 B
Text

--- Makefile.orig Mon Apr 19 08:42:08 2004
+++ Makefile Mon Apr 19 08:55:24 2004
@@ -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
@@ -11,12 +11,9 @@
export DEPS := $(SOURCES:%.c=$(DEPDIR)/%.d)
all:
- @cd ffmpeg-strip-wma; make; cd ..
+ @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)
@@ -40,5 +37,5 @@
@echo "The plug-in has been uninstalled."
clean:
- cd ffmpeg-strip-wma; make clean; cd ..
+ cd ffmpeg-strip-wma; $(MAKE) clean; cd ..
rm -f $(OBJECTS) $(DEPS)