freebsd-ports/security/prelude-manager/Makefile
Christian Weisgerber 39d7abce78 Update prelude ports to latest version:
libprelude: 0.8.5 -> 0.8.6
prelude-lml: 0.8.3 -> 0.8.4
prelude-manager: 0.8.7 -> 0.8.8
prelude-nids: 0.8.1 -> 0.8.3

PR:		57168
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org>
2003-09-26 22:30:58 +00:00

59 lines
1.6 KiB
Makefile

# 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.8.8
CATEGORIES= security
MASTER_SITES= http://www.prelude-ids.org/download/releases/
MAINTAINER= sheepkiller@cultdeadsheep.org
COMMENT= Prelude Network Intrusion Detection System central logging point
LIB_DEPENDS+= prelude.0:${PORTSDIR}/security/libprelude \
xml2.5:${PORTSDIR}/textproc/libxml2
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc \
--program-prefix="" --localstatedir=/var
.if defined(WITHOUT_SSL)
CONFIGURE_ARGS+= --disable-openssl
.else
USE_OPENSSL= YES
CONFIGURE_ARGS+= --enable-openssl
.endif
.if defined(WITH_MYSQL)
USE_MYSQL= YES
CONFIGURE_ARGS+= --enable-mysql
PLIST_SUB+= MYSQL=""
.else
CONFIGURE_ARGS+= --disable-mysql
PLIST_SUB+= MYSQL="@comment "
.endif
.if defined(WITH_POSTGRES)
LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
CONFIGURE_ARGS+= --enable-pgsql
PLIST_SUB+= PGSQL=""
.else
CONFIGURE_ARGS+= --disable-pgsql
PLIST_SUB+= PGSQL="@comment "
.endif
post-patch:
@${ECHO} ""
@${ECHO} "*---------------------------------------------------------------------------*"
@${ECHO} "Options:"
@${ECHO} ""
@${ECHO} " WITHOUT_SSL=yes Disable SSL support"
@${ECHO} " WITH_MYSQL=yes Enable MySQL support"
@${ECHO} " WITH_POSTGRES=yes Enable PostreSQL support"
@${ECHO} "*---------------------------------------------------------------------------*"
@${ECHO} ""
.include <bsd.port.mk>