aboutsummaryrefslogtreecommitdiffstats
path: root/security/prelude-manager/Makefile
blob: 4afcc1abd396f5e14a5e11d9cecd8f078ac50c76 (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
42
43
44
45
# New ports collection makefile for:    prelude-manager
# Date created:         Sun Aug 4 19:31:17 CEST 2002
# Whom:             Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD$

PORTNAME=   prelude-manager
PORTVERSION=    0.9.5
PORTREVISION=   1
CATEGORIES= security
MASTER_SITES=   http://www.prelude-ids.org/download/releases/ \
MASTER_SITES=   http://www.prelude-ids.org/download/releases/old/

MAINTAINER= r.gruyters@yirdis.nl
COMMENT=    Prelude Network Intrusion Detection System central logging point

LIB_DEPENDS+=   prelude.[6-?]:${PORTSDIR}/security/libprelude \
        gnutls.13:${PORTSDIR}/security/gnutls

USE_GPG=    yes
SIG_SUFFIX= .sig
USE_GMAKE=  yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE=  yes
USE_RC_SUBR=    prelude-manager.sh
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=     --with-html-dir=${PREFIX}/share/doc \
            --localstatedir=/var

.if defined(WITHOUT_XML)
PLIST_SUB+= WITH_XML="@comment "
CONFIGURE_ARGS+=    --disable-xmltest --without-xml
.else
LIB_DEPENDS+=   xml2.5:${PORTSDIR}/textproc/libxml2
PLIST_SUB+= WITH_XML=""
.endif

.if defined(WITHOUT_DB)
PLIST_SUB+= WITH_DB="@comment "
.else
LIB_DEPENDS+=   preludedb.3:${PORTSDIR}/security/libpreludedb
PLIST_SUB+= WITH_DB=""
.endif

.include <bsd.port.mk>