[75915] trunk/dports/java/spring-framework3/Portfile

blair at macports.org blair at macports.org
Sat Feb 12 16:11:19 PST 2011


Revision: 75915
          http://trac.macports.org/changeset/75915
Author:   blair at macports.org
Date:     2011-02-12 16:11:17 -0800 (Sat, 12 Feb 2011)
Log Message:
-----------
Have spring-framework3 port defer to the spring-framework30 port.

Modified Paths:
--------------
    trunk/dports/java/spring-framework3/Portfile

Modified: trunk/dports/java/spring-framework3/Portfile
===================================================================
--- trunk/dports/java/spring-framework3/Portfile	2011-02-13 00:07:24 UTC (rev 75914)
+++ trunk/dports/java/spring-framework3/Portfile	2011-02-13 00:11:17 UTC (rev 75915)
@@ -4,51 +4,19 @@
 
 name                    spring-framework3
 version                 3.0.5
-set full_version        ${version}.RELEASE
+revision                2
 
 categories              java
 maintainers             blair
 platforms               darwin
+replaced_by             spring-framework30
+distfiles
 
 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-${full_version}-with-docs
-master_sites            http://s3.amazonaws.com/dist.springframework.org/release/SPR
-checksums               md5 37d7ede240f78ae8cf18c7f9524257e7 \
-                        sha1 aa337743a74d0b1df03b4e49e39607c5290a1862 \
-                        rmd160 2dd123800ec445dfd74335decf7f0ae98decef50
-
-use_zip                 yes
-
-depends_lib             bin:java:kaffe
-
-use_configure           no
-
-worksrcdir              spring-framework-${full_version}
-
-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/-${full_version}//]
-        }
-
-        # 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
+pre-fetch {
+        ui_error "Please one of the numbered spring-framework3* ports instead."
+        return -code error "obsolete port"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110212/fda81643/attachment.html>


More information about the macports-changes mailing list