aboutsummaryrefslogtreecommitdiff
path: root/security/razorback-syslogNugget/Makefile
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2012-06-11 03:09:02 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2012-06-11 03:09:02 +0000
commite8431e4e212f65e883198c6daab2574c74657c7b (patch)
tree09a5e620295722443996ff7c98435dfadefbda25 /security/razorback-syslogNugget/Makefile
parenta37ec24405518060bc65e3f8605782aee113a95a (diff)
downloadports-e8431e4e212f65e883198c6daab2574c74657c7b.tar.gz
ports-e8431e4e212f65e883198c6daab2574c74657c7b.zip
Notes
Diffstat (limited to 'security/razorback-syslogNugget/Makefile')
-rw-r--r--security/razorback-syslogNugget/Makefile51
1 files changed, 51 insertions, 0 deletions
diff --git a/security/razorback-syslogNugget/Makefile b/security/razorback-syslogNugget/Makefile
new file mode 100644
index 000000000000..d2fe526b4855
--- /dev/null
+++ b/security/razorback-syslogNugget/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: razorback-archiveInflate
+# Date created: 2011/06/8
+# Whom: Tom Judge <tom@tomjudge.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= syslogNugget
+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 - Syslog Output
+
+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
+
+OPTIONS_DEFINE= DEBUG ASSERT
+ASSERT_DESC= Enable Asserts
+
+.include <bsd.port.options.mk>
+
+RB_LIBDIR?= ${PREFIX}/lib/razorback
+GNU_CONFIGURE= yes
+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}/syslogNugget.so.2 ${RB_LIBDIR}/syslogNugget.so.2.0.0
+ @if [ ! -f ${PREFIX}/etc/razorback/syslog.conf ]; then \
+ ${CP} -p ${PREFIX}/etc/razorback/syslog.conf.sample ${PREFIX}/etc/razorback/syslog.conf ; \
+ fi
+
+.include <bsd.port.mk>