diff options
author | tj <tj@FreeBSD.org> | 2012-06-01 23:27:32 +0800 |
---|---|---|
committer | tj <tj@FreeBSD.org> | 2012-06-01 23:27:32 +0800 |
commit | c20d28681169d9cac25051d0c7d12208c97bb147 (patch) | |
tree | 42e4346193bf1bc33107d98485358ee1124717bd /security | |
parent | 1c61d27387351d9dfe50a7b245c2fe00b313620e (diff) | |
download | freebsd-ports-gnome-c20d28681169d9cac25051d0c7d12208c97bb147.tar.gz freebsd-ports-gnome-c20d28681169d9cac25051d0c7d12208c97bb147.tar.zst freebsd-ports-gnome-c20d28681169d9cac25051d0c7d12208c97bb147.zip |
Convert to the new OptionsNG framework.
Approved by: eadler (mentor)
Diffstat (limited to 'security')
-rw-r--r-- | security/razorback-api/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/security/razorback-api/Makefile b/security/razorback-api/Makefile index cc3a93d7dce1..2f733d7665d9 100644 --- a/security/razorback-api/Makefile +++ b/security/razorback-api/Makefile @@ -23,10 +23,12 @@ LIB_DEPENDS= config.10:${PORTSDIR}/devel/libconfig \ curl.6:${PORTSDIR}/ftp/curl \ json.0:${PORTSDIR}/devel/json-c -OPTIONS= DEBUG "Enable Debug" off \ - ASSERT "Enable Asserts" off \ - CNC_DEBUG "Enable Command and Control Debug" off \ - STOMP_DEBUG "Enable STOMP Debug" off +OPTIONS_DEFINE= DEBUG ASSERT CNC_DEBUG STOMP_DEBUG + +CNC_DEBUG_DESC= Enable Command and Control Debug +STOMP_DEBUG_DESC= Enable STOMP Debug + +.include <bsd.port.options.mk> USE_GNOME= gnomehack USE_AUTOTOOLS= libtool @@ -35,19 +37,19 @@ USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.if defined(WITH_DEBUG) +.if !empty(PORT_OPTIONS:MDEBUG) CONFIGURE_ARGS+=--enable-debug .endif -.if defined(WITH_ASSERT) +.if !empty(PORT_OPTIONS:MASSERT) CONFIGURE_ARGS+=--enable-assert .endif -.if defined(WITH_CNC_DEBUG) +.if !empty(PORT_OPTIONS:MCNC_DEBUG) CONFIGURE_ARGS+=--enable-cnc-debug .endif -.if defined(WITH_STOMP_DEBUG) +.if !empty(PORT_OPTIONS:MSTOMP_DEBUG) CONFIGURE_ARGS+=--enable-stomp-debug .endif |