aboutsummaryrefslogtreecommitdiff
path: root/x11/kactivities/Makefile
blob: 998f76718cb088d86c9ba1a44aba22c46bcb4de8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $FreeBSD$

PORTNAME=	kactivities
PORTVERSION=	${KDE4_ACTIVITIES_VERSION}
PORTREVISION=	1
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 tar:xz
USE_KDE=	automoc4 kdelibs soprano nepomuk-core
USE_QT4=	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>