freebsd-ports/www/rekonq/Makefile

46 lines
1,003 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= rekonq
PORTVERSION= 2.2.1
PORTREVISION= 1
CATEGORIES= www kde
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION:C,\..*,.0,}/
MAINTAINER= makc@FreeBSD.org
2012-05-27 01:24:21 +02:00
COMMENT= Lightweight KDE browser based on WebKit
USE_BZIP2= yes
USES= cmake:outsource
2012-05-27 01:24:21 +02:00
USE_KDE4= kdehier kdelibs kdeprefix automoc4
USE_QT4= script webkit \
2012-05-27 01:24:21 +02:00
moc_build qmake_build rcc_build uic_build
MAKE_JOBS_SAFE= yes
OPTIONS_DEFINE= OPERA NUPOMUK
OPTIONS_DEFAULT= NUPOMUK
OPERA_DESC= Support for Opera Sync service
NUPOMUK_DESC= Bookmarks tagging via Nepomuk
.include <bsd.port.options.mk>
post-patch:
${REINPLACE_CMD} -e \
's,FIND_PACKAGE(NepomukCore,MACRO_OPTIONAL_FIND_PACKAGE(NepomukCore,' \
${WRKSRC}/CMakeLists.txt
.if ${PORT_OPTIONS:MNUPOMUK}
USE_KDE4+= nepomuk-core
.else
CMAKE_ARGS+= -DWITH_NepomukCore=off
.endif
.if ${PORT_OPTIONS:MOPERA}
LIB_DEPENDS+= qca.2:${PORTSDIR}/devel/qca \
qoauth.1:${PORTSDIR}/net/qoauth
.else
CMAKE_ARGS+= -DWITH_QCA2=off \
-DWITH_QtOAuth=off
.endif
.include <bsd.port.mk>