Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2012 06:28:22 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305231 - head/x11/kdebase3
Message-ID:  <201210040628.q946SMNv082854@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Oct  4 06:28:21 2012
New Revision: 305231
URL: http://svn.freebsd.org/changeset/ports/305231

Log:
  Convert to new options framework

Modified:
  head/x11/kdebase3/Makefile

Modified: head/x11/kdebase3/Makefile
==============================================================================
--- head/x11/kdebase3/Makefile	Thu Oct  4 06:07:43 2012	(r305230)
+++ head/x11/kdebase3/Makefile	Thu Oct  4 06:28:21 2012	(r305231)
@@ -45,9 +45,10 @@ CONFIGURE_ARGS+=--without-java			\
 		--with-xdmdir=${LOCALBASE}/lib/X11/xdm \
 		--with-ssl-dir=${OPENSSLBASE}
 
-OPTIONS=	ARTSWRAPPER "Suid wrapper for aRts, req'd for realtime prio" on \
-		HAL "Use HAL backend for media:/" on \
-		HTDIG "Depend on htdig, used to build manual indices" off
+OPTIONS_DEFINE=	ARTSWRAPPER HAL HTDIG
+OPTIONS_DEFAULT=	ARTSWRAPPER HAL
+ARTSWRAPPER_DESC=	Suid wrapper for aRts, req'd for realtime prio
+HTDIG_DESC=		Use htdig to build manual indices
 
 .include "${.CURDIR}/../../x11/kde3/Makefile.kde"
 .include <bsd.port.pre.mk>
@@ -58,15 +59,15 @@ LIB_DEPENDS+=	usb-0.1:${PORTSDIR}/devel/
 EXTRA_PATCHES+=	${FILESDIR}/extrapatch-libusb20
 .endif
 
-.if !defined(WITHOUT_ARTSWRAPPER)
+.if ${PORT_OPTIONS:MDOCS}
 RUN_DEPENDS+=	artswrapper:${PORTSDIR}/audio/artswrapper
 .endif
 
-.if defined(WITH_HTDIG)
+.if ${PORT_OPTIONS:MDOCS}
 RUN_DEPENDS+=	htdig:${PORTSDIR}/textproc/htdig
 .endif
 
-.if !defined(WITHOUT_HAL)
+.if ${PORT_OPTIONS:MHAL}
 EXTRA_PATCHES+=	${FILESDIR}/extrapatch-kioslave_media_mediamanager-halbackend.cpp \
 		${FILESDIR}/extrapatch-kioslave_media_mediamanager-halbackend.h
 LIB_DEPENDS+=	dbus-qt-1.1:${PORTSDIR}/devel/dbus-qt3 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210040628.q946SMNv082854>