summaryrefslogtreecommitdiff
path: root/www/rekonq/Makefile
blob: 43e0a2268a3ceeda7fd8a28e75797f8b5ff4b274 (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
28
29
30
31
32
33
34
35
# $FreeBSD$

PORTNAME=	rekonq
PORTVERSION=	2.4.2
PORTREVISION=	2
CATEGORIES=	www kde
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION:C,\..*,.0,}/

MAINTAINER=	makc@FreeBSD.org
COMMENT=	Lightweight KDE browser based on WebKit

USES=		cmake:outsource tar:xz
USE_KDE4=	kdehier kdelibs kdeprefix automoc4
USE_QT4=	script webkit \
		moc_build qmake_build rcc_build uic_build

OPTIONS_DEFINE=	OPERA NEPOMUK
OPTIONS_DEFAULT=	NEPOMUK

OPERA_DESC=	Support for Opera Sync service
OPERA_LIB_DEPENDS=	libqca.so:${PORTSDIR}/devel/qca \
			libqoauth.so:${PORTSDIR}/net/qoauth
OPERA_CMAKE_OFF=	-DWITH_QCA2=off \
			-DWITH_QtOAuth=off

NEPOMUK_DESC=	Bookmarks tagging via Nepomuk
NEPOMUK_USE=	KDE4=nepomuk-core
NEPOMUK_CMAKE_OFF=	-DWITH_NepomukCore=off

post-patch:
	${REINPLACE_CMD} -e \
		's,FIND_PACKAGE(NepomukCore,MACRO_OPTIONAL_FIND_PACKAGE(NepomukCore,' \
		${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>