svn commit: r315390 - head/www/rekonq

Max Brazhnikov makc at FreeBSD.org
Wed Mar 27 15:09:39 UTC 2013


Author: makc
Date: Wed Mar 27 15:09:38 2013
New Revision: 315390
URL: http://svnweb.freebsd.org/changeset/ports/315390

Log:
  Enable Nepomuk support now, when we have KDE 4.10

Modified:
  head/www/rekonq/Makefile

Modified: head/www/rekonq/Makefile
==============================================================================
--- head/www/rekonq/Makefile	Wed Mar 27 14:58:56 2013	(r315389)
+++ head/www/rekonq/Makefile	Wed Mar 27 15:09:38 2013	(r315390)
@@ -2,6 +2,7 @@
 
 PORTNAME=	rekonq
 PORTVERSION=	2.2.1
+PORTREVISION=	1
 CATEGORIES=	www kde
 MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION:C,\..*,.0,}/
 
@@ -15,11 +16,10 @@ USE_QT4=	script webkit \
 		moc_build qmake_build rcc_build uic_build
 MAKE_JOBS_SAFE=	yes
 
-# KDE SC 4.10 is required for Nepomuk support
-CMAKE_ARGS+=	-DWITH_NepomukCore=off
-
-OPTIONS_DEFINE=	OPERA
+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>
 
@@ -28,6 +28,12 @@ post-patch:
 		'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


More information about the svn-ports-head mailing list