2003-06-18 04:40:11 +02:00
|
|
|
# New ports collection makefile for: libprelude
|
|
|
|
# Date created: Sun Aug 4 19:31:17 CEST 2002
|
|
|
|
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libprelude
|
2006-12-21 20:14:35 +01:00
|
|
|
PORTVERSION= 0.9.12
|
2003-06-18 04:40:11 +02:00
|
|
|
CATEGORIES= security
|
2006-03-02 10:37:50 +01:00
|
|
|
MASTER_SITES= http://www.prelude-ids.org/download/releases/ \
|
|
|
|
http://www.prelude-ids.org/download/releases/old/
|
2003-06-18 04:40:11 +02:00
|
|
|
|
2006-02-15 15:02:57 +01:00
|
|
|
MAINTAINER= r.gruyters@yirdis.nl
|
2005-10-14 20:17:00 +02:00
|
|
|
COMMENT= Framework library for Prelude NIDS
|
2003-06-18 04:40:11 +02:00
|
|
|
|
2006-07-06 19:41:23 +02:00
|
|
|
LIB_DEPENDS= gnutls.13:${PORTSDIR}/security/gnutls
|
2005-10-07 17:00:21 +02:00
|
|
|
|
2006-07-19 17:04:25 +02:00
|
|
|
OPTIONS= PERL "Include Perl bindings" off \
|
|
|
|
PYTHON "Include Python bindings" off
|
|
|
|
|
2005-10-07 17:00:21 +02:00
|
|
|
USE_GPG= yes
|
|
|
|
SIG_SUFFIX= .sig
|
2003-09-27 00:30:58 +02:00
|
|
|
USE_GMAKE= yes
|
2006-03-02 10:37:50 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-11-27 02:16:41 +01:00
|
|
|
USE_LDCONFIG= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2005-10-14 20:17:00 +02:00
|
|
|
CONFIGURE_ARGS= --localstatedir=/var
|
2003-06-18 04:40:11 +02:00
|
|
|
|
2006-07-19 17:04:25 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-10-07 17:00:21 +02:00
|
|
|
.if defined(WITH_PERL)
|
|
|
|
USE_PERL5= yes
|
2006-05-05 13:21:57 +02:00
|
|
|
CONFIGURE_ARGS+= --with-perl
|
2005-10-07 17:00:21 +02:00
|
|
|
PLIST_SUB+= WITH_PERL=""
|
2003-06-18 04:40:11 +02:00
|
|
|
.else
|
2006-05-05 13:21:57 +02:00
|
|
|
CONFIGURE_ARGS+= --without-perl
|
2005-10-07 17:00:21 +02:00
|
|
|
PLIST_SUB+= WITH_PERL="@comment "
|
2003-06-18 04:40:11 +02:00
|
|
|
.endif
|
|
|
|
|
2005-10-07 17:00:21 +02:00
|
|
|
.if defined(WITH_PYTHON)
|
2006-11-27 02:16:41 +01:00
|
|
|
USE_PYTHON= 2.3+
|
|
|
|
.include "${PORTSDIR}/Mk/bsd.python.mk"
|
2006-05-05 13:21:57 +02:00
|
|
|
CONFIGURE_ARGS+= --with-python
|
2005-10-07 17:00:21 +02:00
|
|
|
PLIST_SUB+= WITH_PYTHON=""
|
|
|
|
.else
|
2006-05-05 13:21:57 +02:00
|
|
|
CONFIGURE_ARGS+= --without-python
|
2005-10-07 17:00:21 +02:00
|
|
|
PLIST_SUB+= WITH_PYTHON="@comment "
|
2003-12-17 01:07:53 +01:00
|
|
|
.endif
|
|
|
|
|
2005-10-14 20:17:00 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/api/html/* ${DOCSDIR}
|
|
|
|
.endif
|
2003-06-18 04:40:11 +02:00
|
|
|
|
2006-07-19 17:04:25 +02:00
|
|
|
.include <bsd.port.post.mk>
|