pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/dunst Use pkgsrc-specific prefix in the example co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07e24c744ef5
branches:  trunk
changeset: 348432:07e24c744ef5
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Mon Jun 13 22:40:26 2016 +0000

description:
Use pkgsrc-specific prefix in the example configuration

Little effect for a user - no PKGREVISION bumped.

Patch by Mateusz Poszwa

diffstat:

 x11/dunst/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 9d8905272f79 -r 07e24c744ef5 x11/dunst/Makefile
--- a/x11/dunst/Makefile        Mon Jun 13 22:32:41 2016 +0000
+++ b/x11/dunst/Makefile        Mon Jun 13 22:40:26 2016 +0000
@@ -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 @@
 
 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