# $Id: Portfile 31727 2007-12-04 23:39:22Z blair@macports.org $ PortSystem 1.0 name spring-framework version 2.5 categories java maintainers jberry@macports.org openmaintainer platforms darwin description Spring application framework for Java long_description Spring is a layered Java/J2EE application framework. homepage http://www.springframework.org/ distname ${name}-${version}-with-dependencies master_sites sourceforge:springframework checksums md5 804014e668d0eb7322cce85656781159 \ sha1 9b519547fb730814ab326eefd8f2eeb28e76cf5a \ rmd160 70e7317e626869324ef0af9fcf3fa730d8828676 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 \ ${destroot}${prefix}/share/doc \ ${destroot}${prefix}/share/examples # Install the framework file copy ${worksrcpath}/dist \ ${destroot}${prefix}/share/java/${name} # Add symlinks to jars foreach f [glob -tails -directory ${destroot}${prefix}/share/java ${name}/*.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} } livecheck.check sourceforge livecheck.name springframework livecheck.distname springframework-2