freebsd-ports/security/prelude-lml/Makefile
Baptiste Daroussin 4650a910d0 Chase boost and icu bump
While here convert some LIB_DEPENDS
2014-02-07 11:44:08 +00:00

46 lines
1.4 KiB
Makefile

# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
# $FreeBSD$
PORTNAME= prelude-lml
PORTVERSION= 1.0.1
PORTREVISION= 5
CATEGORIES= security
MASTER_SITES= https://www.prelude-ids.org/attachments/download/242/
MAINTAINER= ports@FreeBSD.org
COMMENT= Prelude Network Intrusion Detection System Log Monitoring Lackey
LIB_DEPENDS= libicuuc.so:${PORTSDIR}/devel/icu \
libpcre.so:${PORTSDIR}/devel/pcre \
libgmp.so:${PORTSDIR}/math/gmp \
libgnutls.so:${PORTSDIR}/security/gnutls \
libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libgpg-error.so:${PORTSDIR}/security/libgpg-error \
libprelude.so:${PORTSDIR}/security/libprelude \
libnettle.so:${PORTSDIR}/security/nettle \
libp11-kit.so:${PORTSDIR}/security/p11-kit
USE_GMAKE= yes
USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
USE_RC_SUBR= prelude-lml
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
USES= charsetfix gettext iconv pkgconfig
OPTIONS_DEFINE= FAM
FAM_CONFIGURE_ENABLE= fam
FAM_USES= fam
NO_STAGE= yes
post-install:
@if [ ! -f ${PREFIX}/etc/prelude-lml/prelude-lml.conf ]; then \
${CP} -p ${PREFIX}/etc/prelude-lml/prelude-lml.conf-dist \
${PREFIX}/etc/prelude-lml/prelude-lml.conf ; \
fi
@if [ ! -f ${PREFIX}/etc/prelude-lml/plugins.rules ]; then \
${CP} -p ${PREFIX}/etc/prelude-lml/plugins.rules-dist \
${PREFIX}/etc/prelude-lml/plugins.rules ; \
fi
.include <bsd.port.mk>