pkgsrc/audio/mpdas/patches/patch-Makefile
gls 5e1f3f4132 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
2011-02-02 21:35:35 +00:00

17 lines
444 B
Text

$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