summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2019-11-21 03:17:26 +0000
committermarkd <markd@pkgsrc.org>2019-11-21 03:17:26 +0000
commit74c6e9355d847023b929272962f4d491dd0c3e0c (patch)
tree6915fb3fff08a7a7b44eb9d5a248e545fb61d2e0 /games
parent2b9a647b78a1b6e0689a8269bb69a34643e0c247 (diff)
downloadpkgsrc-74c6e9355d847023b929272962f4d491dd0c3e0c.tar.gz
kgoldrunner: fix install of kgoldrunner.knsrc
Diffstat (limited to 'games')
-rw-r--r--games/kgoldrunner/Makefile13
-rw-r--r--games/kgoldrunner/PLIST3
2 files changed, 14 insertions, 2 deletions
diff --git a/games/kgoldrunner/Makefile b/games/kgoldrunner/Makefile
index b96bd401b0d..60cf2c35c11 100644
--- a/games/kgoldrunner/Makefile
+++ b/games/kgoldrunner/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2019/11/18 09:45:20 markd Exp $
+# $NetBSD: Makefile,v 1.32 2019/11/21 03:17:26 markd Exp $
DISTNAME= kgoldrunner-${KAPPSVER}
+PKGREVISION= 1
CATEGORIES= games
HOMEPAGE= https://kde.org/applications/games/kgoldrunner/
@@ -13,6 +14,16 @@ BUILD_DEPENDS+= kdoctools>=${KF5VER}:../../devel/kdoctools
USE_TOOLS+= msgmerge
+SUBST_CLASSES+= xdg
+SUBST_STAGE.xdg= pre-configure
+SUBST_MESSAGE.xdg= Install via examples dir.
+SUBST_FILES.xdg= themes/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/kgoldrunner.knsrc \
+ ${PKG_SYSCONFDIR}/xdg/kgoldrunner.knsrc
+
.include "../../games/libkdegames/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff --git a/games/kgoldrunner/PLIST b/games/kgoldrunner/PLIST
index e7e46ba342c..ca355146959 100644
--- a/games/kgoldrunner/PLIST
+++ b/games/kgoldrunner/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/11/18 09:45:20 markd Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/11/21 03:17:26 markd Exp $
bin/kgoldrunner
share/applications/org.kde.kgoldrunner.desktop
share/doc/HTML/de/kgoldrunner/editbar.png
@@ -39,6 +39,7 @@ share/doc/HTML/uk/kgoldrunner/index.cache.bz2
share/doc/HTML/uk/kgoldrunner/index.docbook
share/doc/HTML/uk/kgoldrunner/select.png
share/doc/HTML/uk/kgoldrunner/tute008.png
+share/examples/kde-xdg/kgoldrunner.knsrc
share/icons/hicolor/128x128/apps/kgoldrunner.png
share/icons/hicolor/16x16/apps/kgoldrunner.png
share/icons/hicolor/22x22/apps/kgoldrunner.png