aboutsummaryrefslogtreecommitdiffstats
path: root/www/rekonq/Makefile
blob: 27062d679b2a0c546cd8f787e86476f158ed534b (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=   3
CATEGORIES= www kde
MASTER_SITES=   SF/${PORTNAME}/${PORTVERSION:C,\..*,.0,}/

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

USES=       cmake:outsource gettext kde:4 tar:xz
USE_KDE=    kdelibs 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:devel/qca \
            libqoauth.so:net/qoauth
OPERA_CMAKE_OFF=    -DWITH_QCA2=off \
            -DWITH_QtOAuth=off

NEPOMUK_DESC=   Bookmarks tagging via Nepomuk
NEPOMUK_USE=    KDE=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>