Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2012 19:41:44 +0000 (UTC)
From:      Gabor Pali <pgj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306560 - head/net-mgmt/rancid
Message-ID:  <201210281941.q9SJfiTD084752@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pgj
Date: Sun Oct 28 19:41:44 2012
New Revision: 306560
URL: http://svn.freebsd.org/changeset/ports/306560

Log:
  - Convert options to the new format
  
  PR:		ports/172525
  Submitted by:	pgj
  Approved by:	maintainer
  Feature safe:	yes

Modified:
  head/net-mgmt/rancid/Makefile

Modified: head/net-mgmt/rancid/Makefile
==============================================================================
--- head/net-mgmt/rancid/Makefile	Sun Oct 28 18:41:38 2012	(r306559)
+++ head/net-mgmt/rancid/Makefile	Sun Oct 28 19:41:44 2012	(r306560)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	rancid
-# Date created:		3 June 2002
-# Whom:			Janos.Mohacsi@bsd.hu
-#
+# Created by: Janos.Mohacsi@bsd.hu
 # $FreeBSD$
-#
 
 PORTNAME=	rancid
 PORTVERSION=	2.3.8
@@ -46,13 +42,18 @@ NEWERCONFIG_FILES1=	etc/rancid.conf
 NEWERCONFIG_FILES2=	etc/lg.conf
 NEWCONFIG_FILES=	rancid.conf lg.conf
 
-OPTIONS=		SVN "Use Subversion instead of CVS" off
+OPTIONS_DEFINE=		SVN
+OPTIONS_DEFAULT=	
+
+SVN_DESC=		Use Subversion instead of CVS
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_SVN)
+.if ${PORT_OPTIONS:MSVN}
 CONFIGURE_ARGS+=	--with-svn
 BUILD_DEPENDS+=		svn:${PORTSDIR}/devel/subversion
+.else
+CONFIGURE_ARGS+=	--without-svn
 .endif
 
 pre-everything::



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