freebsd-ports/net-mgmt/p5-Cflow/Makefile
Stefan Walter 6cdeb33b74 - Add OPTIONS support.
- Assign maintainership to submitter.

PR:		146146
Submitted by:	Frank Wall <fw@moov.de>
Feature safe:	yes
2010-06-30 14:52:23 +00:00

38 lines
983 B
Makefile

# 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>