freebsd-ports/x11/kactivities/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

27 lines
778 B
Makefile

# $FreeBSD$
PORTNAME= kactivities
PORTVERSION= ${KDE4_ACTIVITIES_VERSION}
PORTREVISION= 6
CATEGORIES= x11 kde
MASTER_SITES= KDE/Attic/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Kactivities library
USES= cmake:outsource compiler:c++11-lib kde:4 qt:4 tar:xz
USE_KDE= automoc4 kdelibs soprano nepomuk-core
USE_QT= declarative moc_build qmake_build rcc_build uic_build
USE_LDCONFIG= yes
post-patch:
${REINPLACE_CMD} -e '/pkgconfig/s,$${LIB_INSTALL_DIR},libdata,' \
${WRKSRC}/src/lib/core/CMakeLists.txt \
${WRKSRC}/src/lib/models/CMakeLists.txt
# Disable kactivitymanagerd
${REINPLACE_CMD} -e "/add_subdirectory (service)/d" \
-e "/add_subdirectory (workspace)/d" \
${WRKSRC}/src/CMakeLists.txt \
.include <bsd.port.mk>