28 lines
898 B
Makefile
28 lines
898 B
Makefile
# $NetBSD: Makefile,v 1.20 2018/03/12 11:15:46 wiz Exp $
|
|
|
|
DISTNAME= sonnet-${KF5VER}
|
|
PKGREVISION= 4
|
|
CATEGORIES= textproc
|
|
|
|
HOMEPAGE= https://community.kde.org/Frameworks
|
|
COMMENT= Spelling framework for Qt5
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
.include "../../meta-pkgs/kf5/Makefile.common"
|
|
|
|
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_DATAROOTDIR}/examples/kde-xdg:'
|
|
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg
|
|
CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/sonnet.categories \
|
|
${PKG_SYSCONFDIR}/xdg/sonnet.categories
|
|
|
|
.include "../../textproc/aspell/buildlink3.mk"
|
|
.include "../../textproc/hunspell/buildlink3.mk"
|
|
.include "../../x11/qt5-qtbase/buildlink3.mk"
|
|
BUILDLINK_DEPMETHOD.qt5-qttools= build
|
|
.include "../../x11/qt5-qttools/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|