summaryrefslogtreecommitdiff
path: root/audio/mpdas/patches
diff options
context:
space:
mode:
authorgls <gls@pkgsrc.org>2011-02-02 21:35:35 +0000
committergls <gls@pkgsrc.org>2011-02-02 21:35:35 +0000
commit472956698bb6f4a0e92deb4b575d788f985c3ec3 (patch)
treed568a6b6801ec9365e080e0f436a3fe52199c1c4 /audio/mpdas/patches
parent261db414b2321f5854eac7573e98efb7ffc4ac2f (diff)
downloadpkgsrc-472956698bb6f4a0e92deb4b575d788f985c3ec3.tar.gz
Import audio/mpdas, version 0.3.0, into the NetBSD Packages Collection.
mpdas is an AudioScrobbler client for MPD written in C++. It uses libcurl and libmpd. It supports the latest AudioScrobbler protocol (2.0). In case of a downtime or connectivity problems, mpdas will cache the played songs to ~/.mpdascache. Features: - Sets now-playing status - Scrobbling (obviously) - Caching - Config files - User switching
Diffstat (limited to 'audio/mpdas/patches')
-rw-r--r--audio/mpdas/patches/patch-Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/mpdas/patches/patch-Makefile b/audio/mpdas/patches/patch-Makefile
new file mode 100644
index 00000000000..a2ccb35a23a
--- /dev/null
+++ b/audio/mpdas/patches/patch-Makefile
@@ -0,0 +1,17 @@
+$NetBSD: patch-Makefile,v 1.1.1.1 2011/02/02 21:35:35 gls Exp $
+
+Fix installation dirs
+
+--- Makefile.orig 2010-11-22 01:15:12.000000000 +0000
++++ Makefile
+@@ -27,8 +27,8 @@ clean:
+ rm -rf $(OBJ) $(OUT)
+
+ install: all
+- install mpdas ${PREFIX}/bin
+- install -m 644 mpdas.1 ${MANPREFIX}/mpdas.1
++ install mpdas ${DESTDIR}${PREFIX}/bin
++ install -m 644 mpdas.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mpdas.1
+
+ uninstall:
+ -rm ${PREFIX}/bin/mpdas