[75922] trunk/dports/java/spring-framework/Portfile

blair at macports.org blair at macports.org
Sat Feb 12 17:02:25 PST 2011


Revision: 75922
          http://trac.macports.org/changeset/75922
Author:   blair at macports.org
Date:     2011-02-12 17:02:25 -0800 (Sat, 12 Feb 2011)
Log Message:
-----------
Have the spring-framework port defer to the spring-framework25 port.

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

Modified: trunk/dports/java/spring-framework/Portfile
===================================================================
--- trunk/dports/java/spring-framework/Portfile	2011-02-13 00:58:32 UTC (rev 75921)
+++ trunk/dports/java/spring-framework/Portfile	2011-02-13 01:02:25 UTC (rev 75922)
@@ -4,6 +4,7 @@
 
 name			spring-framework
 version			2.5.6.SEC01
+revision                1
 
 categories		java
 maintainers		nomaintainer
@@ -12,54 +13,12 @@
 description		Spring application framework for Java
 long_description	Spring is a layered Java/J2EE application framework.
 homepage		http://www.springframework.org/
+replaced_by             spring-framework25
+distfiles
 
-distname		${name}-${version}-with-dependencies
-master_sites		http://s3.amazonaws.com/dist.springframework.org/release/SPR
-checksums		md5 b57bae9b69472a5d59c6ee82ca587fd3 \
-			sha1 876e0b03f1ab18c7796894ba7532c8fa9a9896c4 \
-			rmd160 8200e5ccb17249201ebf60e01d18ae3fa7cba9b7
-
-use_zip			yes
-
-depends_lib		bin:java:kaffe
-
-use_configure		no
-
-worksrcdir		${name}-${version}
-
-build.cmd		true
-
-destroot {
-	# Ensure needed directories
-	xinstall -m 755 -d ${destroot}${prefix}/share/java/${name} \
-		${destroot}${prefix}/share/doc \
-		${destroot}${prefix}/share/examples
-
-	# Install the framework
-	file copy ${worksrcpath}/dist \
-		${destroot}${prefix}/share/java/${name}/dist
-
-	# Add symlinks to jars
-	foreach f [glob -tails -directory ${destroot}${prefix}/share/java ${name}/dist/*.jar] {
-		system "cd ${destroot}${prefix}/share/java && ln -s ${f}"
-	}
-
-	# Install the docs
-	file copy ${worksrcpath}/docs \
-		${destroot}${prefix}/share/doc/${name}
-
-	# Install samples
-	file copy ${worksrcpath}/samples \
-		${destroot}${prefix}/share/examples/${name}
+pre-configure {
+        ui_error "Please use one of the numbered spring-framework* ports instead."
+        return -code error "obsolete port"
 }
 
-variant with_libs description {Install libraries used for sample applications} {
-	post-destroot {
-		file copy ${worksrcpath}/lib \
-			${destroot}${prefix}/share/java/${name}/lib
-	}
-}
-
-livecheck.type		sourceforge
-livecheck.name		springframework
-livecheck.distname	springframework-2
+livecheck.type		none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110212/6c6abaf7/attachment.html>


More information about the macports-changes mailing list