Changeset 75915 for trunk/dports/java


Ignore:
Timestamp:
Feb 13, 2011, 12:11:17 AM (9 years ago)
Author:
blair@…
Message:

Have the spring-framework3 port defer to the spring-framework30 port.

File:
1 edited

Legend:

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

    r73461 r75915  
    55name                    spring-framework3
    66version                 3.0.5
    7 set full_version        ${version}.RELEASE
     7revision                2
    88
    99categories              java
    1010maintainers             blair
    1111platforms               darwin
     12replaced_by             spring-framework30
     13distfiles
    1214
    1315description             Spring application framework for Java
     
    1517homepage                http://www.springsource.org/about
    1618
    17 distname                spring-framework-${full_version}-with-docs
    18 master_sites            http://s3.amazonaws.com/dist.springframework.org/release/SPR
    19 checksums               md5 37d7ede240f78ae8cf18c7f9524257e7 \
    20                         sha1 aa337743a74d0b1df03b4e49e39607c5290a1862 \
    21                         rmd160 2dd123800ec445dfd74335decf7f0ae98decef50
    22 
    23 use_zip                 yes
    24 
    25 depends_lib             bin:java:kaffe
    26 
    27 use_configure           no
    28 
    29 worksrcdir              spring-framework-${full_version}
    30 
    31 build.cmd               true
    32 
    33 destroot {
    34         # Ensure needed directories
    35         xinstall -m 755 -d ${destroot}${prefix}/share \
    36                 ${destroot}${prefix}/share/doc/${name} \
    37                 ${destroot}${prefix}/share/examples
    38 
    39         # Install the framework
    40         file copy ${worksrcpath}/dist ${destroot}${prefix}/share/java
    41         foreach f [glob ${destroot}${prefix}/share/java/*.jar] {
    42                 file rename ${f} [strsed ${f} s/-${full_version}//]
    43         }
    44 
    45         # Install the docs
    46         foreach f {changelog.txt license.txt notice.txt readme.txt} {
    47                 file copy ${worksrcpath}/${f} \
    48                         ${destroot}${prefix}/share/doc/${name}/${f}
    49         }
    50         file copy ${worksrcpath}/docs/javadoc-api \
    51                 ${destroot}${prefix}/share/doc/${name}/api
    52         file copy ${worksrcpath}/docs/spring-framework-reference \
    53                 ${destroot}${prefix}/share/doc/${name}/reference
     19pre-fetch {
     20        ui_error "Please one of the numbered spring-framework3* ports instead."
     21        return -code error "obsolete port"
    5422}
Note: See TracChangeset for help on using the changeset viewer.