pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/ksnakeduel ksnakeduel: fix install of ksnakeduel...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d8fd8fe5d173
branches:  trunk
changeset: 418134:d8fd8fe5d173
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Nov 21 03:31:51 2019 +0000

description:
ksnakeduel: fix install of ksnakeduel.knsrc

diffstat:

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

diffs (46 lines):

diff -r 71798b537f2b -r d8fd8fe5d173 games/ksnakeduel/Makefile
--- a/games/ksnakeduel/Makefile Thu Nov 21 03:28:36 2019 +0000
+++ b/games/ksnakeduel/Makefile Thu Nov 21 03:31:51 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2019/11/18 10:31:19 markd Exp $
+# $NetBSD: Makefile,v 1.32 2019/11/21 03:31:51 markd Exp $
 
 DISTNAME=      ksnakeduel-${KAPPSVER}
+PKGREVISION=   1
 CATEGORIES=    games
 
 HOMEPAGE=      https://kde.org/applications/games/ksnakeduel/
@@ -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=       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/ksnakeduel.knsrc \
+               ${PKG_SYSCONFDIR}/xdg/ksnakeduel.knsrc
+
 .include "../../games/libkdegames/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff -r 71798b537f2b -r d8fd8fe5d173 games/ksnakeduel/PLIST
--- a/games/ksnakeduel/PLIST    Thu Nov 21 03:28:36 2019 +0000
+++ b/games/ksnakeduel/PLIST    Thu Nov 21 03:31:51 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/11/18 10:31:19 markd Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/11/21 03:31:51 markd Exp $
 bin/ksnakeduel
 share/applications/org.kde.ksnakeduel.desktop
 share/config.kcfg/ksnakeduel.kcfg
@@ -32,6 +32,7 @@
 share/doc/HTML/uk/ksnakeduel/index.docbook
 share/doc/HTML/uk/ksnakeduel/settings-general.png
 share/doc/HTML/uk/ksnakeduel/settings-theme.png
+share/examples/kde-xdg/ksnakeduel.knsrc
 share/icons/hicolor/128x128/apps/ksnakeduel.png
 share/icons/hicolor/16x16/apps/ksnakeduel.png
 share/icons/hicolor/22x22/apps/ksnakeduel.png



Home | Main Index | Thread Index | Old Index