Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2012 22:53:16 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305419 - head/x11-fm/thunar-vfs
Message-ID:  <201210062253.q96MrGq9058317@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sat Oct  6 22:53:15 2012
New Revision: 305419
URL: http://svn.freebsd.org/changeset/ports/305419

Log:
  Convert to OptionsNG

Modified:
  head/x11-fm/thunar-vfs/Makefile

Modified: head/x11-fm/thunar-vfs/Makefile
==============================================================================
--- head/x11-fm/thunar-vfs/Makefile	Sat Oct  6 22:52:50 2012	(r305418)
+++ head/x11-fm/thunar-vfs/Makefile	Sat Oct  6 22:53:15 2012	(r305419)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: thunar-vfs
-# Date created:		2010-11-13
-# Whom:		Olivier Duchateau <duchateau.olivier@gmail.com>
-#
+# Created by: Olivier Duchateau <duchateau.olivier@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	thunar-vfs
 PORTVERSION=	1.2.0
@@ -32,16 +28,15 @@ USE_XORG=	x11
 
 CONFIGURE_ARGS=	--disable-debug
 
-OPTIONS=	NLS "Enable Native Language Support" on \
-		HAL "Enable HAL support" on \
-		DBUS "Enable D-BUS support" on \
-		STARTUP "Enable startup notification support" on \
-		GCONF "Enable GCONF support" off \
-		APIDOCS "Install api documentation" off
+OPTIONS_DEFINE=	NLS HAL DBUS STARTUP GCONF APIDOCS
+OPTIONS_DEFAULT=	NLS HAL DBUS STARTUP APIDOCS
+
+APIDOCS_DESC=	Install api documentation
+STARTUP_DESC=	Enable startup notification support
 
 .include <bsd.port.pre.mk>
 
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
 USE_GETTEXT=	yes
 CONFIGURE_ARGS+=	--enable-nls
 PLIST_SUB+=	NLS=""
@@ -50,21 +45,21 @@ CONFIGURE_ARGS+=	--disable-nls
 PLIST_SUB+=	NLS="@comment "
 .endif
 
-.if !defined(WITHOUT_HAL)
+.if ${PORT_OPTIONS:MHAL}
 LIB_DEPENDS+=	hal.1:${PORTSDIR}/sysutils/hal
 CONFIGURE_ARGS+=--with-volume-manager=hal
 .else
 CONFIGURE_ARGS+=--with-volume-manager=freebsd
 .endif
 
-.if !defined(WITHOUT_DBUS)
+.if ${PORT_OPTIONS:MDBUS}
 LIB_DEPENDS+=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
 CONFIGURE_ARGS+=--enable-dbus
 .else
 CONFIGURE_ARGS+=--disable-dbus
 .endif
 
-.if !defined(WITHOUT_STARTUP)
+.if ${PORT_OPTIONS:MSTARTUP}
 LIB_DEPENDS+=	startup-notification-1.0:${PORTSDIR}/x11/startup-notification
 CONFIGURE_ARGS+=--enable-startup-notification
 .else
@@ -72,14 +67,14 @@ CONFIGURE_ARGS+=--disable-startup-notifi
 .endif
 
 # GNOME thumbnailers
-.if defined(WITH_GCONF)
+.if ${PORT_OPTIONS:MGCONF}
 USE_GNOME+=	gconf2
 CONFIGURE_ARGS+=--enable-gnome-thumbnailers
 .else
 CONFIGURE_ARGS+=--disable-gnome-thumbnailers
 .endif
 
-.if defined(WITHOUT_APIDOCS)
+.if ${PORT_OPTIONS:MAPIDOCS}
 CONFIGURE_ARGS+=--without-html-dir
 PLIST_SUB+=	APIDOCS="@comment "
 .else



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