Ignore:
Timestamp:
Jul 13, 2012, 7:12:30 PM (8 years ago)
Author:
blair@…
Message:

spring-*: whitespace changes: switch to 4-space indentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/spring-framework30/Portfile

    r95413 r95469  
    33PortSystem 1.0
    44
    5 name                    spring-framework30
    6 version                 3.0.7
    7 set full_version        ${version}.RELEASE
     5name            spring-framework30
     6version         3.0.7
     7set full_version ${version}.RELEASE
    88
    9 categories              java
    10 license                 Apache-2.0
    11 maintainers             blair
    12 platforms               darwin
     9categories      java
     10license         Apache-2.0
     11maintainers     blair
     12platforms       darwin
    1313
    14 description             Spring application framework for Java
    15 long_description        Spring is a layered Java/J2EE application framework.
    16 homepage                http://www.springsource.org/about
     14description     Spring application framework for Java
     15long_description \
     16    Spring is a layered Java/J2EE application framework.
     17homepage        http://www.springsource.org/about
    1718
    18 distname                spring-framework-${full_version}-with-docs
    19 master_sites            http://s3.amazonaws.com/dist.springframework.org/release/SPR
    20 checksums               md5 2126ea7f6659e282e62fc36c152e98d7 \
    21                         sha1 9f5c5ae3f11f9a9f51387e27e7a3da475e13bf1c \
    22                         rmd160 b35c1c60b8c1b90fc459b5a6daacf920ad54ee5b
     19distname        spring-framework-${full_version}-with-docs
     20master_sites    http://s3.amazonaws.com/dist.springframework.org/release/SPR
     21checksums       md5 2126ea7f6659e282e62fc36c152e98d7 \
     22                sha1 9f5c5ae3f11f9a9f51387e27e7a3da475e13bf1c \
     23                rmd160 b35c1c60b8c1b90fc459b5a6daacf920ad54ee5b
    2324
    24 use_zip                 yes
     25use_zip         yes
    2526
    26 conflicts               spring-framework31
    27 depends_lib             bin:java:kaffe
     27conflicts       spring-framework31
     28depends_lib     bin:java:kaffe
    2829
    29 use_configure           no
     30use_configure   no
    3031
    31 worksrcdir              spring-framework-${full_version}
     32worksrcdir      spring-framework-${full_version}
    3233
    33 build.cmd               true
     34build.cmd       true
    3435
    3536destroot {
    36         # Ensure needed directories
    37         xinstall -m 755 -d ${destroot}${prefix}/share \
    38                 ${destroot}${prefix}/share/doc/${name} \
    39                 ${destroot}${prefix}/share/examples
     37    # Ensure needed directories
     38    xinstall -m 755 -d \
     39        ${destroot}${prefix}/share \
     40        ${destroot}${prefix}/share/doc/${name} \
     41        ${destroot}${prefix}/share/examples
    4042
    41         # Install the framework
    42         file copy ${worksrcpath}/dist ${destroot}${prefix}/share/java
    43         foreach f [glob ${destroot}${prefix}/share/java/*.jar] {
    44                 file rename ${f} [strsed ${f} s/-${full_version}//]
    45         }
     43    # Install the framework
     44    file copy ${worksrcpath}/dist ${destroot}${prefix}/share/java
     45    foreach f [glob ${destroot}${prefix}/share/java/*.jar] {
     46        file rename ${f} [strsed ${f} s/-${full_version}//]
     47    }
    4648
    47         # Install the docs
    48         foreach f {changelog.txt license.txt notice.txt readme.txt} {
    49                 file copy ${worksrcpath}/${f} \
    50                         ${destroot}${prefix}/share/doc/${name}/${f}
    51         }
    52         file copy ${worksrcpath}/docs/javadoc-api \
    53                 ${destroot}${prefix}/share/doc/${name}/api
    54         file copy ${worksrcpath}/docs/spring-framework-reference \
    55                 ${destroot}${prefix}/share/doc/${name}/reference
     49    # Install the docs
     50    foreach f {changelog.txt license.txt notice.txt readme.txt} {
     51        file copy ${worksrcpath}/${f} \
     52            ${destroot}${prefix}/share/doc/${name}/${f}
     53    }
     54    file copy ${worksrcpath}/docs/javadoc-api \
     55        ${destroot}${prefix}/share/doc/${name}/api
     56    file copy ${worksrcpath}/docs/spring-framework-reference \
     57        ${destroot}${prefix}/share/doc/${name}/reference
    5658}
Note: See TracChangeset for help on using the changeset viewer.