pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/kblocks kblocks: fix install of kblocks.knsrc
details: https://anonhg.NetBSD.org/pkgsrc/rev/1dbd87e318eb
branches: trunk
changeset: 405003:1dbd87e318eb
user: markd <markd%pkgsrc.org@localhost>
date: Thu Nov 21 03:00:34 2019 +0000
description:
kblocks: fix install of kblocks.knsrc
diffstat:
games/kblocks/Makefile | 13 ++++++++++++-
games/kblocks/PLIST | 3 ++-
2 files changed, 14 insertions(+), 2 deletions(-)
diffs (46 lines):
diff -r 2f58a644edd3 -r 1dbd87e318eb games/kblocks/Makefile
--- a/games/kblocks/Makefile Thu Nov 21 02:56:09 2019 +0000
+++ b/games/kblocks/Makefile Thu Nov 21 03:00:34 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2019/11/18 09:36:25 markd Exp $
+# $NetBSD: Makefile,v 1.32 2019/11/21 03:00:34 markd Exp $
DISTNAME= kblocks-${KAPPSVER}
+PKGREVISION= 1
CATEGORIES= games
HOMEPAGE= https://kde.org/applications/games/kblocks/
@@ -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/kblocks.knsrc \
+ ${PKG_SYSCONFDIR}/xdg/kblocks.knsrc
+
.include "../../games/libkdegames/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff -r 2f58a644edd3 -r 1dbd87e318eb games/kblocks/PLIST
--- a/games/kblocks/PLIST Thu Nov 21 02:56:09 2019 +0000
+++ b/games/kblocks/PLIST Thu Nov 21 03:00:34 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/11/18 09:36:25 markd Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/11/21 03:00:34 markd Exp $
bin/kblocks
share/applications/org.kde.kblocks.desktop
share/config.kcfg/kblocks.kcfg
@@ -30,6 +30,7 @@
share/doc/HTML/uk/kblocks/gameboard.png
share/doc/HTML/uk/kblocks/index.cache.bz2
share/doc/HTML/uk/kblocks/index.docbook
+share/examples/kde-xdg/kblocks.knsrc
share/icons/hicolor/128x128/apps/kblocks.png
share/icons/hicolor/16x16/apps/kblocks.png
share/icons/hicolor/22x22/apps/kblocks.png
Home |
Main Index |
Thread Index |
Old Index