pkgsrc/devel/kbookmarks/Makefile

27 lines
844 B
Makefile

# $NetBSD: Makefile,v 1.23 2018/07/20 03:33:48 ryoon Exp $
DISTNAME= kbookmarks-${KF5VER}
PKGREVISION= 2
CATEGORIES= devel
HOMEPAGE= https://community.kde.org/Frameworks
COMMENT= Support for bookmarks and the XBEL format
LICENSE= gnu-lgpl-v2.1
.include "../../meta-pkgs/kde/kf5.mk"
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/kbookmarks.categories \
${PKG_SYSCONFDIR}/xdg/kbookmarks.categories
.include "../../x11/kxmlgui/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
BUILDLINK_DEPMETHOD.qt5-qttools= build
.include "../../x11/qt5-qttools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"