summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-06-07 22:44:21 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-06-07 22:44:21 +0000
commit2fa62596744270745d9d0540f5bbd839f6b78d23 (patch)
treeb7e5a1ec8ce92178c23aff878c9671b8c96b7b89 /x11
parent- Convert to new options framework. (diff)
Convert my ports to optionsNG
Notes
Notes: svn path=/head/; revision=298711
Diffstat (limited to 'x11')
-rw-r--r--x11/xnee/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/x11/xnee/Makefile b/x11/xnee/Makefile
index d1ef1f14a6bc..44e733131c9c 100644
--- a/x11/xnee/Makefile
+++ b/x11/xnee/Makefile
@@ -15,9 +15,6 @@ COMMENT= X events recorder and player
LICENSE= GPLv3
-OPTIONS= GNEE "Build the GUI frontend" off \
- PNEE "Build the Gnome Panel frontend" off
-
USE_XORG= xtst
USE_GNOME= gnomehack
USE_GMAKE= yes
@@ -29,9 +26,13 @@ CONFIGURE_ARGS= --enable-cli --disable-doc --disable-xinput2
MAN1= cnee.1 xnee.1
INFO= xnee
+OPTIONS_DEFINE= GNEE PNEE
+GNEE_DESC= Build the GUI frontend
+PNEE_DESC= Build the Gnome Panel frontend
+
.include <bsd.port.options.mk>
-.if defined(WITH_GNEE)
+.if ${PORT_OPTIONS:MGNEE}
USE_GNOME+= gtk20 libgnomeui
MAN1+= gnee.1
PLIST_SUB+= GNEE=""
@@ -42,7 +43,7 @@ CONFIGURE_ARGS+=--disable-gui
PLIST_SUB+= GNEE="@comment "
.endif
-.if defined(WITH_PNEE)
+.if ${PORT_OPTIONS:MPNEE}
USE_GNOME+= gnomepanel
MAN1+= pnee.1
PLIST_SUB+= PNEE=""