# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name spring-framework25 version 2.5.6.SEC01 revision 1 categories java license Apache-2 maintainers nomaintainer supported_archs noarch platforms any description Spring application framework for Java long_description \ Spring is a layered Java/J2EE application framework. homepage http://www.springframework.org/ distname spring-framework-${version}-with-dependencies master_sites http://s3.amazonaws.com/dist.springframework.org/release/SPR checksums rmd160 8200e5ccb17249201ebf60e01d18ae3fa7cba9b7 \ sha256 a6dd966c3fe57381cf3b9bb1e403939f2473860d15ad00f008b929a7c58aed8a \ size 83114292 use_zip yes depends_lib bin:java:kaffe use_configure no worksrcdir spring-framework-${version} build {} 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} } 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