Changeset 108304 for trunk/dports/java


Ignore:
Timestamp:
Jul 18, 2013, 6:49:07 PM (6 years ago)
Author:
larryv@…
Message:

tomcat-native: Add modeline, fix whitespace, and tweak formatting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/tomcat-native/Portfile

    r101040 r108304  
     1# -*- 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
    12# $Id$
    23
    34PortSystem 1.0
    45
    5 name                            tomcat-native
    6 version                         1.1.24
     6name                tomcat-native
     7version             1.1.24
    78
    8 categories                      java www
    9 maintainers                     nomaintainer
     9categories          java www
     10maintainers         nomaintainer
    1011license             Apache-2
    11 platforms                       darwin
     12platforms           darwin
    1213
    13 description                     Tomcat 5 HTTP Server native library support.
    14 long_description        This port provides access to native apr and other functions \
    15                                         utilized by tomcat.
    16 homepage                        http://tomcat.apache.org/
     14description         Tomcat 5 HTTP Server native library support.
     15long_description    This port provides access to native apr and other \
     16                    functions utilized by tomcat.
     17homepage            http://tomcat.apache.org/
    1718
    18 master_sites            apache:tomcat/tomcat-connectors/native/${version}/source/
    19 checksums                       rmd160 f22514cfffdb48d9436c460d30b5a936736defda \
    20                                         sha256 0377849f42e32eaa6a8feaa639fa2d209dd4e34a3503d56a579b014aa2d5b349
     19master_sites        apache:tomcat/tomcat-connectors/native/${version}/source/
     20checksums           rmd160 f22514cfffdb48d9436c460d30b5a936736defda \
     21                    sha256 0377849f42e32eaa6a8feaa639fa2d209dd4e34a3503d56a579b014aa2d5b349
    2122
    22 distname                        ${name}-${version}-src
    23 worksrcdir                      ${distname}/jni/native
     23distname            ${name}-${version}-src
     24worksrcdir          ${distname}/jni/native
    2425
    25 depends_lib                     port:apr \
    26                                         port:openssl
     26depends_lib         port:apr \
     27                    port:openssl
    2728
    28 configure.args          --with-apr=${prefix} \
    29                                         --with-ssl=${prefix} \
    30                                         --with-java-platform=2
     29configure.args      --with-apr=${prefix} \
     30                    --with-ssl=${prefix} \
     31                    --with-java-platform=2
    3132
    3233if {[info exists env(JAVA_HOME)]} {
    33         configure.args-append --with-java-home="$env(JAVA_HOME)"
     34    configure.args-append  --with-java-home="$env(JAVA_HOME)"
    3435} else {
    35     configure.args-append --with-java-home="/System/Library/Frameworks/JavaVM.framework"
     36    configure.args-append   --with-java-home="/System/Library/Frameworks/JavaVM.framework"
    3637}
    3738
    38 build.args                      EXTRA_LDFLAGS="-shrext .jnilib"
     39build.args          EXTRA_LDFLAGS="-shrext .jnilib"
    3940
    4041notes "
    41         To integrate this into tomcat, add something like
    42         -Djava.library.path=${prefix} to the tomcat options.
     42To integrate this into tomcat, add something like
     43-Djava.library.path=${prefix} to the tomcat options.
    4344
    44         You then need to configure a Connector in server.xml
    45         with the appropriate apr protocol class for your use,
    46         for instance:
    47                 protocol=\"org.apache.coyote.http11.Http11AprProtocol\",
    48                 protocol=\"org.apache.coyote.ajp.AjpAprProtocol\"
     45You then need to configure a Connector in server.xml
     46with the appropriate apr protocol class for your use,
     47for instance:
     48    protocol=\"org.apache.coyote.http11.Http11AprProtocol\",
     49    protocol=\"org.apache.coyote.ajp.AjpAprProtocol\"
    4950
    50         As in:
     51As in:
    5152    <!-- Define a non-SSL HTTP/1.1 Connector on port 8081 using apr -->
    5253    <Connector port=\"8081\" maxHttpHeaderSize=\"8192\"
Note: See TracChangeset for help on using the changeset viewer.