aboutsummaryrefslogtreecommitdiffstats
path: root/www/geronimo
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-10-06 00:30:22 +0800
committerbapt <bapt@FreeBSD.org>2012-10-06 00:30:22 +0800
commitd0cd06aff65fc256082ca091380ca160b95e83f3 (patch)
tree303c57246d9d161a8ea8172c4bbf1c826e90f8d0 /www/geronimo
parent4eafc3166246adc01371e1450a8ec579e4e0c614 (diff)
downloadfreebsd-ports-gnome-d0cd06aff65fc256082ca091380ca160b95e83f3.tar.gz
freebsd-ports-gnome-d0cd06aff65fc256082ca091380ca160b95e83f3.tar.zst
freebsd-ports-gnome-d0cd06aff65fc256082ca091380ca160b95e83f3.zip
Convert to new options framework
Diffstat (limited to 'www/geronimo')
-rw-r--r--www/geronimo/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/www/geronimo/Makefile b/www/geronimo/Makefile
index ff62080aa133..e842555eb92f 100644
--- a/www/geronimo/Makefile
+++ b/www/geronimo/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: geronimo
-# Date created: 26 Apr 2007
-# Whom: Nemo Liu <nemoliu@FreeBSD.org>
-#
+# Created by: Nemo Liu <nemoliu@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= geronimo
DISTVERSION= 3.0-beta-1
@@ -22,11 +18,12 @@ NO_BUILD= YES
USE_RC_SUBR= geronimo3
SUB_FILES= pkg-deinstall
-OPTIONS= TOMCAT7 "Use Tomcat instead of default Jetty" off
+OPTIONS_DEFINE= TOMCAT7
+TOMCAT7_DESC= Use Tomcat instead of default Jetty
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_TOMCAT7)
+.if ${PORT_OPTIONS:MTOMCAT7}
WEBSERVER= tomcat7
.else
WEBSERVER= jetty8
@@ -90,4 +87,4 @@ post-install:
@${FIND} -s -d ${WRKSRC} -type d | \
${SED} -ne 's,^${WRKSRC},@dirrm ${APP_HOME:S,${PREFIX}/,,},p' >> ${TMPPLIST}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>