aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2012-10-28 19:41:44 +0000
committerGabor Pali <pgj@FreeBSD.org>2012-10-28 19:41:44 +0000
commit5abd33121cc2bdb09616b71ce4a48c5158819428 (patch)
treed8af78114d2ca6ef1443b06238c677641e35d1d5 /net-mgmt
parent912a7b12e4e109551df76471e1e446eb4d5a8b37 (diff)
downloadports-5abd33121cc2bdb09616b71ce4a48c5158819428.tar.gz
ports-5abd33121cc2bdb09616b71ce4a48c5158819428.zip
- Convert options to the new format
PR: ports/172525 Submitted by: pgj Approved by: maintainer Feature safe: yes
Notes
Notes: svn path=/head/; revision=306560
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/rancid/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/net-mgmt/rancid/Makefile b/net-mgmt/rancid/Makefile
index e9f76966e498..ed334888e281 100644
--- a/net-mgmt/rancid/Makefile
+++ b/net-mgmt/rancid/Makefile
@@ -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::