aboutsummaryrefslogtreecommitdiffstats
path: root/www/rekonq/Makefile
blob: 47a03938dd86a615743e61dde0e34247f0b7334c (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=   1
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>