From f5746c2a4025cbaca08043740a6922c95543231f Mon Sep 17 00:00:00 2001 From: branch-fixup Date: Wed, 11 Jun 2008 12:57:44 +0000 Subject: [PATCH] Add files from parent branch HEAD: audio/exaile/patches/patch-aa --- audio/exaile/patches/patch-aa | 62 +++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 audio/exaile/patches/patch-aa diff --git a/audio/exaile/patches/patch-aa b/audio/exaile/patches/patch-aa new file mode 100644 index 000000000000..9d1e1c7be6ba --- /dev/null +++ b/audio/exaile/patches/patch-aa @@ -0,0 +1,62 @@ +$NetBSD: patch-aa,v 1.3 2008/05/30 17:18:23 drochner Exp $ + +--- Makefile.orig 2008-04-02 01:42:17.000000000 +0000 ++++ Makefile +@@ -6,15 +6,14 @@ all: compile mmkeys.so translations + @echo "Type: 'make install' now" + + compile: +- -bzr version-info --format=python > xl/version.py +- python -m compileall xl lib +- python -O -m compileall xl lib ++ ${PYTHONBIN} -m compileall xl lib ++ ${PYTHONBIN} -O -m compileall xl lib + + mmkeys.so: + cd mmkeys && make mmkeys.so && cd .. && cp mmkeys/mmkeys.so . + + translations: +- python po/createpot.py compile ++ ${PYTHONBIN} po/createpot.py compile + + make-install-dirs: + mkdir -p $(DESTDIR)$(PREFIX)/bin +@@ -36,11 +35,11 @@ make-install-dirs: + mkdir -p $(DESTDIR)$(PREFIX)/share/exaile/sql + mkdir -p $(DESTDIR)$(PREFIX)/share/exaile/xl + mkdir -p $(DESTDIR)$(PREFIX)/share/exaile/xl/plugins +- mkdir -p $(DESTDIR)$(PREFIX)/share/locale +- mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 ++ mkdir -p $(DESTDIR)$(PREFIX)/${PKGLOCALEDIR}/locale ++ mkdir -p $(DESTDIR)$(PREFIX)/${PKGMANDIR}/man1 + + install: make-install-dirs +- install -m 644 exaile.1 $(DESTDIR)$(PREFIX)/share/man/man1 ++ install -m 644 exaile.1 $(DESTDIR)$(PREFIX)/${PKGMANDIR}/man1 + install -m 644 exaile.py $(DESTDIR)$(PREFIX)$(LIBDIR)/exaile + install -m 644 exaile.glade $(DESTDIR)$(PREFIX)/share/exaile + install -m 644 equalizer.ini $(DESTDIR)$(PREFIX)/share/exaile +@@ -66,18 +65,18 @@ install: make-install-dirs + $(DESTDIR)$(PREFIX)/share/pixmaps/exaile.png + install -m 644 exaile.desktop $(DESTDIR)$(PREFIX)/share/applications/ + cd $(DESTDIR)$(PREFIX)/bin && \ +- /bin/echo -e \ ++ echo \ + "#!/bin/sh\n" \ + "cd $(PREFIX)/share/exaile\n" \ +- "exec python $(PREFIX)$(LIBDIR)/exaile/exaile.py \"\$$@\"" \ +- > exaile && \ ++ "exec ${PYTHONBIN} $(PREFIX)$(LIBDIR)/exaile/exaile.py \"\$$@\"" \ ++ | awk '{gsub(/\\n[ ]*/, "\n");print}' > exaile && \ + chmod 755 exaile + for f in `find po -name exaile.mo` ; do \ + install -d -m 755 \ +- `echo $$f | sed "s|^po|$(DESTDIR)$(PREFIX)/share/locale|" | \ ++ `echo $$f | sed "s|^po|$(DESTDIR)$(PREFIX)/${PKGLOCALEDIR}/locale|" | \ + xargs dirname` && \ + install -m 644 $$f \ +- `echo $$f | sed "s|^po|$(DESTDIR)$(PREFIX)/share/locale|"` ; \ ++ `echo $$f | sed "s|^po|$(DESTDIR)$(PREFIX)/${PKGLOCALEDIR}/locale|"` ; \ + done + + clean: -- 2.41.0