pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/katomic



Module Name:    pkgsrc
Committed By:   markd
Date:           Thu Nov 21 02:56:09 UTC 2019

Modified Files:
        pkgsrc/games/katomic: Makefile PLIST

Log Message:
katomic: fix install of katomic.knsrc


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/games/katomic/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/games/katomic/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/katomic/Makefile
diff -u pkgsrc/games/katomic/Makefile:1.31 pkgsrc/games/katomic/Makefile:1.32
--- pkgsrc/games/katomic/Makefile:1.31  Mon Nov 18 09:31:48 2019
+++ pkgsrc/games/katomic/Makefile       Thu Nov 21 02:56:09 2019
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2019/11/18 09:31:48 markd Exp $
+# $NetBSD: Makefile,v 1.32 2019/11/21 02:56:09 markd Exp $
 
 DISTNAME=      katomic-${KAPPSVER}
+PKGREVISION=   1
 CATEGORIES=    games
 
 HOMEPAGE=      https://kde.org/applications/games/katomic/
@@ -15,6 +16,16 @@ USE_TOOLS+=  msgmerge
 
 REPLACE_PERL+= katomic-levelset-upd.pl
 
+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/katomic.knsrc \
+               ${PKG_SYSCONFDIR}/xdg/katomic.knsrc
+
 .include "../../games/libkdegames/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"

Index: pkgsrc/games/katomic/PLIST
diff -u pkgsrc/games/katomic/PLIST:1.2 pkgsrc/games/katomic/PLIST:1.3
--- pkgsrc/games/katomic/PLIST:1.2      Mon Nov 18 09:31:48 2019
+++ pkgsrc/games/katomic/PLIST  Thu Nov 21 02:56:09 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/11/18 09:31:48 markd Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/11/21 02:56:09 markd Exp $
 bin/katomic
 share/applications/org.kde.katomic.desktop
 share/doc/HTML/ca/katomic/index.cache.bz2
@@ -29,6 +29,7 @@ share/doc/HTML/sv/katomic/index.docbook
 share/doc/HTML/uk/katomic/index.cache.bz2
 share/doc/HTML/uk/katomic/index.docbook
 share/doc/HTML/uk/katomic/mainscreen.png
+share/examples/kde-xdg/katomic.knsrc
 share/icons/hicolor/128x128/apps/katomic.png
 share/icons/hicolor/16x16/apps/katomic.png
 share/icons/hicolor/22x22/apps/katomic.png



Home | Main Index | Thread Index | Old Index