[61665] trunk/dports/java/spring-framework3/Portfile
blair at macports.org
blair at macports.org
Thu Dec 17 17:29:36 PST 2009
Revision: 61665
http://trac.macports.org/changeset/61665
Author: blair at macports.org
Date: 2009-12-17 17:29:36 -0800 (Thu, 17 Dec 2009)
Log Message:
-----------
Use a new variable ${full_version} instead of using ${version}.RC3
everywhere.
Modified Paths:
--------------
trunk/dports/java/spring-framework3/Portfile
Modified: trunk/dports/java/spring-framework3/Portfile
===================================================================
--- trunk/dports/java/spring-framework3/Portfile 2009-12-17 23:38:57 UTC (rev 61664)
+++ trunk/dports/java/spring-framework3/Portfile 2009-12-18 01:29:36 UTC (rev 61665)
@@ -4,6 +4,7 @@
name spring-framework3
version 3.0.0
+set full_version ${version}.RC3
revision 4
categories java
@@ -14,7 +15,7 @@
long_description Spring is a layered Java/J2EE application framework.
homepage http://www.springsource.org/about
-distname spring-framework-${version}.RC3-with-docs
+distname spring-framework-${full_version}-with-docs
master_sites http://s3.amazonaws.com/dist.springframework.org/milestone/SPR
checksums md5 7ce31040ea48c806897358034e4cd134 \
sha1 40583bfd1b341bb2125052bbb05d4b6a08e247b6 \
@@ -26,7 +27,7 @@
use_configure no
-worksrcdir spring-framework-${version}.RC3
+worksrcdir spring-framework-${full_version}
build.cmd true
@@ -39,7 +40,7 @@
# Install the framework
file copy ${worksrcpath}/dist ${destroot}${prefix}/share/java
foreach f [glob ${destroot}${prefix}/share/java/*.jar] {
- file rename ${f} [strsed ${f} {s/-3.0.0.RC3//}]
+ file rename ${f} [strsed ${f} s/-${full_version}//]
}
# Install the docs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091217/b7db9bd9/attachment.html>
More information about the macports-changes
mailing list