Download and Install jakarta-bcel version 5.1 on Mac OS X
Monday the 1st of December, 2008

    jakarta-bcel  most recent diff


    version 5.1

      View the most recent changes for the jakarta-bcel port at: jakarta-bcel.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for jakarta-bcel.
      The raw portfile for jakarta-bcel 5.1 is located here:
      http://jakarta-bcel.darwinports.com/dports/java/jakarta-bcel/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-bcel
      Google
      Web Darwinports.com



      # $Id: Portfile 35275 2008-03-23 15:54:42Z jberry macports.org $

      PortSystem 1.0

      Name: jakarta-bcel
      Version: 5.1
      revision 1

      Category: java
      Maintainers: jberry openmaintainer
      Platform: darwin

      Description: Jakarta BCEL -- Java Byte Code Engineering Library
      Long Description: The Byte Code Engineering Library is intended to give users a convenient possibility to analyze, create, and manipulate (binary) Java class files (those ending with .class). Classes are represented by objects which contain all the symbolic information of the given class: methods, fields and byte code instructions, in particular.
      Homepage: http://jakarta.apache.org/bcel/

      master_sites apache:jakarta/bcel/source/
      checksums md5 31ebbd7738325c775bd3ad5ce90dc263

      distname bcel-${version}-src
      depends_build bin:ant:apache-ant
      depends_lib bin:java:kaffe port:jakarta-regexp

      worksrcdir bcel-${version}

      patchfiles patch-Pass2Verifier.java.diff patch-StringRepresentation.java.diff

      post-extract {
      # Cleanup becl's sloppy distribution
      system "cd ${workpath} && unzip bcel-${version}.zip && unzip -o ${distname}.zip"
      file delete ${worksrcpath}/bcel-${version}.jar
      file mkdir ${worksrcpath}/examples

      # There is no manifest in the source distribution
      reinplace /manifest/d ${worksrcpath}/build.xml
      }

      use_configure no

      build.cmd ant
      build.target jar
      build.args -Dname=${name} -Dclass.path=${prefix}/share/java/jakarta-regexp.jar

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
      xinstall -m 644 ${worksrcpath}/bin/jakarta-bcel.jar ${destroot}${prefix}/share/java/
      file copy ${worksrcpath}/docs ${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/jakarta-bcel
      % sudo port install jakarta-bcel
      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-bcel
      ---> Verifying checksum for jakarta-bcel
      ---> Extracting jakarta-bcel
      ---> Configuring jakarta-bcel
      ---> Building jakarta-bcel with target all
      ---> Staging jakarta-bcel into destroot
      ---> Installing jakarta-bcel
    - 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-bcel with these commands:
      %  man jakarta-bcel
      % apropos jakarta-bcel
      % which jakarta-bcel
      % locate jakarta-bcel

     Where to find more information:

    Darwin Ports



    Lightbox this page.