aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/rancid/Makefile
diff options
context:
space:
mode:
authorsahil <sahil@FreeBSD.org>2010-04-25 04:53:37 +0800
committersahil <sahil@FreeBSD.org>2010-04-25 04:53:37 +0800
commit9e2e153d47eae450c37eccfe1100e6d05af8d2db (patch)
treec0e754c5062c759329258aa9b44576947537ecda /net-mgmt/rancid/Makefile
parentf8632d0c00da9edf3dd7febd751ab730cc45c84a (diff)
downloadfreebsd-ports-gnome-9e2e153d47eae450c37eccfe1100e6d05af8d2db.tar.gz
freebsd-ports-gnome-9e2e153d47eae450c37eccfe1100e6d05af8d2db.tar.zst
freebsd-ports-gnome-9e2e153d47eae450c37eccfe1100e6d05af8d2db.zip
- 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)
Diffstat (limited to 'net-mgmt/rancid/Makefile')
-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"