Derby version 10.5.3.0 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 10.5.3.0

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


      The derby Portfile 57411 2009-09-11 01:00:25Z blair macports.org $

      PortSystem 1.0

      Name: derby
      Version: 10.5.3.0

      Category: java
      Maintainers: blair
      Platform: darwin

      Description: Relational database implemented entirely in Java
      Long Description: Apache Derby, an Apache DB subproject, is an open source relational database implemented entirely in Java and available under the Apache License, Version 2.0. Some key advantages include: 1) Derby has a small footprint -- about 2 megabytes for the base engine and embedded JDBC driver. 2) Derby is based on the Java, JDBC, and SQL standards. 3) Derby provides an embedded JDBC driver that lets you embed Derby in any Java-based solution. 4) Derby also supports the more familiar client/server mode with the Derby Network Client JDBC driver and Derby Network Server. 5) Derby is easy to install, deploy, and use.
      Homepage: http://db.apache.org/derby/

      Master Sites: apache:db/derby/db-${name}-${version}
      distname db-${name}-${version}-bin
      Checksums: md5 35367c636ce035102a039a19ca707986 sha1 5293ce194f4c99b6d981ccac248799c766f0270c rmd160 886eb0de5f3e1cb45bee8b13acb62d600ac21ae2

      depends_lib bin:java:kaffe

      use_configure no

      build.cmd true

      destroot {
      # Ensure needed directories
      xinstall -m 755 -d ${destroot}${prefix}/share ${destroot}${prefix}/share/doc/${name}

      foreach f { dblook derby_common.sh ij sysinfo } {
      file copy ${worksrcpath}/bin/$f ${destroot}${prefix}/bin
      }

      foreach f { KEYS LICENSE NOTICE RELEASE-NOTES.html } {
      file copy ${worksrcpath}/$f ${destroot}${prefix}/share/doc/${name}
      }

      file copy ${worksrcpath}/lib ${destroot}${prefix}/share/java
      }

      Variant: doc description {Install HTML and PDF documentation and javadocs} {
      post-destroot {
      foreach f { docs javadoc } {
      file copy ${worksrcpath}/$f ${destroot}${prefix}/share/doc/${name}
      }
      }
      }

      livecheck.type regex
      livecheck.url "http://db.apache.org/derby/releases/?C=N;O=D"
      livecheck.regex release-(\[0-9.\]+)\.html

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.