pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/kgoldrunner kgoldrunner: fix install of kgoldrun...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f854df37d81b
branches:  trunk
changeset: 344481:f854df37d81b
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Nov 21 03:17:26 2019 +0000

description:
kgoldrunner: fix install of kgoldrunner.knsrc

diffstat:

 games/kgoldrunner/Makefile |  13 ++++++++++++-
 games/kgoldrunner/PLIST    |   3 ++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r fa3158d6b644 -r f854df37d81b games/kgoldrunner/Makefile
--- a/games/kgoldrunner/Makefile        Thu Nov 21 03:05:49 2019 +0000
+++ b/games/kgoldrunner/Makefile        Thu Nov 21 03:17:26 2019 +0000
@@ -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 @@
 
 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 -r fa3158d6b644 -r f854df37d81b games/kgoldrunner/PLIST
--- a/games/kgoldrunner/PLIST   Thu Nov 21 03:05:49 2019 +0000
+++ b/games/kgoldrunner/PLIST   Thu Nov 21 03:17:26 2019 +0000
@@ -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.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



Home | Main Index | Thread Index | Old Index