summaryrefslogtreecommitdiff
path: root/audio/mpdas
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-04-01 21:55:07 +0000
committerjperkin <jperkin@pkgsrc.org>2016-04-01 21:55:07 +0000
commit13974aa47c3a8ad3b9219b4768583a7cc556fbab (patch)
treed862fb106ac279ed5314e5e10ceb2225c02b4280 /audio/mpdas
parent0883f13023878c809d579962112bd58d43b16921 (diff)
downloadpkgsrc-13974aa47c3a8ad3b9219b4768583a7cc556fbab.tar.gz
Support PKGMANDIR.
Diffstat (limited to 'audio/mpdas')
-rw-r--r--audio/mpdas/distinfo3
-rw-r--r--audio/mpdas/patches/patch-Makefile15
2 files changed, 17 insertions, 1 deletions
diff --git a/audio/mpdas/distinfo b/audio/mpdas/distinfo
index 64291e637d6..1d276002f23 100644
--- a/audio/mpdas/distinfo
+++ b/audio/mpdas/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 01:12:42 agc Exp $
+$NetBSD: distinfo,v 1.5 2016/04/01 21:55:07 jperkin Exp $
SHA1 (mpdas-0.3.2.tar.gz) = 1d9c2a88527140af2a4bdbffc865fedf2d8528ef
RMD160 (mpdas-0.3.2.tar.gz) = 0ac4c11b208844157bacb73804e0348e485bac74
SHA512 (mpdas-0.3.2.tar.gz) = b7bc6a78d9a531684a0b59d6e5b6b9701948d10650f567bfebd7eb408d4f22b8c5aed4ddd9b08968aca828ae59b22404bb19c552fc25cf50cdf8adbd7cd77771
Size (mpdas-0.3.2.tar.gz) = 14143 bytes
+SHA1 (patch-Makefile) = c4f684b4e06699615f31c2a9297421c059af6d1f
diff --git a/audio/mpdas/patches/patch-Makefile b/audio/mpdas/patches/patch-Makefile
new file mode 100644
index 00000000000..8b50f5fd189
--- /dev/null
+++ b/audio/mpdas/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.3 2016/04/01 21:55:07 jperkin Exp $
+
+Support PKGMANDIR.
+
+--- Makefile.orig 2014-09-26 13:34:00.000000000 +0000
++++ Makefile
+@@ -4,7 +4,7 @@ CXX ?= g++
+ OBJ = main.o md5.o utils.o mpd.o audioscrobbler.o cache.o config.o
+ OUT = mpdas
+ PREFIX ?= /usr/local
+-MANPREFIX ?= ${PREFIX}/man/man1
++MANPREFIX ?= ${PREFIX}/${PKGMANDIR}/man1
+ CONFIG ?= $(PREFIX)/etc
+
+ CXXFLAGS += `pkg-config --cflags libmpd libcurl`