Tweak security/sshblock version 1.0_1
[dports.git] / security / silktools / Makefile
1 # Created by: David Thiel <lx@redundancy.redundancy.org>
2 # $FreeBSD$
3
4 PORTNAME=       silktools
5 PORTVERSION=    3.8.1
6 PORTREVISION=   1
7 CATEGORIES=     security net
8 MASTER_SITES=   http://tools.netsa.cert.org/releases/ \
9                 http://redundancy.redundancy.org/mirror/
10 DISTNAME=       silk-${PORTVERSION}
11
12 MAINTAINER=     lx@FreeBSD.org
13 COMMENT=        Tools for large-scale network capture analysis
14
15 LIB_DEPENDS=    liblzo2.so:${PORTSDIR}/archivers/lzo2 \
16                 libfixbuf.so:${PORTSDIR}/net/libfixbuf
17
18 GNU_CONFIGURE=  yes
19 CONFIGURE_ARGS= --with-lzo=${LOCALBASE} --enable-packing-tools --with-python \
20                                 --prefix=${STAGEDIR}/${PREFIX}
21 MAKE_ARGS=      CC="${CC}" GCC_FLAGS="" CFLAGS_RELEASE=""
22 USE_LDCONFIG=   yes
23 USES=           gmake perl5 pkgconfig python libtool
24 USE_PERL5=      build
25
26 OPTIONS_DEFINE= LOCALTIME
27 LOCALTIME_DESC= Use localtime instead of UTC
28
29 LOCALTIME_CONFIGURE_ON=--enable-localtime
30
31 post-patch:
32         @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
33
34 .include <bsd.port.mk>