2012-10-18 04:15:41 -04:00
|
|
|
$OpenBSD: patch-plugins_Makefile,v 1.5 2012/10/18 08:15:41 giovanni Exp $
|
|
|
|
--- plugins/Makefile.orig Thu Aug 30 23:58:21 2012
|
|
|
|
+++ plugins/Makefile Wed Sep 26 11:32:00 2012
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
-PYTHON2_CMD ?= python2
|
|
|
|
-PREFIX ?= /usr/local
|
|
|
|
-PLUGINSDIR = /share/exaile/plugins/
|
|
|
|
+PYTHON2_CMD ?= ${MODPY_BIN}
|
|
|
|
+PREFIX ?= ${TRUEPREFIX}
|
|
|
|
+PLUGINSDIR = /share/exaile/data/plugins/
|
|
|
|
|
|
|
|
INSTALL_PLUGINS = `${PYTHON2_CMD} list.py main`
|
|
|
|
EXTRA_PLUGINS = `${PYTHON2_CMD} list.py extra`
|
|
|
|
@@ -18,15 +18,15 @@ compile:
|
|
|
|
-${PYTHON2_CMD} -O -m compileall -q .
|
2009-07-23 04:02:36 -04:00
|
|
|
|
|
|
|
install:
|
2012-10-18 04:15:41 -04:00
|
|
|
- mkdir -p ${DESTDIR}${PREFIX}${PLUGINSDIR} && \
|
|
|
|
+ mkdir -p ${DESTDIR}${TRUEPREFIX}${PLUGINSDIR} && \
|
|
|
|
for plugin in ${INSTALL_PLUGINS}; do \
|
|
|
|
- cp -r $${plugin} ${DESTDIR}${PREFIX}${PLUGINSDIR} ; \
|
|
|
|
+ cp -r $${plugin} ${DESTDIR}${TRUEPREFIX}${PLUGINSDIR} ; \
|
2010-04-21 03:02:42 -04:00
|
|
|
done ;
|
|
|
|
|
|
|
|
extra_install:
|
2012-10-18 04:15:41 -04:00
|
|
|
- mkdir -p ${DESTDIR}${PREFIX}${PLUGINSDIR} && \
|
|
|
|
+ mkdir -p ${DESTDIR}${TRUEPREFIX}${PLUGINSDIR} && \
|
|
|
|
for plugin in ${EXTRA_PLUGINS}; do \
|
|
|
|
- cp -r $${plugin} ${DESTDIR}${PREFIX}${PLUGINSDIR} ; \
|
|
|
|
+ cp -r $${plugin} ${DESTDIR}${TRUEPREFIX}${PLUGINSDIR} ; \
|
2010-04-21 03:02:42 -04:00
|
|
|
done ;
|
|
|
|
|
|
|
|
uninstall:
|