Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2019 10:42:13 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489668 - head/security/razorback-dispatcher
Message-ID:  <201901081042.x08AgDit096769@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Tue Jan  8 10:42:13 2019
New Revision: 489668
URL: https://svnweb.freebsd.org/changeset/ports/489668

Log:
  security/razorback-dispatcher: Convert to options helpers

Modified:
  head/security/razorback-dispatcher/Makefile

Modified: head/security/razorback-dispatcher/Makefile
==============================================================================
--- head/security/razorback-dispatcher/Makefile	Tue Jan  8 10:39:10 2019	(r489667)
+++ head/security/razorback-dispatcher/Makefile	Tue Jan  8 10:42:13 2019	(r489668)
@@ -33,22 +33,17 @@ GROUPS?=	razorback
 
 OPTIONS_DEFINE=	DEBUG ASSERT ACTIVEMQ
 
+ACTIVEMQ_DESC=	ActiveMQ runs locally
 ASSERT_DESC=	Enable Asserts
+
+ACTIVEMQ_RUN_DEPENDS=	${LOCALBASE}/etc/rc.d/activemq:net/activemq
+ACTIVEMQ_SUB_LIST=	ACTIVEMQ="activemq " ACTIVEMQ_LOC="local" \
+			ACTIVEMQ_LOCATION="in the ActiveMQ configuration directory:" \
+			ACTIVEMQ_CONFIG="${LOCALBASE}/etc/activemq/"
+ACTIVEMQ_SUB_LIST_OFF=	ACTIVEMQ="" ACTIVEMQ_LOC="remote" \
+			ACTIVEMQ_LOCATION="on the remote ActiveMQ host." \
+			ACTIVEMQ_CONFIG=""
 ASSERT_CONFIGURE_ENABLE=	assert
-ACTIVEMQ_DESC=	ActiveMQ runs locally
 DEBUG_CONFIGURE_ENABLE=	debug
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MACTIVEMQ}
-RUN_DEPENDS=	${LOCALBASE}/etc/rc.d/activemq:net/activemq
-SUB_LIST=	ACTIVEMQ="activemq " ACTIVEMQ_LOC="local" \
-		ACTIVEMQ_LOCATION="in the ActiveMQ configuration directory:" \
-		ACTIVEMQ_CONFIG="${LOCALBASE}/etc/activemq/"
-.else
-SUB_LIST=	ACTIVEMQ="" ACTIVEMQ_LOC="remote" \
-		ACTIVEMQ_LOCATION="on the remote ActiveMQ host." \
-		ACTIVEMQ_CONFIG=""
-.endif
 
 .include <bsd.port.mk>



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