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


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

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


desc
@@


1.2
log
@Switch exporter over
@
text
@# New ports collection makefile for:	razorback-scriptNugget
# Date created:				2011/06/8
# Whom:					Tom Judge <tom@@tomjudge.com>
#
# $FreeBSD: head/security/razorback-scriptNugget/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	scriptNugget
PORTVERSION=	0.5.0
CATEGORIES=	security
MASTER_SITES=	SF/razorbacktm/Nuggets
PKGNAMEPREFIX=	razorback-
DIST_SUBDIR=	razorback

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

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	razorback_api:${PORTSDIR}/security/razorback-api
BUILD_DEPENDS=	razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget
RUN_DEPENDS=	razorback-masterNugget>=0.5.0:${PORTSDIR}/security/razorback-masterNugget \
		rubygem-razorback-scriptNugget>=0.5.0:${PORTSDIR}/security/rubygem-razorback-scriptNugget

OPTIONS_DEFINE=	DEBUG ASSERT
ASSERT_DESC=	Enable Asserts

.include <bsd.port.options.mk>

RB_LIBDIR?=	${PREFIX}/lib/razorback
USE_GNOME=	libxml2
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-ruby
USE_AUTOTOOLS=	libtool
USE_LDCONFIG=	${RB_LIBDIR}
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

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

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

post-install:
	${LN} -sf ${RB_LIBDIR}/scriptNugget.so.2 ${RB_LIBDIR}/scriptNugget.so.2.0.0
	@@if [ ! -f ${PREFIX}/etc/razorback/scriptNugget.conf ]; then \
		${CP} -p ${PREFIX}/etc/razorback/scriptNugget.conf.sample ${PREFIX}/etc/razorback/scriptNugget.conf ; \
	fi

.include <bsd.port.mk>
@


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

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.

The scripting nugget uses XML across named pipes to pass registration,
alerting and logging information back to the system.  This allows the
use of any scripting (or even compiled) language that can pass XML out
STDOUT with Razorback.

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

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

