pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/palapeli palapeli: fix install of palapeli-colle...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8908fac1580d
branches:  trunk
changeset: 418136:8908fac1580d
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Nov 21 03:41:39 2019 +0000

description:
palapeli: fix install of palapeli-collectionrc

diffstat:

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

diffs (46 lines):

diff -r b88019cd3352 -r 8908fac1580d games/palapeli/Makefile
--- a/games/palapeli/Makefile   Thu Nov 21 03:35:45 2019 +0000
+++ b/games/palapeli/Makefile   Thu Nov 21 03:41:39 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2019/11/18 10:48:29 markd Exp $
+# $NetBSD: Makefile,v 1.33 2019/11/21 03:41:39 markd Exp $
 
 DISTNAME=      palapeli-${KAPPSVER}
+PKGREVISION=   1
 CATEGORIES=    games
 
 HOMEPAGE=      https://kde.org/applications/games/palapeli/
@@ -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=       puzzles/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/palapeli-collectionrc \
+               ${PKG_SYSCONFDIR}/xdg/palapeli-collectionrc
+
 .include "../../games/libkdegames/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff -r b88019cd3352 -r 8908fac1580d games/palapeli/PLIST
--- a/games/palapeli/PLIST      Thu Nov 21 03:35:45 2019 +0000
+++ b/games/palapeli/PLIST      Thu Nov 21 03:41:39 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/11/18 10:48:29 markd Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/11/21 03:41:39 markd Exp $
 bin/palapeli
 include/Pala/Slicer
 include/Pala/SlicerJob
@@ -48,6 +48,7 @@
 share/doc/HTML/sv/palapeli/index.docbook
 share/doc/HTML/uk/palapeli/index.cache.bz2
 share/doc/HTML/uk/palapeli/index.docbook
+share/examples/kde-xdg/palapeli-collectionrc
 share/icons/hicolor/128x128/apps/palapeli.png
 share/icons/hicolor/128x128/mimetypes/application-x-palapeli.png
 share/icons/hicolor/16x16/apps/palapeli.png



Home | Main Index | Thread Index | Old Index