[127222] trunk/dports/www/mod_jk/Portfile

cal at macports.org cal at macports.org
Thu Oct 23 12:02:54 PDT 2014


Revision: 127222
          https://trac.macports.org/changeset/127222
Author:   cal at macports.org
Date:     2014-10-23 12:02:54 -0700 (Thu, 23 Oct 2014)
Log Message:
-----------
mod_jk: whitespace only, conform to modeline

Modified Paths:
--------------
    trunk/dports/www/mod_jk/Portfile

Modified: trunk/dports/www/mod_jk/Portfile
===================================================================
--- trunk/dports/www/mod_jk/Portfile	2014-10-23 19:01:45 UTC (rev 127221)
+++ trunk/dports/www/mod_jk/Portfile	2014-10-23 19:02:54 UTC (rev 127222)
@@ -3,50 +3,50 @@
 
 PortSystem 1.0
 
-name				mod_jk
-version				1.2.40
+name                mod_jk
+version             1.2.40
 
-categories			www java
-license				Apache-2 BSD
-maintainers			FreeBSD.org:girgen
-platforms			darwin
+categories          www java
+license             Apache-2 BSD
+maintainers         FreeBSD.org:girgen
+platforms           darwin
 
-description			Apache mod_jk remote server connector
-long_description	mod_jk is the connector supported by apache for communication between \
-					the apache server and tomcat. mod_jk2, which had for some time superceeded mod_jk, \
-					has now become officially 'unsupported' by the Apache group. \
-					mod_jk allows apache to be used refer some request for processing by tomcat or any \
-					other server that also supports the ajp13 protocol. \
-					Apache 2.1 will contain a replacement for mod_jk(2) called mod_proxy_ajp. \
-					At this time (this) mod_jk port supports only apache2, not apache 1.x.
-homepage			http://tomcat.apache.org/connectors-doc/
+description         Apache mod_jk remote server connector
+long_description    mod_jk is the connector supported by apache for communication between \
+                    the apache server and tomcat. mod_jk2, which had for some time superceeded mod_jk, \
+                    has now become officially 'unsupported' by the Apache group. \
+                    mod_jk allows apache to be used refer some request for processing by tomcat or any \
+                    other server that also supports the ajp13 protocol. \
+                    Apache 2.1 will contain a replacement for mod_jk(2) called mod_proxy_ajp. \
+                    At this time (this) mod_jk port supports only apache2, not apache 1.x.
+homepage            http://tomcat.apache.org/connectors-doc/
 
-distname			tomcat-connectors-${version}-src
-master_sites		apache:tomcat/tomcat-connectors/jk
+distname            tomcat-connectors-${version}-src
+master_sites        apache:tomcat/tomcat-connectors/jk
 
 checksums           rmd160  7e5f8d48405239076b9ce0dc21978369e36fcd7a \
-					sha256  895e347c4dff74049a848603fb29958e6cf429ea0fc708d514b3a8958236705d
+                    sha256  895e347c4dff74049a848603fb29958e6cf429ea0fc708d514b3a8958236705d
 
