kdiamond: fix install of kdiamond.knsrc

This commit is contained in:
markd 2019-11-21 03:05:49 +00:00
parent 17e0580cd5
commit c24f21097a
2 changed files with 14 additions and 2 deletions

View file

@ -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"

View file

@ -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