pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/musicpd



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Aug 20 10:17:09 UTC 2016

Modified Files:
        pkgsrc/audio/musicpd: Makefile

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

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 pkgsrc/audio/musicpd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/musicpd/Makefile
diff -u pkgsrc/audio/musicpd/Makefile:1.126 pkgsrc/audio/musicpd/Makefile:1.127
--- pkgsrc/audio/musicpd/Makefile:1.126 Fri Aug 19 13:52:39 2016
+++ pkgsrc/audio/musicpd/Makefile       Sat Aug 20 10:17:09 2016
@@ -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 @@ CONF_FILES=          ${EGDIR}/mpd.conf ${PKG_SYS
 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