summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2019-11-21 03:35:45 +0000
committermarkd <markd@pkgsrc.org>2019-11-21 03:35:45 +0000
commitc2ed3f60e0ed93fec9695117f5114536ad4f853d (patch)
tree67c755b6d65452ab300024f3958c4df1e5cb3292 /games
parent6c77a4acd9a2da7c94adb98b561a19d6484be99a (diff)
downloadpkgsrc-c2ed3f60e0ed93fec9695117f5114536ad4f853d.tar.gz
ksudoku: fix install of ksudokurc
Diffstat (limited to 'games')
-rw-r--r--games/ksudoku/Makefile13
-rw-r--r--games/ksudoku/PLIST3
2 files changed, 14 insertions, 2 deletions
diff --git a/games/ksudoku/Makefile b/games/ksudoku/Makefile
index 398565989db..f280fcf41e3 100644
--- a/games/ksudoku/Makefile
+++ b/games/ksudoku/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2019/11/18 10:40:18 markd Exp $
+# $NetBSD: Makefile,v 1.32 2019/11/21 03:35:45 markd Exp $
DISTNAME= ksudoku-${KAPPSVER}
+PKGREVISION= 1
CATEGORIES= games
HOMEPAGE= https://kde.org/applications/games/ksudoku/
@@ -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= src/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/ksudokurc \
+ ${PKG_SYSCONFDIR}/xdg/ksudokurc
+
.include "../../games/libkdegames/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff --git a/games/ksudoku/PLIST b/games/ksudoku/PLIST
index b42f16cc9c7..ff64becb1cb 100644
--- a/games/ksudoku/PLIST
+++ b/games/ksudoku/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/11/18 10:40:18 markd Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/11/21 03:35:45 markd Exp $
bin/ksudoku
share/applications/org.kde.ksudoku.desktop
share/doc/HTML/de/ksudoku/index.cache.bz2
@@ -27,6 +27,7 @@ share/doc/HTML/sv/ksudoku/index.cache.bz2
share/doc/HTML/sv/ksudoku/index.docbook
share/doc/HTML/uk/ksudoku/index.cache.bz2
share/doc/HTML/uk/ksudoku/index.docbook
+share/examples/kde-xdg/ksudokurc
share/icons/hicolor/128x128/apps/ksudoku.png
share/icons/hicolor/16x16/apps/ksudoku.png
share/icons/hicolor/32x32/apps/ksudoku.png