pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/dunst



Module Name:    pkgsrc
Committed By:   kamil
Date:           Mon Jun 13 22:40:26 UTC 2016

Modified Files:
        pkgsrc/x11/dunst: Makefile

Log Message:
Use pkgsrc-specific prefix in the example configuration

Little effect for a user - no PKGREVISION bumped.

Patch by Mateusz Poszwa


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

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

Modified files:

Index: pkgsrc/x11/dunst/Makefile
diff -u pkgsrc/x11/dunst/Makefile:1.1 pkgsrc/x11/dunst/Makefile:1.2
--- pkgsrc/x11/dunst/Makefile:1.1       Sat Jun 11 22:07:01 2016
+++ pkgsrc/x11/dunst/Makefile   Mon Jun 13 22:40:26 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2016/06/11 22:07:01 kamil Exp $
+# $NetBSD: Makefile,v 1.2 2016/06/13 22:40:26 kamil Exp $
 
 DISTNAME=      dunst-1.1.0
 CATEGORIES=    x11
@@ -14,6 +14,13 @@ USE_TOOLS+=  gmake
 
 MAKE_FLAGS+=   MANPREFIX=${PREFIX}/${PKGMANDIR}
 
+SUBST_CLASSES+=                        fix-paths
+SUBST_STAGE.fix-paths=         pre-configure
+SUBST_MESSAGE.fix-paths=       Fixing absolute paths.
+SUBST_FILES.fix-paths=         dunstrc
+SUBST_SED.fix-paths+=          -e 's,/usr/bin,${PREFIX}/bin,g'
+SUBST_SED.fix-paths+=          -e 's,/usr/share,${PREFIX}/share,g'
+
 .include "../../devel/pango/buildlink3.mk"
 .include "../../sysutils/dbus/buildlink3.mk"
 .include "../../x11/libxdg-basedir/buildlink3.mk"



Home | Main Index | Thread Index | Old Index