pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/i3status



Module Name:    pkgsrc
Committed By:   kamil
Date:           Tue Jun 14 17:57:39 UTC 2016

Modified Files:
        pkgsrc/sysutils/i3status: Makefile

Log Message:
Set proper VARBASE in the example configuration

Little change - no PKGREVISION bump.

Patch by Mateusz Poszwa.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/i3status/Makefile

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

Modified files:

Index: pkgsrc/sysutils/i3status/Makefile
diff -u pkgsrc/sysutils/i3status/Makefile:1.1 pkgsrc/sysutils/i3status/Makefile:1.2
--- pkgsrc/sysutils/i3status/Makefile:1.1       Tue Jun 14 06:39:37 2016
+++ pkgsrc/sysutils/i3status/Makefile   Tue Jun 14 17:57:39 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2016/06/14 06:39:37 kamil Exp $
+# $NetBSD: Makefile,v 1.2 2016/06/14 17:57:39 kamil Exp $
 #
 
 DISTNAME=      i3status-2.10
@@ -15,10 +15,18 @@ USE_TOOLS+= gmake
 
 CONF_FILES=    ${PREFIX}/share/examples/${PKGBASE}/i3status.conf ${PKG_SYSCONFDIR}/i3status.conf
 
+BUILD_DEFS+=   VARBASE
+
 MAKE_ENV+=     MANDIR=${PKGMANDIR}
 MAKE_ENV+=     SYSCONFDIR=${PKG_SYSCONFDIR}
 MAKE_ENV+=     DEBUG=0
 
+SUBST_CLASSES+=                        fix-paths
+SUBST_STAGE.fix-paths=         pre-configure
+SUBST_MESSAGE.fix-paths=       Fixing absolute paths.
+SUBST_FILES.fix-paths=         i3status.conf
+SUBST_SED.fix-paths+=          -e 's,/var,${VARBASE},g'
+
 .include "../../devel/confuse/buildlink3.mk"
 .include "../../devel/yajl/buildlink3.mk"
 .include "../../audio/pulseaudio/buildlink3.mk"



Home | Main Index | Thread Index | Old Index