aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-10-06 02:48:43 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-10-06 02:48:43 +0000
commit6330d3755ff71423a2ab8c857fde8410ee8da5dd (patch)
tree2edd569cd9bcd0ed0645fc9ceeecca4af3a62619 /www
parent8387f016b0b5ddeaa2f0c4d0d843d29a01778ac7 (diff)
downloadports-6330d3755ff71423a2ab8c857fde8410ee8da5dd.tar.gz
ports-6330d3755ff71423a2ab8c857fde8410ee8da5dd.zip
- adopt optionsNG
Notes
Notes: svn path=/head/; revision=305329
Diffstat (limited to 'www')
-rw-r--r--www/sventon/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/www/sventon/Makefile b/www/sventon/Makefile
index 5739402f6004..204e919e5fc2 100644
--- a/www/sventon/Makefile
+++ b/www/sventon/Makefile
@@ -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