diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2012-10-29 03:41:44 +0800 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2012-10-29 03:41:44 +0800 |
commit | 5abd33121cc2bdb09616b71ce4a48c5158819428 (patch) | |
tree | d8af78114d2ca6ef1443b06238c677641e35d1d5 /net-mgmt | |
parent | 912a7b12e4e109551df76471e1e446eb4d5a8b37 (diff) | |
download | freebsd-ports-gnome-5abd33121cc2bdb09616b71ce4a48c5158819428.tar.gz freebsd-ports-gnome-5abd33121cc2bdb09616b71ce4a48c5158819428.tar.zst freebsd-ports-gnome-5abd33121cc2bdb09616b71ce4a48c5158819428.zip |
- Convert options to the new format
PR: ports/172525
Submitted by: pgj
Approved by: maintainer
Feature safe: yes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/rancid/Makefile | 15 |
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:: |