mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Allow the port to build/install/run with Java 1.4
PR: 81458 Submitted by: Scott Balmos <scott.balmos@utoledo.edu> Approved by: maintainer timeout
This commit is contained in:
parent
783a425a47
commit
042daf2242
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140100
@ -10,12 +10,13 @@ PORTVERSION= 5.5.9
|
||||
CATEGORIES= www java
|
||||
MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA}
|
||||
MASTER_SITE_SUBDIR= tomcat-5/v${PORTVERSION}/bin
|
||||
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz
|
||||
|
||||
MAINTAINER= liukang@bjut.edu.cn
|
||||
COMMENT= Open-source Java web server by Apache, 5.5.x branch
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.5+
|
||||
JAVA_VERSION= 1.4+
|
||||
NO_BUILD= YES
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ -56,8 +57,16 @@ PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///} WWWOWN=${USER} WWWGRP=${GROUP}
|
||||
LATEST_LINK= ${APP_SHORTNAME}
|
||||
CONF_EXT= sample
|
||||
PLIST_SUB+= CONF_EXT=${CONF_EXT}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${JAVA_PORT_VERSION:C/^([0-9])\.([0-9])(.*)$/\1.\2/} == "1.4"
|
||||
DISTFILES+= ${PORTNAME}-${PORTVERSION}-compat.tar.gz
|
||||
PLIST_SUB+= JAVA14=""
|
||||
.else
|
||||
PLIST_SUB+= JAVA14="@comment "
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@${ECHO_MSG} "Installation settings:"
|
||||
@${ECHO_MSG} " Destination directory: ${APP_HOME}"
|
||||
|
@ -1,2 +1,4 @@
|
||||
MD5 (jakarta-tomcat-5.5.9.tar.gz) = 35ea177af353446af1de3c762a4f0f4d
|
||||
SIZE (jakarta-tomcat-5.5.9.tar.gz) = 5210986
|
||||
MD5 (jakarta-tomcat-5.5.9-compat.tar.gz) = 33f27b14f0ece9aedccecf7212d73ffc
|
||||
SIZE (jakarta-tomcat-5.5.9-compat.tar.gz) = 1367217
|
||||
|
@ -30,6 +30,7 @@ etc/rc.d/020.jakarta-tomcat55.sh
|
||||
%%T%%/bin/commons-daemon.jar
|
||||
%%T%%/bin/commons-logging-api.jar
|
||||
%%T%%/bin/digest.sh
|
||||
%%JAVA14%%%%T%%/bin/jmx.jar
|
||||
%%T%%/bin/jsvc.tar.gz
|
||||
%%T%%/bin/setclasspath.sh
|
||||
%%T%%/bin/shutdown.sh
|
||||
@ -38,6 +39,8 @@ etc/rc.d/020.jakarta-tomcat55.sh
|
||||
%%T%%/bin/tool-wrapper.sh
|
||||
%%T%%/bin/version.sh
|
||||
%%T%%/common/classes/logging.properties
|
||||
%%JAVA14%%%%T%%/common/endorsed/xercesImpl.jar
|
||||
%%JAVA14%%%%T%%/common/endorsed/xml-apis.jar
|
||||
%%T%%/common/i18n/tomcat-i18n-en.jar
|
||||
%%T%%/common/i18n/tomcat-i18n-es.jar
|
||||
%%T%%/common/i18n/tomcat-i18n-fr.jar
|
||||
|
@ -10,12 +10,13 @@ PORTVERSION= 5.5.9
|
||||
CATEGORIES= www java
|
||||
MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA}
|
||||
MASTER_SITE_SUBDIR= tomcat-5/v${PORTVERSION}/bin
|
||||
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz
|
||||
|
||||
MAINTAINER= liukang@bjut.edu.cn
|
||||
COMMENT= Open-source Java web server by Apache, 5.5.x branch
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.5+
|
||||
JAVA_VERSION= 1.4+
|
||||
NO_BUILD= YES
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ -56,8 +57,16 @@ PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///} WWWOWN=${USER} WWWGRP=${GROUP}
|
||||
LATEST_LINK= ${APP_SHORTNAME}
|
||||
CONF_EXT= sample
|
||||
PLIST_SUB+= CONF_EXT=${CONF_EXT}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${JAVA_PORT_VERSION:C/^([0-9])\.([0-9])(.*)$/\1.\2/} == "1.4"
|
||||
DISTFILES+= ${PORTNAME}-${PORTVERSION}-compat.tar.gz
|
||||
PLIST_SUB+= JAVA14=""
|
||||
.else
|
||||
PLIST_SUB+= JAVA14="@comment "
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@${ECHO_MSG} "Installation settings:"
|
||||
@${ECHO_MSG} " Destination directory: ${APP_HOME}"
|
||||
|
@ -1,2 +1,4 @@
|
||||
MD5 (jakarta-tomcat-5.5.9.tar.gz) = 35ea177af353446af1de3c762a4f0f4d
|
||||
SIZE (jakarta-tomcat-5.5.9.tar.gz) = 5210986
|
||||
MD5 (jakarta-tomcat-5.5.9-compat.tar.gz) = 33f27b14f0ece9aedccecf7212d73ffc
|
||||
SIZE (jakarta-tomcat-5.5.9-compat.tar.gz) = 1367217
|
||||
|
@ -30,6 +30,7 @@ etc/rc.d/020.jakarta-tomcat55.sh
|
||||
%%T%%/bin/commons-daemon.jar
|
||||
%%T%%/bin/commons-logging-api.jar
|
||||
%%T%%/bin/digest.sh
|
||||
%%JAVA14%%%%T%%/bin/jmx.jar
|
||||
%%T%%/bin/jsvc.tar.gz
|
||||
%%T%%/bin/setclasspath.sh
|
||||
%%T%%/bin/shutdown.sh
|
||||
@ -38,6 +39,8 @@ etc/rc.d/020.jakarta-tomcat55.sh
|
||||
%%T%%/bin/tool-wrapper.sh
|
||||
%%T%%/bin/version.sh
|
||||
%%T%%/common/classes/logging.properties
|
||||
%%JAVA14%%%%T%%/common/endorsed/xercesImpl.jar
|
||||
%%JAVA14%%%%T%%/common/endorsed/xml-apis.jar
|
||||
%%T%%/common/i18n/tomcat-i18n-en.jar
|
||||
%%T%%/common/i18n/tomcat-i18n-es.jar
|
||||
%%T%%/common/i18n/tomcat-i18n-fr.jar
|
||||
|
@ -10,12 +10,13 @@ PORTVERSION= 5.5.9
|
||||
CATEGORIES= www java
|
||||
MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA}
|
||||
MASTER_SITE_SUBDIR= tomcat-5/v${PORTVERSION}/bin
|
||||
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz
|
||||
|
||||
MAINTAINER= liukang@bjut.edu.cn
|
||||
COMMENT= Open-source Java web server by Apache, 5.5.x branch
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.5+
|
||||
JAVA_VERSION= 1.4+
|
||||
NO_BUILD= YES
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ -56,8 +57,16 @@ PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///} WWWOWN=${USER} WWWGRP=${GROUP}
|
||||
LATEST_LINK= ${APP_SHORTNAME}
|
||||
CONF_EXT= sample
|
||||
PLIST_SUB+= CONF_EXT=${CONF_EXT}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${JAVA_PORT_VERSION:C/^([0-9])\.([0-9])(.*)$/\1.\2/} == "1.4"
|
||||
DISTFILES+= ${PORTNAME}-${PORTVERSION}-compat.tar.gz
|
||||
PLIST_SUB+= JAVA14=""
|
||||
.else
|
||||
PLIST_SUB+= JAVA14="@comment "
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@${ECHO_MSG} "Installation settings:"
|
||||
@${ECHO_MSG} " Destination directory: ${APP_HOME}"
|
||||
|
@ -1,2 +1,4 @@
|
||||
MD5 (jakarta-tomcat-5.5.9.tar.gz) = 35ea177af353446af1de3c762a4f0f4d
|
||||
SIZE (jakarta-tomcat-5.5.9.tar.gz) = 5210986
|
||||
MD5 (jakarta-tomcat-5.5.9-compat.tar.gz) = 33f27b14f0ece9aedccecf7212d73ffc
|
||||
SIZE (jakarta-tomcat-5.5.9-compat.tar.gz) = 1367217
|
||||
|
@ -30,6 +30,7 @@ etc/rc.d/020.jakarta-tomcat55.sh
|
||||
%%T%%/bin/commons-daemon.jar
|
||||
%%T%%/bin/commons-logging-api.jar
|
||||
%%T%%/bin/digest.sh
|
||||
%%JAVA14%%%%T%%/bin/jmx.jar
|
||||
%%T%%/bin/jsvc.tar.gz
|
||||
%%T%%/bin/setclasspath.sh
|
||||
%%T%%/bin/shutdown.sh
|
||||
@ -38,6 +39,8 @@ etc/rc.d/020.jakarta-tomcat55.sh
|
||||
%%T%%/bin/tool-wrapper.sh
|
||||
%%T%%/bin/version.sh
|
||||
%%T%%/common/classes/logging.properties
|
||||
%%JAVA14%%%%T%%/common/endorsed/xercesImpl.jar
|
||||
%%JAVA14%%%%T%%/common/endorsed/xml-apis.jar
|
||||
%%T%%/common/i18n/tomcat-i18n-en.jar
|
||||
%%T%%/common/i18n/tomcat-i18n-es.jar
|
||||
%%T%%/common/i18n/tomcat-i18n-fr.jar
|
||||
|
@ -10,12 +10,13 @@ PORTVERSION= 5.5.9
|
||||
CATEGORIES= www java
|
||||
MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA}
|
||||
MASTER_SITE_SUBDIR= tomcat-5/v${PORTVERSION}/bin
|
||||
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz
|
||||
|
||||
MAINTAINER= liukang@bjut.edu.cn
|
||||
COMMENT= Open-source Java web server by Apache, 5.5.x branch
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.5+
|
||||
JAVA_VERSION= 1.4+
|
||||
NO_BUILD= YES
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ -56,8 +57,16 @@ PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///} WWWOWN=${USER} WWWGRP=${GROUP}
|
||||
LATEST_LINK= ${APP_SHORTNAME}
|
||||
CONF_EXT= sample
|
||||
PLIST_SUB+= CONF_EXT=${CONF_EXT}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${JAVA_PORT_VERSION:C/^([0-9])\.([0-9])(.*)$/\1.\2/} == "1.4"
|
||||
DISTFILES+= ${PORTNAME}-${PORTVERSION}-compat.tar.gz
|
||||
PLIST_SUB+= JAVA14=""
|
||||
.else
|
||||
PLIST_SUB+= JAVA14="@comment "
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@${ECHO_MSG} "Installation settings:"
|
||||
@${ECHO_MSG} " Destination directory: ${APP_HOME}"
|
||||
|
@ -1,2 +1,4 @@
|
||||
MD5 (jakarta-tomcat-5.5.9.tar.gz) = 35ea177af353446af1de3c762a4f0f4d
|
||||
SIZE (jakarta-tomcat-5.5.9.tar.gz) = 5210986
|
||||
MD5 (jakarta-tomcat-5.5.9-compat.tar.gz) = 33f27b14f0ece9aedccecf7212d73ffc
|
||||
SIZE (jakarta-tomcat-5.5.9-compat.tar.gz) = 1367217
|
||||
|
@ -30,6 +30,7 @@ etc/rc.d/020.jakarta-tomcat55.sh
|
||||
%%T%%/bin/commons-daemon.jar
|
||||
%%T%%/bin/commons-logging-api.jar
|
||||
%%T%%/bin/digest.sh
|
||||
%%JAVA14%%%%T%%/bin/jmx.jar
|
||||
%%T%%/bin/jsvc.tar.gz
|
||||
%%T%%/bin/setclasspath.sh
|
||||
%%T%%/bin/shutdown.sh
|
||||
@ -38,6 +39,8 @@ etc/rc.d/020.jakarta-tomcat55.sh
|
||||
%%T%%/bin/tool-wrapper.sh
|
||||
%%T%%/bin/version.sh
|
||||
%%T%%/common/classes/logging.properties
|
||||
%%JAVA14%%%%T%%/common/endorsed/xercesImpl.jar
|
||||
%%JAVA14%%%%T%%/common/endorsed/xml-apis.jar
|
||||
%%T%%/common/i18n/tomcat-i18n-en.jar
|
||||
%%T%%/common/i18n/tomcat-i18n-es.jar
|
||||
%%T%%/common/i18n/tomcat-i18n-fr.jar
|
||||
|
Loading…
Reference in New Issue
Block a user