diff options
author | markd <markd@pkgsrc.org> | 2019-11-21 03:05:49 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2019-11-21 03:05:49 +0000 |
commit | 2b9a647b78a1b6e0689a8269bb69a34643e0c247 (patch) | |
tree | 712df7b55a98e0d2b8c669586d731de30a8c666d /games | |
parent | babc0c22bdbcf4a24964370f71e147a7e349b79b (diff) | |
download | pkgsrc-2b9a647b78a1b6e0689a8269bb69a34643e0c247.tar.gz |
kdiamond: fix install of kdiamond.knsrc
Diffstat (limited to 'games')
-rw-r--r-- | games/kdiamond/Makefile | 13 | ||||
-rw-r--r-- | games/kdiamond/PLIST | 3 |
2 files changed, 14 insertions, 2 deletions
diff --git a/games/kdiamond/Makefile b/games/kdiamond/Makefile index 7776d52069e..486e6baddeb 100644 --- a/games/kdiamond/Makefile +++ b/games/kdiamond/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.31 2019/11/18 09:41:53 markd Exp $ +# $NetBSD: Makefile,v 1.32 2019/11/21 03:05:49 markd Exp $ DISTNAME= kdiamond-${KAPPSVER} +PKGREVISION= 1 CATEGORIES= games HOMEPAGE= https://kde.org/applications/games/kdiamond/ @@ -13,6 +14,16 @@ BUILD_DEPENDS+= kdoctools>=${KF5VER}:../../devel/kdoctools USE_TOOLS+= msgmerge +SUBST_CLASSES+= xdg +SUBST_STAGE.xdg= pre-configure +SUBST_MESSAGE.xdg= Install via examples dir. +SUBST_FILES.xdg= src/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/kdiamond.knsrc \ + ${PKG_SYSCONFDIR}/xdg/kdiamond.knsrc + .include "../../devel/knotifyconfig/buildlink3.mk" .include "../../games/libkdegames/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" diff --git a/games/kdiamond/PLIST b/games/kdiamond/PLIST index 47e74f81a06..7a3c49d4267 100644 --- a/games/kdiamond/PLIST +++ b/games/kdiamond/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2019/11/18 09:41:53 markd Exp $ +@comment $NetBSD: PLIST,v 1.3 2019/11/21 03:05:49 markd Exp $ bin/kdiamond share/applications/org.kde.kdiamond.desktop share/doc/HTML/de/kdiamond/index.cache.bz2 @@ -29,6 +29,7 @@ share/doc/HTML/sv/kdiamond/index.docbook share/doc/HTML/uk/kdiamond/gameboard.png share/doc/HTML/uk/kdiamond/index.cache.bz2 share/doc/HTML/uk/kdiamond/index.docbook +share/examples/kde-xdg/kdiamond.knsrc share/icons/hicolor/128x128/apps/kdiamond.png share/icons/hicolor/16x16/apps/kdiamond.png share/icons/hicolor/22x22/apps/kdiamond.png |