[108304] trunk/dports/java/tomcat-native/Portfile

larryv at macports.org larryv at macports.org
Thu Jul 18 11:49:08 PDT 2013


Revision: 108304
          https://trac.macports.org/changeset/108304
Author:   larryv at macports.org
Date:     2013-07-18 11:49:07 -0700 (Thu, 18 Jul 2013)
Log Message:
-----------
tomcat-native: Add modeline, fix whitespace, and tweak formatting.

Modified Paths:
--------------
    trunk/dports/java/tomcat-native/Portfile

Modified: trunk/dports/java/tomcat-native/Portfile
===================================================================
--- trunk/dports/java/tomcat-native/Portfile	2013-07-18 13:06:48 UTC (rev 108303)
+++ trunk/dports/java/tomcat-native/Portfile	2013-07-18 18:49:07 UTC (rev 108304)
@@ -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
@@ -2,48 +3,48 @@
 
-name				tomcat-native
-version				1.1.24
+name                tomcat-native
+version             1.1.24
 
-categories			java www
-maintainers			nomaintainer
+categories          java www
+maintainers         nomaintainer
 license             Apache-2
-platforms			darwin
+platforms           darwin
 
-description			Tomcat 5 HTTP Server native library support.
-long_description	This port provides access to native apr and other functions \
-					utilized by tomcat.
-homepage			http://tomcat.apache.org/
+description         Tomcat 5 HTTP Server native library support.
+long_description    This port provides access to native apr and other \
+                    functions utilized by tomcat.
+homepage            http://tomcat.apache.org/
 
-master_sites		apache:tomcat/tomcat-connectors/native/${version}/source/
-checksums			rmd160 f22514cfffdb48d9436c460d30b5a936736defda \
-					sha256 0377849f42e32eaa6a8feaa639fa2d209dd4e34a3503d56a579b014aa2d5b349
+master_sites        apache:tomcat/tomcat-connectors/native/${version}/source/
+checksums           rmd160  f22514cfffdb48d9436c460d30b5a936736defda \
+                    sha256  0377849f42e32eaa6a8feaa639fa2d209dd4e34a3503d56a579b014aa2d5b349
 
-distname			${name}-${version}-src
-worksrcdir			${distname}/jni/native
+distname            ${name}-${version}-src
+worksrcdir          ${distname}/jni/native
 
-depends_lib			port:apr \
-					port:openssl
+depends_lib         port:apr \
+                    port:openssl
 
-configure.args		--with-apr=${prefix} \
-					--with-ssl=${prefix} \
-					--with-java-platform=2
+configure.args      --with-apr=${prefix} \
+                    --with-ssl=${prefix} \
+                    --with-java-platform=2
 
 if {[info exists env(JAVA_HOME)]} {
-	configure.args-append --with-java-home="$env(JAVA_HOME)"
+    configure.args-append   --with-java-home="$env(JAVA_HOME)"
 } else {
-    configure.args-append --with-java-home="/System/Library/Frameworks/JavaVM.framework"
+    configure.args-append   --with-java-home="/System/Library/Frameworks/JavaVM.framework"
 }
 
-build.args			EXTRA_LDFLAGS="-shrext .jnilib"
+build.args          EXTRA_LDFLAGS="-shrext .jnilib"
 
 notes "
-	To integrate this into tomcat, add something like
-	-Djava.library.path=${prefix} to the tomcat options.
+To integrate this into tomcat, add something like
+-Djava.library.path=${prefix} to the tomcat options.
 
-	You then need to configure a Connector in server.xml
-	with the appropriate apr protocol class for your use,
-	for instance:
-		protocol=\"org.apache.coyote.http11.Http11AprProtocol\",
-		protocol=\"org.apache.coyote.ajp.AjpAprProtocol\"
+You then need to configure a Connector in server.xml
+with the appropriate apr protocol class for your use,
+for instance:
+    protocol=\"org.apache.coyote.http11.Http11AprProtocol\",
+    protocol=\"org.apache.coyote.ajp.AjpAprProtocol\"
 
-	As in:
+As in:
     <!-- Define a non-SSL HTTP/1.1 Connector on port 8081 using apr -->
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130718/fff3efa6/attachment.html>


More information about the macports-changes mailing list