head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	2013.03.19.19.21.05;	author svnexp;	state Exp;
branches;
next	1.3;

1.3
date	2012.11.18.03.08.40;	author svnexp;	state Exp;
branches;
next	1.2;

1.2
date	2012.11.17.06.01.18;	author svnexp;	state Exp;
branches;
next	1.1;

1.1
date	2012.06.11.02.20.53;	author zi;	state Exp;
branches;
next	;


desc
@@


1.4
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314640
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:	razorback-dispatcher
# Date created:				2011/06/8
# Whom:					Tom Judge <tom@@tomjudge.com>
#
# $FreeBSD: head/security/razorback-dispatcher/Makefile 314640 2013-03-19 13:04:30Z eadler $
#

PORTNAME=	dispatcher
PORTVERSION=	0.5.0
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	SF/razorbacktm/Dispatcher
PKGNAMEPREFIX=	razorback-
DIST_SUBDIR=	razorback

MAINTAINER=	tj@@FreeBSD.org
COMMENT=	Framework for an intelligence driven security - Dispatcher

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	razorback_api:${PORTSDIR}/security/razorback-api \
		memcached:${PORTSDIR}/databases/libmemcached \
		cli:${PORTSDIR}/devel/libcli

OPTIONS_DEFINE=	DEBUG ASSERT ACTIVEMQ
ASSERT_DESC=	Enable Asserts
ACTIVEMQ_DESC=	ActiveMQ runs locally

.include <bsd.port.options.mk>

USES=	pathfix
USE_AUTOTOOLS=	libtool
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

.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+=--enable-debug
.endif

.if ${PORT_OPTIONS:MASSERT}
CONFIGURE_ARGS+=--enable-assert
.endif

.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

post-install:
	@@if [ ! -f ${PREFIX}/etc/razorback/dispatcher.conf ]; then \
		${CP} -p ${PREFIX}/etc/razorback/dispatcher.conf.sample ${PREFIX}/etc/razorback/dispatcher.conf ; \
	fi
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307471
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307471 | tj | 2012-11-16 03:44:09 +0000 (Fri, 16 Nov 2012) | 6 lines
## SVN ##
## SVN ## * Fix build against libcli 0.9.6
## SVN ## * Make dependance on ActiveMQ off by default.
## SVN ##
## SVN ## Feature safe:	yes
## SVN ## Approved by:	eadler (mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d5 1
a5 1
# $FreeBSD: head/security/razorback-dispatcher/Makefile 307471 2012-11-16 03:44:09Z tj $
d32 1
a32 1
USE_GNOME=	gnomehack
@


1.2
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/security/razorback-dispatcher/Makefile 300897 2012-07-14 14:29:18Z beat $
d10 1
a26 1
OPTIONS_DEFAULT=ACTIVEMQ
@


1.1
log
@New port: security/razorback-dispatcher:

Razorback is a framework for an intelligence driven security solution.
It consists of a Dispatcher at the core of the system, surrounded by
Nuggets of varying types.

WWW: http://razorbacktm.sourceforge.net/

PR:		ports/167738
Submitted by:	Tom Judge <tom@@tomjudge.com>
@
text
@d5 1
a5 1
# $FreeBSD$
@

