Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2012 02:48:43 +0000 (UTC)
From:      Jason Helfman <jgh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305329 - head/www/sventon
Message-ID:  <201210060248.q962mh5U084242@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jgh
Date: Sat Oct  6 02:48:43 2012
New Revision: 305329
URL: http://svn.freebsd.org/changeset/ports/305329

Log:
  - adopt optionsNG

Modified:
  head/www/sventon/Makefile

Modified: head/www/sventon/Makefile
==============================================================================
--- head/www/sventon/Makefile	Sat Oct  6 01:25:46 2012	(r305328)
+++ head/www/sventon/Makefile	Sat Oct  6 02:48:43 2012	(r305329)
@@ -1,7 +1,3 @@
-# New ports collection makefile for:	sventon
-# Date created:				22 May 2012
-# Whom:					Jason Helfman <jgh@FreeBSD.org>
-#
 # $FreeBSD$
 
 PORTNAME=	sventon
@@ -19,11 +15,13 @@ USE_ZIP=	yes
 NO_BUILD=	yes
 WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-OPTIONS=	TOMCAT6 "Enable Tomcat 6.x support"     on
+OPTIONS_SINGLE=	AS
+OPTIONS_SINGLE_AS=	TOMCAT6
+OPTIONS_DEFAULT=	TOMCAT6
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_TOMCAT6)
+.if ${PORT_OPTIONS:MTOMCAT6}
 APPHOME=	${LOCALBASE}/apache-tomcat-6.0
 BUILD_DEPENDS+=	${APPHOME}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6
 RUN_DEPENDS+=	${APPHOME}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210060248.q962mh5U084242>