aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/p5-Cflow/Makefile
blob: ac4b6976d037d6d4a7cedb44b4d577d755731005 (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
# New ports collection makefile for:    p5-Cflow
# Date created:         Di  13 Mär 2001 19:37:25 CET
# Whom:             Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$
#

PORTNAME=   Cflow
PORTVERSION=    1.053
PORTREVISION=   1
CATEGORIES= net-mgmt perl5
MASTER_SITES=   http://net.doit.wisc.edu/~plonka/Cflow/ \
        http://net.doit.wisc.edu/~plonka/Cflow/old/
PKGNAMEPREFIX=  p5-

MAINTAINER= fw@moov.de
COMMENT=    Analyze raw flow files written by cflowd (Cisco NetFlow data)

OPTIONS=    FLOW_TOOLS  "Enable flow-tools support" off

.include <bsd.port.pre.mk>

.if defined(WITH_FLOW_TOOLS)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools
RUN_DEPENDS+=   ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools

CFLAGS+=    -I${LOCALBASE}/include -DOSU
CONFIGURE_ARGS+=    \
    "LDDLFLAGS= -shared -L${LOCALBASE}/lib -lft -lz" \
    "INC= -I${LOCALBASE}/include" "LDLOADLIBS= -L${LOCALBASE}/lib -lft -lz"
.endif
PERL_CONFIGURE= YES

MAN1=       flowdumper.1
MAN3=       Cflow.3

.include <bsd.port.post.mk>