summaryrefslogtreecommitdiff
path: root/x11/mate-settings-daemon
diff options
context:
space:
mode:
authoryouri <youri@pkgsrc.org>2019-01-23 15:17:27 +0000
committeryouri <youri@pkgsrc.org>2019-01-23 15:17:27 +0000
commit38ad5c1c694bbe1fc81ffe1e96df0e085c9bcd9c (patch)
tree0976b4f030cf162c99ed54dc5c920ebcb358c223 /x11/mate-settings-daemon
parentf27e2d28ba5c261427140a270ce9f99b2eb615ea (diff)
downloadpkgsrc-38ad5c1c694bbe1fc81ffe1e96df0e085c9bcd9c.tar.gz
Use INSTALL file for the post-install commands,
so that it works with pkg_add. Noted by wiz@.
Diffstat (limited to 'x11/mate-settings-daemon')
-rw-r--r--x11/mate-settings-daemon/INSTALL10
-rw-r--r--x11/mate-settings-daemon/Makefile6
2 files changed, 11 insertions, 5 deletions
diff --git a/x11/mate-settings-daemon/INSTALL b/x11/mate-settings-daemon/INSTALL
new file mode 100644
index 00000000000..be32bfbc296
--- /dev/null
+++ b/x11/mate-settings-daemon/INSTALL
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+
+case ${STAGE} in
+POST-INSTALL)
+ ${MKDIR} ${PKG_SYSCONFDIR}/xrdb
+ touch ${PKG_SYSCONFDIR}/xrdb/General.ad
+ ;;
+esac
+exit 0
diff --git a/x11/mate-settings-daemon/Makefile b/x11/mate-settings-daemon/Makefile
index fda42eeeba3..ab05f3dbd0a 100644
--- a/x11/mate-settings-daemon/Makefile
+++ b/x11/mate-settings-daemon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2019/01/22 18:05:29 youri Exp $
+# $NetBSD: Makefile,v 1.21 2019/01/23 15:17:27 youri Exp $
.include "../../meta-pkgs/mate/Makefile.common"
@@ -25,10 +25,6 @@ OWN_DIRS+= ${PKG_SYSCONFDIR}/mate-settings-daemon/xrandr
CONF_FILES+= ${PREFIX}/share/examples/mate-settings-daemon/xdg/autostart/mate-settings-daemon.desktop \
${PKG_SYSCONFDIR}/xdg/autostart/mate-settings-daemon.desktop
-post-install:
- ${MKDIR} ${PKG_SYSCONFDIR}/xrdb
- touch ${PKG_SYSCONFDIR}/xrdb/General.ad
-
.include "../../devel/glib2/schemas.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"