aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/rancid/Makefile
diff options
context:
space:
mode:
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"