pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c2d3ce61eae
branches:  trunk
changeset: 344483:1c2d3ce61eae
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Nov 21 03:28:36 2019 +0000

description:
ksirk: fix install of ksirk.knsrc

diffstat:

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

diffs (46 lines):

diff -r 472ad16203eb -r 1c2d3ce61eae games/ksirk/Makefile
--- a/games/ksirk/Makefile      Thu Nov 21 03:21:12 2019 +0000
+++ b/games/ksirk/Makefile      Thu Nov 21 03:28:36 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2019/11/18 10:26:31 markd Exp $
+# $NetBSD: Makefile,v 1.32 2019/11/21 03:28:36 markd Exp $
 
 DISTNAME=      ksirk-${KAPPSVER}
+PKGREVISION=   1
 CATEGORIES=    games
 
 HOMEPAGE=      https://kde.org/applications/games/ksirk/
@@ -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=       ksirk/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/ksirk.knsrc \
+               ${PKG_SYSCONFDIR}/xdg/ksirk.knsrc
+
 .include "../../games/libkdegames/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../multimedia/phonon-qt5/buildlink3.mk"
diff -r 472ad16203eb -r 1c2d3ce61eae games/ksirk/PLIST
--- a/games/ksirk/PLIST Thu Nov 21 03:21:12 2019 +0000
+++ b/games/ksirk/PLIST Thu Nov 21 03:28:36 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/11/18 10:26:31 markd Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/11/21 03:28:36 markd Exp $
 bin/ksirk
 bin/ksirkskineditor
 lib/libiris_ksirk.so
@@ -116,6 +116,7 @@
 share/doc/HTML/uk/ksirk/shownumberofarmies.png
 share/doc/HTML/uk/ksirkskineditor/index.cache.bz2
 share/doc/HTML/uk/ksirkskineditor/index.docbook
+share/examples/kde-xdg/ksirk.knsrc
 share/icons/hicolor/128x128/apps/ksirk.png
 share/icons/hicolor/16x16/apps/ksirk.png
 share/icons/hicolor/22x22/apps/ksirk.png



Home | Main Index | Thread Index | Old Index