Ignore:
Timestamp:
Dec 18, 2009, 1:29:36 AM (10 years ago)
Author:
blair@…
Message:

Use a new variable ${full_version} instead of using ${version}.RC3
everywhere.

File:
1 edited

Legend:

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

    r61093 r61665  
    55name                    spring-framework3
    66version                 3.0.0
     7set full_version        ${version}.RC3
    78revision                4
    89
     
    1516homepage                http://www.springsource.org/about
    1617
    17 distname                spring-framework-${version}.RC3-with-docs
     18distname                spring-framework-${full_version}-with-docs
    1819master_sites            http://s3.amazonaws.com/dist.springframework.org/milestone/SPR
    1920checksums               md5 7ce31040ea48c806897358034e4cd134 \
     
    2728use_configure           no
    2829
    29 worksrcdir              spring-framework-${version}.RC3
     30worksrcdir              spring-framework-${full_version}
    3031
    3132build.cmd               true
     
    4041        file copy ${worksrcpath}/dist ${destroot}${prefix}/share/java
    4142        foreach f [glob ${destroot}${prefix}/share/java/*.jar] {
    42                 file rename ${f} [strsed ${f} {s/-3.0.0.RC3//}]
     43                file rename ${f} [strsed ${f} s/-${full_version}//]
    4344        }
    4445
Note: See TracChangeset for help on using the changeset viewer.