pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/kigo kigo: fix install of kigo*.knsrc



details:   https://anonhg.NetBSD.org/pkgsrc/rev/472ad16203eb
branches:  trunk
changeset: 344482:472ad16203eb
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Nov 21 03:21:12 2019 +0000

description:
kigo: fix install of kigo*.knsrc

diffstat:

 games/kigo/Makefile |  15 ++++++++++++++-
 games/kigo/PLIST    |   4 +++-
 2 files changed, 17 insertions(+), 2 deletions(-)

diffs (49 lines):

diff -r f854df37d81b -r 472ad16203eb games/kigo/Makefile
--- a/games/kigo/Makefile       Thu Nov 21 03:17:26 2019 +0000
+++ b/games/kigo/Makefile       Thu Nov 21 03:21:12 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2019/11/18 09:59:54 markd Exp $
+# $NetBSD: Makefile,v 1.32 2019/11/21 03:21:12 markd Exp $
 
 DISTNAME=      kigo-${KAPPSVER}
+PKGREVISION=   1
 CATEGORIES=    games
 
 HOMEPAGE=      https://kde.org/applications/games/kigo/
@@ -13,6 +14,18 @@
 
 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/kigo.knsrc \
+               ${PKG_SYSCONFDIR}/xdg/kigo.knsrc
+CONF_FILES+=   ${PREFIX}/share/examples/kde-xdg/kigo-games.knsrc \
+               ${PKG_SYSCONFDIR}/xdg/kigo-games.knsrc
+
 .include "../../games/libkdegames/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff -r f854df37d81b -r 472ad16203eb games/kigo/PLIST
--- a/games/kigo/PLIST  Thu Nov 21 03:17:26 2019 +0000
+++ b/games/kigo/PLIST  Thu Nov 21 03:21:12 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/11/18 09:59:54 markd Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/11/21 03:21:12 markd Exp $
 bin/kigo
 share/applications/org.kde.kigo.desktop
 share/config.kcfg/kigo.kcfg
@@ -61,6 +61,8 @@
 share/doc/HTML/uk/kigo/setup-theme.png
 share/doc/HTML/uk/kigo/start-loaded-game.png
 share/doc/HTML/uk/kigo/start-new-game.png
+share/examples/kde-xdg/kigo.knsrc
+share/examples/kde-xdg/kigo-games.knsrc
 share/icons/hicolor/128x128/apps/kigo.png
 share/icons/hicolor/16x16/apps/kigo.png
 share/icons/hicolor/22x22/apps/kigo.png



Home | Main Index | Thread Index | Old Index