aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-11-18 22:32:51 +0800
committercrees <crees@FreeBSD.org>2012-11-18 22:32:51 +0800
commit0c4648e7440065741d82f30ee6ab0db7576aa4f7 (patch)
tree95ecc29a2c509e717221dcc94abace4ddea667ae /audio
parenta7a73f3b45ff19e61156906eef8afab11b5aa47c (diff)
downloadfreebsd-ports-gnome-0c4648e7440065741d82f30ee6ab0db7576aa4f7.tar.gz
freebsd-ports-gnome-0c4648e7440065741d82f30ee6ab0db7576aa4f7.tar.zst
freebsd-ports-gnome-0c4648e7440065741d82f30ee6ab0db7576aa4f7.zip
Tighten up on replacement in musicpd.conf(5) to avoid catching .B mixer
Submitted by: Derek Thomas Feature safe: yes
Diffstat (limited to 'audio')
-rw-r--r--audio/musicpd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/musicpd/Makefile b/audio/musicpd/Makefile
index 3ba9172af26b..972f564fbddf 100644
--- a/audio/musicpd/Makefile
+++ b/audio/musicpd/Makefile
@@ -2,6 +2,7 @@
PORTNAME= musicpd
PORTVERSION= 0.17.2
+PORTREVISION= 1
CATEGORIES= audio ipv6
MASTER_SITES= SF/${PORTNAME}/mpd/${PORTVERSION}
DISTNAME= mpd-${PORTVERSION}
@@ -236,7 +237,7 @@ post-patch:
-e 's,^#\(user[^"]*"\)nobody,\1${MPDUSER},g' \
${WRKSRC}/doc/mpdconf.example
# Fix man pages for executable names
- @${REINPLACE_CMD} -e 's/^\(\.B m\)/\1usic/' \
+ @${REINPLACE_CMD} -e 's/^\(\.B m\)pd/\1usic/' \
-e 's#^\(\.BI \)/etc/mpd.conf#\1${PREFIX}/etc/${MPDCONF}#' \
-e 's#^mpd.conf#${MPDCONF}#' \
-e 's#^mpd(1)#musicpd(1)#' \