Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2012 22:54:38 +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: r305422 - head/x11/xfce4-verve-plugin
Message-ID:  <201210062254.q96Mscnd058673@svn.freebsd.org>

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

Log:
  Convert to OptionsNG

Modified:
  head/x11/xfce4-verve-plugin/Makefile

Modified: head/x11/xfce4-verve-plugin/Makefile
==============================================================================
--- head/x11/xfce4-verve-plugin/Makefile	Sat Oct  6 22:54:03 2012	(r305421)
+++ head/x11/xfce4-verve-plugin/Makefile	Sat Oct  6 22:54:38 2012	(r305422)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	verve plugin for xfce4
-# Date created:				11 September 2007
-# Whom:					Martin Wilke (miwi@FreeBSD.org)
-#
+# Created by: Martin Wilke (miwi@FreeBSD.org)
 # $FreeBSD$
-#
 
 PORTNAME=	verve-plugin
 PORTVERSION=	1.0.0
@@ -29,12 +25,11 @@ USE_XFCE=	configenv panel libexo libgui 
 
 CONFIGURE_ARGS=	--disable-debug
 
-OPTIONS=	NLS "Enable Native Language Support" on \
-		DBUS "Enable D-BUS support" on
+OPTIONS_DEFINE=	NLS DBUS
 
 .include <bsd.port.pre.mk>
 
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
 USE_GETTEXT=	yes
 CONFIGURE_ARGS+=--enable-nls
 PLIST_SUB+=	NLS=""
@@ -43,7 +38,7 @@ CONFIGURE_ARGS+=--disable-nls
 PLIST_SUB+=	NLS="@comment "
 .endif
 
-.if !defined(WITHOUT_DBUS)
+.if ${PORT_OPTIONS:MDBUS}
 LIB_DEPENDS+=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
 CONFIGURE_ARGS+=--enable-dbus
 PLIST_SUB+=	DBUS=""



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