Spring-framework version 2.5.6.SEC01 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    spring-framework  most recent diff


    version 2.5.6.SEC01

      View the most recent changes for the spring-framework port at: spring-framework.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for spring-framework.
      The raw portfile for spring-framework 2.5.6.SEC01 is located here:
      http://spring-framework.darwinports.com/dports/java/spring-framework/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/spring-framework


      The spring-framework Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: spring-framework
      Version: 2.5.6.SEC01

      Category: java
      Maintainers: jberry openmaintainer
      Platform: 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: 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}
      }

      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

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/spring-framework
      % sudo port install spring-framework
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching spring-framework
      ---> Verifying checksum for spring-framework
      ---> Extracting spring-framework
      ---> Configuring spring-framework
      ---> Building spring-framework with target all
      ---> Staging spring-framework into destroot
      ---> Installing spring-framework
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using spring-framework with these commands:
      %  man spring-framework
      % apropos spring-framework
      % which spring-framework
      % locate spring-framework

     Where to find more information:

    Darwin Ports



    Lightbox this page.