summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorkamil <kamil>2016-06-13 22:40:26 +0000
committerkamil <kamil>2016-06-13 22:40:26 +0000
commitc4efb9c81479171063d9eba4b3ed8f2750c03439 (patch)
treee93cd69c5e4f2a50c80ce3d0a2bceadd4d24334a /x11
parentb4b9c281b32f02a013ec4fa8f3a4568aa9aee90e (diff)
downloadpkgsrc-c4efb9c81479171063d9eba4b3ed8f2750c03439.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')
-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"