pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/musicpd Fix audio device path in example config ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/afc72319125b
branches:  trunk
changeset: 351422:afc72319125b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Aug 20 10:17:09 2016 +0000

description:
Fix audio device path in example config file.
Lost sometime in 2015.

Bump PKGREVISION.

diffstat:

 audio/musicpd/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 69ac58484ce4 -r afc72319125b audio/musicpd/Makefile
--- a/audio/musicpd/Makefile    Sat Aug 20 09:34:35 2016 +0000
+++ b/audio/musicpd/Makefile    Sat Aug 20 10:17:09 2016 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.126 2016/08/19 13:52:39 wiz Exp $
+# $NetBSD: Makefile,v 1.127 2016/08/20 10:17:09 wiz Exp $
 
 DISTNAME=              mpd-0.19.18
 PKGNAME=               ${DISTNAME:S/mpd/musicpd/}
+PKGREVISION=           1
 CATEGORIES=            audio
 MASTER_SITES=          http://www.musicpd.org/download/mpd/0.19/
 #MASTER_SITES=         ${MASTER_SITE_SOURCEFORGE:=musicpd/}
@@ -34,6 +35,12 @@
 RCD_SCRIPTS=           mpd
 
 FILES_SUBST+=          DEVOSSAUDIO=${DEVOSSAUDIO:Q}
+
+SUBST_CLASSES+=                config paths
+SUBST_STAGE.paths=     post-patch
+SUBST_FILES.paths=     mpd.conf
+SUBST_SED.paths=       -e 's,@DEVOSSAUDIO@,${DEVOSSAUDIO},'
+
 LDFLAGS+=              ${LIBOSSAUDIO}
 
 INSTALLATION_DIRS=     ${EGDIR}



Home | Main Index | Thread Index | Old Index