aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-07 06:54:38 +0800
committereadler <eadler@FreeBSD.org>2012-10-07 06:54:38 +0800
commitb0d9d492b255aceece89c5e3ef84aec42d8eee44 (patch)
treeb69399eceaaaadb135d7acede13c759f5d66c6ca /x11
parent523ded82f22b32a6693d407c05095e9b6efe88ca (diff)
downloadfreebsd-ports-gnome-b0d9d492b255aceece89c5e3ef84aec42d8eee44.tar.gz
freebsd-ports-gnome-b0d9d492b255aceece89c5e3ef84aec42d8eee44.tar.zst
freebsd-ports-gnome-b0d9d492b255aceece89c5e3ef84aec42d8eee44.zip
Convert to OptionsNG
Diffstat (limited to 'x11')
-rw-r--r--x11/xfce4-verve-plugin/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/x11/xfce4-verve-plugin/Makefile b/x11/xfce4-verve-plugin/Makefile
index eec56f090232..fb66f3c635e7 100644
--- a/x11/xfce4-verve-plugin/Makefile
+++ b/x11/xfce4-verve-plugin/Makefile
@@ -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 libutil
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=""