ports/174100: add tomcat-7 support to devel/opengrok

Ashley ashley.wil at gmail.com
Tue Dec 4 02:50:00 UTC 2012


>Number:         174100
>Category:       ports
>Synopsis:       add tomcat-7 support to devel/opengrok
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 04 02:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Ashley
>Release:        FreeBSD 9.1
>Organization:
>Environment:
FreeBSD shikai 9.0-RELEASE FreeBSD 9.0-RELEASE #7: Tue Jan 17 20:46:27 EST 2012     root at shikai:/usr/obj/usr/src/sys/SHIKAI  amd64

>Description:
Please add tomcat-7 support to devel/opengrok
>How-To-Repeat:

>Fix:
--- Makefile.orig       2012-12-04 12:36:14.000000000 +1000
+++ Makefile    2012-12-04 12:38:21.000000000 +1000
@@ -31,7 +31,7 @@ PLIST_SUB=    T=${WEBAPP_DIRS:S|^${LOCALBAS
 CONF_EXT=      sample

 OPTIONS_SINGLE=        AS
-OPTIONS_SINGLE_AS=     TOMCAT5 TOMCAT6 RESIN3
+OPTIONS_SINGLE_AS=     TOMCAT7 TOMCAT5 TOMCAT6 RESIN3
 OPTIONS_DEFAULT=       TOMCAT6

 .include <bsd.port.pre.mk>
@@ -45,6 +45,12 @@ LIBFILES=    ant.jar \
                lucene-spellchecker-3.0.2.jar \
                swing-layout-0.9.jar

+.if ${PORT_OPTIONS:MTOMCAT7}
+WEBAPP_DIRS=   apache-tomcat-7.0
+BUILD_DEPENDS+=        ${LOCALBASE}/apache-tomcat-7.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6
+RUN_DEPENDS+=  ${LOCALBASE}/apache-tomcat-7.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6
+.endif
+
 .if ${PORT_OPTIONS:MTOMCAT6}
 WEBAPP_DIRS=   apache-tomcat-6.0
 BUILD_DEPENDS+=        ${LOCALBASE}/apache-tomcat-6.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list