svn commit: r489668 - head/security/razorback-dispatcher

Tobias Kortkamp tobik at FreeBSD.org
Tue Jan 8 10:42:14 UTC 2019


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>


More information about the svn-ports-head mailing list