pkgsrc-wip/kwayland/Makefile

30 lines
894 B
Makefile

# $NetBSD: Makefile,v 1.25 2016/01/10 20:01:05 markd Exp $
DISTNAME= kwayland-${KF5VER}
CATEGORIES= x11
HOMEPAGE= https://community.kde.org/Frameworks
COMMENT= Qt-style Client and Server library wrapper for the Wayland libraries
LICENSE= gnu-lgpl-v2.1
.include "../../meta-pkgs/kde/kf5.mk"
USE_TOOLS+= pkg-config
# Don't do autotests. Some builds are linux specific.
CMAKE_ARGS+= -DBUILD_TESTING=no
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/org_kde_kwayland.categories \
${PKG_SYSCONFDIR}/xdg/org_kde_kwayland.categories
.include "../../wip/wayland/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"