aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/p5-Cflow/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-10 11:28:32 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-10 11:28:32 +0000
commit5c1bfd69f6048624bf2287c995d3d119ed4d788c (patch)
treedaa919326ccb7f189fd0a15b939e805db0b91dae /net-mgmt/p5-Cflow/Makefile
parent194a5e08be6942491300a7084db50ad4ae2b8d16 (diff)
downloadports-5c1bfd69f6048624bf2287c995d3d119ed4d788c.tar.gz
ports-5c1bfd69f6048624bf2287c995d3d119ed4d788c.zip
Convert to new options framework
While here do some build with clang fixes PR: ports/178445, ports/178446, ports/178444, ports/178443, ports/178425, ports/178423 Submitted by: "Ilya A. Arkhipov" <rum1cro@yandex.ru>
Notes
Notes: svn path=/head/; revision=317790
Diffstat (limited to 'net-mgmt/p5-Cflow/Makefile')
-rw-r--r--net-mgmt/p5-Cflow/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/net-mgmt/p5-Cflow/Makefile b/net-mgmt/p5-Cflow/Makefile
index ac4b6976d037..ea2954675e8e 100644
--- a/net-mgmt/p5-Cflow/Makefile
+++ b/net-mgmt/p5-Cflow/Makefile
@@ -1,9 +1,5 @@
-# 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>
-#
+# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD$
-#
PORTNAME= Cflow
PORTVERSION= 1.053
@@ -16,11 +12,12 @@ 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
+OPTIONS_DEFINE= FLOW_TOOLS
+FLOW_TOOLS_DESC= Enable flow-tools support
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_FLOW_TOOLS)
+.if ${PORT_OPTIONS:MFLOW_TOOLS}
BUILD_DEPENDS+= ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools
RUN_DEPENDS+= ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools
@@ -34,4 +31,4 @@ PERL_CONFIGURE= YES
MAN1= flowdumper.1
MAN3= Cflow.3
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>