Download and Install castor version 0.9.9 on Mac OS X
Wednesday the 3rd of December, 2008

    version 0.9.9

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



      # $Id: Portfile 30233 2007-10-22 23:09:00Z jmpp macports.org $

      PortSystem 1.0

      Name: castor
      Version: 0.9.9
      Category: java
      Platform: darwin
      Maintainers: nomaintainer
      Description: data binding framework for Java
      Long Description: Castor is an Open Source data binding framework for Java(tm). It's the shortest path between Java objects, XML documents and relational tables. Castor provides Java-to-XML binding, Java-to-SQL persistence, and more.

      Homepage: http://www.castor.org/
      master_sites http://dist.codehaus.org/castor/${version}/
      distfiles ${distname}-src.tgz
      checksums md5 4ae9cf49a93ee93ac743041ed5f0f4d3

      depends_lib bin:java:kaffe

      use_configure no

      set classpath lib/ant-1.6.jar:lib/ant-1.6-launcher.jar:lib/xerces-J_1.4.0.jar:build/classes
      build.cmd java -classpath ${classpath} -Dant.home=lib org.apache.tools.ant.Main "$ " -buildfile src/build.xml
      build.target jar

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
      xinstall -m 644 ${worksrcpath}/dist/castor-0.9.9-xml.jar ${destroot}${prefix}/share/java/castor-xml.jar
      xinstall -m 644 ${worksrcpath}/dist/castor-0.9.9.jar ${destroot}${prefix}/share/java/castor.jar
      file copy ${worksrcpath}/src/doc ${destroot}${prefix}/share/doc/${name}
      file copy ${worksrcpath}/src/examples ${destroot}${prefix}/share/doc/${name}
      }


    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/castor
      % sudo port install castor
      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 castor
      ---> Verifying checksum for castor
      ---> Extracting castor
      ---> Configuring castor
      ---> Building castor with target all
      ---> Staging castor into destroot
      ---> Installing castor
    - 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 castor with these commands:
      %  man castor
      % apropos castor
      % which castor
      % locate castor

     Where to find more information:

    Darwin Ports



    Lightbox this page.