svn commit: r305422 - head/x11/xfce4-verve-plugin

Eitan Adler eadler at FreeBSD.org
Sat Oct 6 22:54:39 UTC 2012


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 at FreeBSD.org)
-#
+# Created by: Martin Wilke (miwi at 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=""



More information about the svn-ports-head mailing list