# Created by: Tom Judge # $FreeBSD$ PORTNAME= dispatcher PORTVERSION= 0.5.0 PORTREVISION= 3 CATEGORIES= security MASTER_SITES= SF/razorbacktm/Dispatcher PKGNAMEPREFIX= razorback- DIST_SUBDIR= razorback MAINTAINER= ports@FreeBSD.org COMMENT= Framework for an intelligence driven security - Dispatcher LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= librazorback_api.so:${PORTSDIR}/security/razorback-api \ libjson-c.so:${PORTSDIR}/devel/json-c \ libmemcached.so:${PORTSDIR}/databases/libmemcached \ libcli.so:${PORTSDIR}/devel/libcli USES= autoreconf libtool pathfix pkgconfig GNU_CONFIGURE= yes USE_MYSQL= yes USE_RC_SUBR= dispatcher dispatcher_safed SUB_FILES= pkg-message CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USERS?= razorback GROUPS?= razorback OPTIONS_DEFINE= DEBUG ASSERT ACTIVEMQ ASSERT_DESC= Enable Asserts ASSERT_CONFIGURE_ENABLE= assert ACTIVEMQ_DESC= ActiveMQ runs locally DEBUG_CONFIGURE_ENABLE= debug .include .if ${PORT_OPTIONS:MACTIVEMQ} RUN_DEPENDS= ${LOCALBASE}/etc/rc.d/activemq:${PORTSDIR}/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