aboutsummaryrefslogtreecommitdiffstats
path: root/security/razorback-api/Makefile
blob: c93cb2fca91e8625ae7dee06d61e6de401f9a85d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# $FreeBSD$

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

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/LICENSE

LIB_DEPENDS=    libconfig.so:devel/libconfig \
        libuuid.so:misc/e2fsprogs-libuuid \
        libcurl.so:ftp/curl \
        libjson-c.so: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

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

DEBUG_CONFIGURE_ENABLE=     debug
ASSERT_CONFIGURE_ENABLE=    assert
CNC_DEBUG_CONFIGURE_ENABLE= cnc-debug
STOMP_DEBUG_CONFIGURE_ENABLE=   stomp-debug

post-patch:
    @${REINPLACE_CMD} -e s/json/json-c/ -e s/-Werror// ${WRKSRC}/configure

.include <bsd.port.mk>