Commons-el version 1.0 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    commons-el  most recent diff


    version 1.0

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


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

      PortSystem 1.0

      Name: commons-el
      Version: 1.0
      Revision: 1

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Jakarta Commons-Expression Language
      Long Description: Commons-EL provides an interpreter for the Expression Language which is defined by the JavaServer Pages(TM) specification, version 2.0.
      Homepage: http://commons.apache.org/el/

      distname ${name}-${version}-src
      Master Sites: apache:commons/el/source/
      Checksums: md5 25038283a0b5f638db5e891295d20020

      depends_build bin:ant:apache-ant
      depends_lib bin:java:kaffe port:junit port:servlet24-api

      use_configure no

      build.cmd ant
      build.target jar javadoc
      build.args -Djunit.jar=${prefix}/share/java/junit.jar -Dservlet-api.jar=${prefix}/share/java/servlet24-api.jar -Djsp-api.jar=${prefix}/share/java/jsp2-api.jar -Dservletapi.build.notrequired=true -Djspapi.build.notrequired=true

      post-patch {
      # Force source 1.4 so javac doesn't blow up on variables named enum
      reinplace {s| }

      pre-build {
      system "touch ${workpath}/LICENSE"
      }

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
      xinstall -m 644 ${worksrcpath}/dist/commons-el.jar ${destroot}${prefix}/share/java/
      file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
      }

      livecheck.type regex
      livecheck.url http://commons.apache.org/downloads/download_el.cgi
      livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.