summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorSahil Tandon <sahil@FreeBSD.org>2010-04-24 20:53:37 +0000
committerSahil Tandon <sahil@FreeBSD.org>2010-04-24 20:53:37 +0000
commit211e69a12e707c63a6edb07417f3269f201e7bfa (patch)
treefc0bdd0ad5d84b9a47725d4e1e389a888c08bdda /net-mgmt
parent- Add support for custom config file location (diff)
- Add option to use SVN instead of CVS
PR: ports/145177 Submitted by: Stephen Fisher <steve@stephen-fisher.com> Approved by: maintainer timeout (26 days) Approved by: wxs@ (mentor)
Notes
Notes: svn path=/head/; revision=253181
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/rancid/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/net-mgmt/rancid/Makefile b/net-mgmt/rancid/Makefile
index 3523f8ac5d0f..81be804dd84f 100644
--- a/net-mgmt/rancid/Makefile
+++ b/net-mgmt/rancid/Makefile
@@ -46,6 +46,15 @@ NEWERCONFIG_FILES1= etc/rancid.conf
NEWERCONFIG_FILES2= etc/lg.conf
NEWCONFIG_FILES= rancid.conf lg.conf
+OPTIONS= SVN "Use Subversion instead of CVS" off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_SVN)
+CONFIGURE_ARGS+= --with-svn
+BUILD_DEPENDS+= svn:${PORTSDIR}/devel/subversion
+.endif
+
pre-everything::
@ ${ECHO} "Make sure your rancid repository is quiet before upgrading; disable rancid cron jobs"