Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2012 02:44:24 GMT
From:      Ashley <ashley.wil@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/174100: add tomcat-7 support to devel/opengrok
Message-ID:  <201212040244.qB42iOCU066493@red.freebsd.org>
Resent-Message-ID: <201212040250.qB42o0cP022361@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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