[50847] trunk/dports/java
blair at macports.org
blair at macports.org
Sun May 10 22:53:14 PDT 2009
Revision: 50847
http://trac.macports.org/changeset/50847
Author: blair at macports.org
Date: 2009-05-10 22:53:14 -0700 (Sun, 10 May 2009)
Log Message:
-----------
New port for Spring Framework 3.0.0.M3.
Added Paths:
-----------
trunk/dports/java/spring-framework3/
trunk/dports/java/spring-framework3/Portfile
Added: trunk/dports/java/spring-framework3/Portfile
===================================================================
--- trunk/dports/java/spring-framework3/Portfile (rev 0)
+++ trunk/dports/java/spring-framework3/Portfile 2009-05-11 05:53:14 UTC (rev 50847)
@@ -0,0 +1,53 @@
+# $Id$
+
+PortSystem 1.0
+
+name spring-framework3
+version 3.0.0
+
+categories java
+maintainers blair
+platforms darwin
+
+description Spring application framework for Java
+long_description Spring is a layered Java/J2EE application framework.
+homepage http://www.springsource.org/about
+
+distname spring-framework-${version}.M3-with-docs
+master_sites http://s3.amazonaws.com/dist.springframework.org/milestone/SPR
+checksums md5 7a5cdda7285f2d46407045c329ca817e \
+ sha1 c2dc7fc7088ea5436da9716e34c91bee16ba3b58 \
+ rmd160 c6eb1daaa961f7a02f330260fb8322f7e08bc752
+
+use_zip yes
+
+depends_lib bin:java:kaffe
+
+use_configure no
+
+worksrcdir spring-framework-${version}.M3
+
+build.cmd true
+
+destroot {
+ # Ensure needed directories
+ xinstall -m 755 -d ${destroot}${prefix}/share \
+ ${destroot}${prefix}/share/doc/${name} \
+ ${destroot}${prefix}/share/examples
+
+ # 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.M3//}]
+ }
+
+ # Install the docs
+ foreach f {changelog.txt license.txt notice.txt readme.txt} {
+ file copy ${worksrcpath}/${f} \
+ ${destroot}${prefix}/share/doc/${name}/${f}
+ }
+ file copy ${worksrcpath}/docs/javadoc-api \
+ ${destroot}${prefix}/share/doc/${name}/api
+ file copy ${worksrcpath}/docs/spring-framework-reference \
+ ${destroot}${prefix}/share/doc/${name}/reference
+}
Property changes on: trunk/dports/java/spring-framework3/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090510/e5deac4b/attachment.html>
More information about the macports-changes
mailing list