[127221] trunk/dports/www/mod_jk/Portfile
cal at macports.org
cal at macports.org
Thu Oct 23 12:01:45 PDT 2014
Revision: 127221
https://trac.macports.org/changeset/127221
Author: cal at macports.org
Date: 2014-10-23 12:01:45 -0700 (Thu, 23 Oct 2014)
Log Message:
-----------
mod_jk: update to 1.2.40, remove jni variant due to upstream removal, add new maintainer, closes #41077
Modified Paths:
--------------
trunk/dports/www/mod_jk/Portfile
Modified: trunk/dports/www/mod_jk/Portfile
===================================================================
--- trunk/dports/www/mod_jk/Portfile 2014-10-23 18:57:44 UTC (rev 127220)
+++ trunk/dports/www/mod_jk/Portfile 2014-10-23 19:01:45 UTC (rev 127221)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -3,9 +4,9 @@
name mod_jk
-version 1.2.27
+version 1.2.40
categories www java
license Apache-2 BSD
-maintainers nomaintainer
+maintainers FreeBSD.org:girgen
platforms darwin
@@ -21,11 +22,10 @@
homepage http://tomcat.apache.org/connectors-doc/
distname tomcat-connectors-${version}-src
-master_sites http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-${version}
+master_sites apache:tomcat/tomcat-connectors/jk
-checksums md5 a15cc9e3813ef5b081c7de10e6a1fbed \
- sha1 361f8aaa1844ac76a5dda741152968190b34347b \
- rmd160 cb872030d4325ba15d0038c6c7b298213768300a
+checksums rmd160 7e5f8d48405239076b9ce0dc21978369e36fcd7a \
+ sha256 895e347c4dff74049a848603fb29958e6cf429ea0fc708d514b3a8958236705d
depends_build path:apache2/bin/httpd:apache2
worksrcdir ${distname}/native
@@ -35,29 +35,6 @@
set apachedir apache2
-# Determine a valid value for javahome
-if { [llength [array get env "JAVA_HOME"]] > 0 } {
- set javahome $env(JAVA_HOME)
-} else {
- set javahome ""
-}
-if { ![file isdirectory ${javahome}] } {
- if { ${os.platform} eq "darwin" } {
- if { [file isdirectory "/System/Library/Frameworks/JavaVM.framework/Home"] } {
- set javahome "/System/Library/Frameworks/JavaVM.framework/Home"
- }
- }
-}
-if { ![file isdirectory ${javahome}] } {
- pre-fetch {
- error "This port needs a reasonable value for JAVA_HOME, but couldn't automatically determine one: please set the environment variable."
- }
-}
-
-variant jni description {Build jni_connect.so and enable jni_worker} {
- configure.args-append --with-java-home=${javahome} --enable-jni
-}
-
pre-configure {
# Check to be sure the apache2 port has been updated, and
# warn the user if it hasn't been.
@@ -89,12 +66,6 @@
${worksrcpath}/apache-2.0/mod_jk.so \
${destroot}${prefix}/${apachedir}/modules
- if {[variant_isset jni]} {
- xinstall -m 644 \
- ${worksrcpath}/jni/jk_jnicb.so \
- ${destroot}${prefix}/${apachedir}/modules
- }
-
xinstall -m 644 ${worksrcpath}/../conf/workers.properties.minimal \
${destroot}${prefix}/${apachedir}/conf/workers.properties.sample
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141023/3ff58a07/attachment.html>
More information about the macports-changes
mailing list