pkgsrc/devel/kidletime/Makefile
2018-12-09 18:51:58 +00:00

28 lines
833 B
Makefile

# $NetBSD: Makefile,v 1.16 2018/12/09 18:52:00 adam Exp $
DISTNAME= kidletime-${KF5VER}
PKGREVISION= 3
CATEGORIES= devel
HOMEPAGE= https://community.kde.org/Frameworks
COMMENT= Monitoring user activity
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
.include "../../meta-pkgs/kde/kf5.mk"
USE_TOOLS+= pkg-config
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/kidletime.categories \
${PKG_SYSCONFDIR}/xdg/kidletime.categories
.include "../../x11/libXScrnSaver/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtx11extras/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"