Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2013 11:22:21 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r319210 - head/net-mgmt/flow-tools
Message-ID:  <201305271122.r4RBMLlc062159@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Mon May 27 11:22:21 2013
New Revision: 319210
URL: http://svnweb.freebsd.org/changeset/ports/319210

Log:
  - Convert Makefile header
  - Convert to optionsNG
  
  PR:		ports/178427
  Submitted by:	rum1cro@yandex.ru
  Approved by:	maintainer (5u623l20@gmail.com)

Modified:
  head/net-mgmt/flow-tools/Makefile   (contents, props changed)

Modified: head/net-mgmt/flow-tools/Makefile
==============================================================================
--- head/net-mgmt/flow-tools/Makefile	Mon May 27 11:14:56 2013	(r319209)
+++ head/net-mgmt/flow-tools/Makefile	Mon May 27 11:22:21 2013	(r319210)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	flow-tools
-# Date created:				2000 Jul 25
-# Whom:					@BABOLO <.@babolo.ru>
-#
+# Created by: @BABOLO <.@babolo.ru>
 # $FreeBSD$
-#
 
 PORTNAME=	flow-tools
 PORTVERSION=	0.68
@@ -16,9 +12,7 @@ COMMENT=	Suite of tools and library to w
 
 PORTSCOUT=	skipv:0.411
 
-OPTIONS=	MYSQL	"Enable MySQL support"		off \
-		OPENSSL	"Enable OpenSSL support"	off \
-		PGSQL	"Enable PostgreSQL support"	off
+OPTIONS_DEFINE=	MYSQL OPENSSL PGSQL
 
 CONFLICTS=	flow-tools-ng-[0-9]*
 
@@ -52,19 +46,19 @@ FLOW_CAPTURE_UID=	174
 FLOW_CAPTURE_GID=	174
 FLOW_CAPTURE_PIDDIR=	${VARDIR}/run/flow-capture
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if defined(WITH_PGSQL)
+.if ${PORT_OPTIONS:MPGSQL}
 CONFIGURE_ARGS+=--with-pgsql="${PREFIX}"
 USE_PGSQL=	yes
 .endif
 
-.if defined(WITH_MYSQL)
+.if ${PORT_OPTIONS:MMYSQL}
 CONFIGURE_ARGS+=--with-mysql="${PREFIX}"
 USE_MYSQL=	yes
 .endif
 
-.if defined(WITH_OPENSSL)
+.if ${PORT_OPTIONS:MOPENSSL}
 CONFIGURE_ARGS+=--with-openssl="${OPENSSLBASE}"
 .endif
 
@@ -85,4 +79,4 @@ post-install:
 	@${SETENV} ${SCRIPTS_ENV} \
 		${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305271122.r4RBMLlc062159>