Changeset 75922 for trunk/dports/java


Ignore:
Timestamp:
Feb 13, 2011, 1:02:25 AM (9 years ago)
Author:
blair@…
Message:

Have the spring-framework port defer to the spring-framework25 port.

File:
1 edited

Legend:

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

    r72252 r75922  
    55name                    spring-framework
    66version                 2.5.6.SEC01
     7revision                1
    78
    89categories              java
     
    1314long_description        Spring is a layered Java/J2EE application framework.
    1415homepage                http://www.springframework.org/
     16replaced_by             spring-framework25
     17distfiles
    1518
    16 distname                ${name}-${version}-with-dependencies
    17 master_sites            http://s3.amazonaws.com/dist.springframework.org/release/SPR
    18 checksums               md5 b57bae9b69472a5d59c6ee82ca587fd3 \
    19                         sha1 876e0b03f1ab18c7796894ba7532c8fa9a9896c4 \
    20                         rmd160 8200e5ccb17249201ebf60e01d18ae3fa7cba9b7
    21 
    22 use_zip                 yes
    23 
    24 depends_lib             bin:java:kaffe
    25 
    26 use_configure           no
    27 
    28 worksrcdir              ${name}-${version}
    29 
    30 build.cmd               true
    31 
    32 destroot {
    33         # Ensure needed directories
    34         xinstall -m 755 -d ${destroot}${prefix}/share/java/${name} \
    35                 ${destroot}${prefix}/share/doc \
    36                 ${destroot}${prefix}/share/examples
    37 
    38         # Install the framework
    39         file copy ${worksrcpath}/dist \
    40                 ${destroot}${prefix}/share/java/${name}/dist
    41 
    42         # Add symlinks to jars
    43         foreach f [glob -tails -directory ${destroot}${prefix}/share/java ${name}/dist/*.jar] {
    44                 system "cd ${destroot}${prefix}/share/java && ln -s ${f}"
    45         }
    46 
    47         # Install the docs
    48         file copy ${worksrcpath}/docs \
    49                 ${destroot}${prefix}/share/doc/${name}
    50 
    51         # Install samples
    52         file copy ${worksrcpath}/samples \
    53                 ${destroot}${prefix}/share/examples/${name}
     19pre-configure {
     20        ui_error "Please use one of the numbered spring-framework* ports instead."
     21        return -code error "obsolete port"
    5422}
    5523
    56 variant with_libs description {Install libraries used for sample applications} {
    57         post-destroot {
    58                 file copy ${worksrcpath}/lib \
    59                         ${destroot}${prefix}/share/java/${name}/lib
    60         }
    61 }
    62 
    63 livecheck.type          sourceforge
    64 livecheck.name          springframework
    65 livecheck.distname      springframework-2
     24livecheck.type          none
Note: See TracChangeset for help on using the changeset viewer.