# $NetBSD: Makefile,v 1.51 2020/08/18 17:58:07 leot Exp $
DISTNAME= klettres-${KAPPSVER}
PKGREVISION= 2
CATEGORIES= misc
HOMEPAGE= https://kde.org/applications/education/klettres/
COMMENT= KDE app to teach the alphabet and read some syllables in languages
LICENSE= gnu-lgpl-v2 AND gnu-gpl-v2 AND gnu-fdl-v1.2
.include "../../meta-pkgs/kde/applications.mk"
BUILD_DEPENDS+= kdoctools>=5.19.0:../../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/klettres.knsrc \
${PKG_SYSCONFDIR}/xdg/klettres.knsrc
.include "../../net/knewstuff/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>