openbsd-ports/audio/exaile/patches/patch-plugins_Makefile

29 lines
814 B
Plaintext

$OpenBSD: patch-plugins_Makefile,v 1.2 2009/10/29 08:33:47 giovanni Exp $
--- plugins/Makefile.orig Mon Aug 24 23:25:03 2009
+++ plugins/Makefile Mon Aug 31 16:04:25 2009
@@ -1,7 +1,6 @@
-PREFIX ?= /usr/local
-PLUGINSDIR = /share/exaile/plugins/
+PLUGINSDIR = /share/exaile/data/plugins/
-INSTALL_PLUGINS = `python list.py`
+INSTALL_PLUGINS = `${MODPY_BIN} list.py`
# EXTRA_PLUGINS = ipconsole \
# helloworld
@@ -12,11 +11,11 @@
dist:
mkdir -p ../dist/plugins/
- python dist_plugin.py --output ../dist/plugins/ $(DIST_PLUGINS)
+ ${MODPY_BIN} dist_plugin.py --output ../dist/plugins/ $(DIST_PLUGINS)
compile:
- python -m compileall -q .
- -python -O -m compileall -q .
+ ${MODPY_BIN} -m compileall -q .
+ -${MODPY_BIN} -O -m compileall -q .
install:
mkdir -p $(DESTDIR)$(PREFIX)$(PLUGINSDIR)