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


1.6
date	2013.03.19.19.21.05;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2012.11.17.06.01.18;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.09.08.06.53.18;	author linimon;	state Exp;
branches;
next	1.3;

1.3
date	2012.06.01.15.27.32;	author tj;	state Exp;
branches;
next	1.2;

1.2
date	2012.05.31.19.40.18;	author tj;	state Exp;
branches;
next	1.1;

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


desc
@@


1.6
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-api
# Date created:				2011/06/8
# Whom:					Tom Judge <tom@@tomjudge.com>
#
# $FreeBSD: head/security/razorback-api/Makefile 314640 2013-03-19 13:04:30Z eadler $
#

PORTNAME=	api
PORTVERSION=	0.5.0
CATEGORIES=	security
MASTER_SITES=	SF/razorbacktm/API
PKGNAMEPREFIX=	razorback-
DIST_SUBDIR=	razorback

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

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	config.10:${PORTSDIR}/devel/libconfig \
		uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid \
		curl.6:${PORTSDIR}/ftp/curl \
		json.0:${PORTSDIR}/devel/json-c

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>

USES=	pathfix
USE_AUTOTOOLS=	libtool
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

.if !empty(PORT_OPTIONS:MDEBUG)
CONFIGURE_ARGS+=--enable-debug
.endif

.if !empty(PORT_OPTIONS:MASSERT)
CONFIGURE_ARGS+=--enable-assert
.endif

.if !empty(PORT_OPTIONS:MCNC_DEBUG)
CONFIGURE_ARGS+=--enable-cnc-debug
.endif

.if !empty(PORT_OPTIONS:MSTOMP_DEBUG)
CONFIGURE_ARGS+=--enable-stomp-debug
.endif

.if ${CC} == "clang" || ${CXX} == "clang++"
BROKEN=		does not build when compiled with clang
.endif

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=		Does not compile on sparc64
.endif

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

.include <bsd.port.post.mk>
@


1.5
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/security/razorback-api/Makefile 303870 2012-09-08 06:53:18Z linimon $
d33 1
a33 1
USE_GNOME=	gnomehack
@


1.4
log
@SVN rev 303870 on 2012-09-08 06:53:18Z by linimon

Mark as broken on sparc64.

Hat:		portmgr
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@Convert to the new OptionsNG framework.

Approved by:	eadler (mentor)
@
text
@d60 6
d74 1
a74 1
.include <bsd.port.mk>
@


1.2
log
@Update my email address.

Approved by:	eadler (mentor)
@
text
@d26 6
a31 4
OPTIONS=	DEBUG "Enable Debug" off \
		ASSERT "Enable Asserts" off \
		CNC_DEBUG "Enable Command and Control Debug" off \
		STOMP_DEBUG "Enable STOMP Debug" off
d40 1
a40 1
.if defined(WITH_DEBUG)
d44 1
a44 1
.if defined(WITH_ASSERT)
d48 1
a48 1
.if defined(WITH_CNC_DEBUG)
d52 1
a52 1
.if defined(WITH_STOMP_DEBUG)
@


1.1
log
@New port: security/razorback-api

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/167736
Submitted by:	Tom Judge <tom@@tomjudge.com>
@
text
@d15 1
a15 1
MAINTAINER=	tom@@tomjudge.com
@

