pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/step step: fix install of xdg file



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c46995482ea
branches:  trunk
changeset: 405001:5c46995482ea
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Nov 21 02:49:20 2019 +0000

description:
step: fix install of xdg file

diffstat:

 misc/step/Makefile |  12 +++++++++++-
 misc/step/PLIST    |   3 ++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r b71c9a7bcada -r 5c46995482ea misc/step/Makefile
--- a/misc/step/Makefile        Thu Nov 21 02:39:22 2019 +0000
+++ b/misc/step/Makefile        Thu Nov 21 02:49:20 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2019/11/20 22:36:27 markd Exp $
+# $NetBSD: Makefile,v 1.42 2019/11/21 02:49:20 markd Exp $
 
 DISTNAME=      step-${KAPPSVER}
 CATEGORIES=    misc
@@ -13,6 +13,16 @@
 
 USE_TOOLS+=    msgmerge pkg-config
 
+SUBST_CLASSES+=                xdg
+SUBST_STAGE.xdg=       pre-configure
+SUBST_MESSAGE.xdg=     Install via examples dir.
+SUBST_FILES.xdg=       step/CMakeLists.txt
+SUBST_SED.xdg=         -e 's:{KDE_INSTALL_CONFDIR}:{KDE_INSTALL_XDG_EX_DIR}:'
+
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/xdg
+CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/step.knsrc \
+               ${PKG_SYSCONFDIR}/xdg/step.knsrc
+
 .include "../../graphics/kplotting/buildlink3.mk"
 .include "../../math/eigen3/buildlink3.mk"
 .include "../../math/gsl/buildlink3.mk"
diff -r b71c9a7bcada -r 5c46995482ea misc/step/PLIST
--- a/misc/step/PLIST   Thu Nov 21 02:39:22 2019 +0000
+++ b/misc/step/PLIST   Thu Nov 21 02:49:20 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2019/11/20 22:36:27 markd Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/11/21 02:49:20 markd Exp $
 bin/step
 share/applications/org.kde.step.desktop
 share/config.kcfg/step.kcfg
@@ -52,6 +52,7 @@
 share/doc/HTML/uk/step/index.docbook
 share/doc/HTML/uk/step/mainwindow.png
 share/doc/HTML/uk/step/tutorials.docbook
+share/examples/kde-xdg/step.knsrc
 share/icons/hicolor/128x128/apps/step.png
 share/icons/hicolor/16x16/apps/step.png
 share/icons/hicolor/22x22/actions/pointer.png



Home | Main Index | Thread Index | Old Index