svn commit: r306560 - head/net-mgmt/rancid
Gabor Pali
pgj at FreeBSD.org
Sun Oct 28 19:41:44 UTC 2012
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 at bsd.hu
-#
+# Created by: Janos.Mohacsi at 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::
More information about the svn-ports-head
mailing list