summaryrefslogtreecommitdiff
path: root/x11/dunst
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2016-06-13 22:40:26 +0000
committerkamil <kamil@pkgsrc.org>2016-06-13 22:40:26 +0000
commit6f0cd6174636ecfcf527dab48f00148d824a66aa (patch)
tree667a70b88e844ce20144765e54c22c194d33973f /x11/dunst
parent87d8de5ef9d5be267b4f815f084bd9e66bc520ae (diff)
downloadpkgsrc-6f0cd6174636ecfcf527dab48f00148d824a66aa.tar.gz
Use pkgsrc-specific prefix in the example configuration
Little effect for a user - no PKGREVISION bumped. Patch by Mateusz Poszwa
Diffstat (limited to 'x11/dunst')
-rw-r--r--x11/dunst/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/dunst/Makefile b/x11/dunst/Makefile
index 996d090aa3e..91235ef1d9d 100644
--- a/x11/dunst/Makefile
+++ b/x11/dunst/Makefile
@@ -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"