-depends_build		path:apache2/bin/httpd:apache2
-worksrcdir			${distname}/native
+depends_build       path:apache2/bin/httpd:apache2
+worksrcdir          ${distname}/native
 
 
-configure.args		--with-apxs=${prefix}/apache2/bin/apxs
+configure.args      --with-apxs=${prefix}/apache2/bin/apxs
 
 set apachedir       apache2
 
 pre-configure {
-	# Check to be sure the apache2 port has been updated, and
-	# warn the user if it hasn't been.
-	# In port versions prior to 2.0.52_1, apxs didn't know where libdir was.
-	# That information is needed by the jk configure script.
-	set apxs ${prefix}/${apachedir}/bin/apxs
-	if { [file executable ${apxs}] } {
-		set libdir [exec ${apxs} -q LIBDIR]
-		if { 0 == [string length ${libdir}] || ![file isdirectory ${libdir}] } {
-			error "Your apache2 installation doesn't know where its library directory is. Please update your apache2 port."
-		}
-	}
+    # Check to be sure the apache2 port has been updated, and
+    # warn the user if it hasn't been.
+    # In port versions prior to 2.0.52_1, apxs didn't know where libdir was.
+    # That information is needed by the jk configure script.
+    set apxs ${prefix}/${apachedir}/bin/apxs
+    if { [file executable ${apxs}] } {
+        set libdir [exec ${apxs} -q LIBDIR]
+        if { 0 == [string length ${libdir}] || ![file isdirectory ${libdir}] } {
+            error "Your apache2 installation doesn't know where its library directory is. Please update your apache2 port."
+        }
+    }
 }
 
 if {[variant_isset universal]} {
@@ -57,42 +57,42 @@
 }
 
 destroot {
-	# Install the connector for apache2
-	xinstall -m 755 -d \
-		${destroot}${prefix}/${apachedir}/modules \
-		${destroot}${prefix}/${apachedir}/conf
-		
-	xinstall -m 644 \
-		${worksrcpath}/apache-2.0/mod_jk.so \
-		${destroot}${prefix}/${apachedir}/modules
-		
-	xinstall -m 644 ${worksrcpath}/../conf/workers.properties.minimal \
-		${destroot}${prefix}/${apachedir}/conf/workers.properties.sample
+    # Install the connector for apache2
+    xinstall -m 755 -d \
+        ${destroot}${prefix}/${apachedir}/modules \
+        ${destroot}${prefix}/${apachedir}/conf
+
+    xinstall -m 644 \
+        ${worksrcpath}/apache-2.0/mod_jk.so \
+        ${destroot}${prefix}/${apachedir}/modules
+
+    xinstall -m 644 ${worksrcpath}/../conf/workers.properties.minimal \
+        ${destroot}${prefix}/${apachedir}/conf/workers.properties.sample
 }
 
 
 post-install {
-	ui_msg "#"
-	ui_msg "# Example file ${prefix}/${apachedir}/conf/workers.properties.sample has"
-	ui_msg "# been installed to illustrate use of the jk connector between "
-	ui_msg "# apache2 and tomcat."
-	ui_msg "#"
-	ui_msg "# You will want to create a working copy of this file as workers.properties"
-	ui_msg "# and configure the uri mappings within it, or by using directives within httpd.conf."
-	ui_msg "#"
-	ui_msg "# Be sure to also add the following line to your httpd.conf:"
-	ui_msg "#"
-	ui_msg "#     LoadModule jk_module modules/mod_jk.so"
-	ui_msg "#"
+    ui_msg "#"
+    ui_msg "# Example file ${prefix}/${apachedir}/conf/workers.properties.sample has"
+    ui_msg "# been installed to illustrate use of the jk connector between "
+    ui_msg "# apache2 and tomcat."
+    ui_msg "#"
+    ui_msg "# You will want to create a working copy of this file as workers.properties"
+    ui_msg "# and configure the uri mappings within it, or by using directives within httpd.conf."
+    ui_msg "#"
+    ui_msg "# Be sure to also add the following line to your httpd.conf:"
+    ui_msg "#"
+    ui_msg "#     LoadModule jk_module modules/mod_jk.so"
+    ui_msg "#"
 }
 
 variant apache20 description "install for apache 2.0.x" {
     global apachedir
     set apachedir apache20
-    depends_build-delete	path:apache2/bin/httpd:apache2
-    depends_build-append	path:apache20/bin/httpd:apache20
-    configure.args-delete	--with-apxs=${prefix}/apache2/bin/apxs
-    configure.args-append	--with-apxs=${prefix}/apache20/bin/apxs
+    depends_build-delete    path:apache2/bin/httpd:apache2
+    depends_build-append    path:apache20/bin/httpd:apache20
+    configure.args-delete   --with-apxs=${prefix}/apache2/bin/apxs
+    configure.args-append   --with-apxs=${prefix}/apache20/bin/apxs
 }
 
 livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141023/b0eb5929/attachment.html>


More information about the macports-changes mailing list