Jakarta-taglibs-string version 1.1.0 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    jakarta-taglibs-string  most recent diff


    version 1.1.0

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


      The jakarta-taglibs-string Portfile 35275 2008-03-23 15:54:42Z jberry macports.org $

      PortSystem 1.0

      Name: jakarta-taglibs-string
      Version: 1.1.0

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Jakarta Strings Taglib -- taglib for manipulating Java strings
      Long Description: The String taglibrary provides a host of tags for manipulating java.lang.Strings. The style is that the String to act upon is the body of the tag, and attributes are used as parameters for the manipulation.
      Homepage: http://jakarta.apache.org/taglibs/doc/string-doc/intro.html

      Master Sites: apache:jakarta/taglibs/string/source/
      Checksums: md5 db5dc75c89e794f794be92d10df6be1b

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

      fetch.type cvs
      cvs.root :pserver:anoncvs cvs.apache.org:/home/cvspublic
      cvs.module jakarta-taglibs/string
      cvs.args -d ${distname}
      cvs.tag string-1-1_POSTRELEASE

      post-fetch {
      # Fetch the common doc directory -- ugly, ugly cvs hacks stolen from portfetch.tcl
      # We fetch this from cvs head, since we don't have much choice, and it's just for doc anyway
      system -notty "cd ${workpath} && echo | /usr/bin/env ${cvs.env} cvs ${cvs.pre_args} login"
      system "cd ${workpath} && /usr/bin/env ${cvs.env} cvs -d ${cvs.root} co -d src jakarta-taglibs/src"

      # Copy in the common stuff needed by the build
      file copy ${filespath}/common.xml ${filespath}/common.properties ${filespath}/LICENSE ${workpath}

      # Create the dist directory
      file mkdir ${workpath}/dist ${workpath}/build

      # Create some files that we don't have
      system "cd ${workpath} && touch NOTICE"
      }

      use_configure no

      build.cmd ant
      build.target dist
      build.env CLASSPATH=${prefix}/share/java/jsp2-api.jar
      build.args -Ddist.dir=${workpath}/dist -Dbuild.dir=${workpath}/build -Dcommons-lang.jar=${prefix}/share/java/commons-lang.jar -Dservlet.jar=${prefix}/share/java/servlet24-api.jar

      destroot {
      set dist ${workpath}/dist/string

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

      # Install jars
      xinstall -m 644 ${dist}/taglibs-string.jar ${destroot}${prefix}/share/java

      # Install docs
      system "cd ${destroot}${prefix}/share/doc/${name} && /usr/bin/env jar fx ${dist}/string-doc.war"

      # Install examples
      system "cd ${destroot}${prefix}/share/examples/${name} && /usr/bin/env jar fx ${dist}/string-examples.war"
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.