35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2018/12/09 18:52:01 adam Exp $
|
|
|
|
DISTNAME= kpackage-${KF5VER}
|
|
PKGREVISION= 4
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= https://community.kde.org/Frameworks
|
|
COMMENT= Installation and loading of additional content as packages
|
|
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
|
|
|
|
.include "../../meta-pkgs/kde/kf5.mk"
|
|
|
|
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= 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/kpackage.categories \
|
|
${PKG_SYSCONFDIR}/xdg/kpackage.categories
|
|
|
|
.include "../../lang/python/tool.mk"
|
|
.include "../../archivers/karchive/buildlink3.mk"
|
|
.include "../../devel/kconfig/buildlink3.mk"
|
|
.include "../../devel/kcoreaddons/buildlink3.mk"
|
|
.include "../../devel/ki18n/buildlink3.mk"
|
|
.include "../../x11/qt5-qtbase/buildlink3.mk"
|
|
BUILDLINK_DEPMETHOD.qt5-qttools= build
|
|
.include "../../x11/qt5-qttools/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|