summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2019-11-21 02:49:20 +0000
committermarkd <markd@pkgsrc.org>2019-11-21 02:49:20 +0000
commit3466742942a1b7e7a54e514dc922fcbe56d94791 (patch)
treede1285e7146cb512c242ba2a694691fd61395464 /misc
parent087eddb309f70b3d8aa3db70d5888973f95cdd02 (diff)
downloadpkgsrc-3466742942a1b7e7a54e514dc922fcbe56d94791.tar.gz
step: fix install of xdg file
Diffstat (limited to 'misc')
-rw-r--r--misc/step/Makefile12
-rw-r--r--misc/step/PLIST3
2 files changed, 13 insertions, 2 deletions
diff --git a/misc/step/Makefile b/misc/step/Makefile
index 7bf32c54704..53fe3464b40 100644
--- a/misc/step/Makefile
+++ b/misc/step/Makefile
@@ -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 @@ BUILD_DEPENDS+= kdoctools>=${KF5VER}:../../devel/kdoctools
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 --git a/misc/step/PLIST b/misc/step/PLIST
index b85fb25438f..a088f932190 100644
--- a/misc/step/PLIST
+++ b/misc/step/PLIST
@@ -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.cache.bz2
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