pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/mate-settings-daemon Use INSTALL file for the post...
details: https://anonhg.NetBSD.org/pkgsrc/rev/76b44de59e6d
branches: trunk
changeset: 328565:76b44de59e6d
user: youri <youri%pkgsrc.org@localhost>
date: Wed Jan 23 15:17:27 2019 +0000
description:
Use INSTALL file for the post-install commands,
so that it works with pkg_add. Noted by wiz@.
diffstat:
x11/mate-settings-daemon/INSTALL | 10 ++++++++++
x11/mate-settings-daemon/Makefile | 6 +-----
2 files changed, 11 insertions(+), 5 deletions(-)
diffs (34 lines):
diff -r 24447023bc6c -r 76b44de59e6d x11/mate-settings-daemon/INSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/mate-settings-daemon/INSTALL Wed Jan 23 15:17:27 2019 +0000
@@ -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 -r 24447023bc6c -r 76b44de59e6d x11/mate-settings-daemon/Makefile
--- a/x11/mate-settings-daemon/Makefile Wed Jan 23 15:04:26 2019 +0000
+++ b/x11/mate-settings-daemon/Makefile Wed Jan 23 15:17:27 2019 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index