Download and Install objectweb-asm version 2.1 on Mac OS X
Wednesday the 3rd of December, 2008

    objectweb-asm  most recent diff


    version 2.1

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



      # $Id: Portfile 20318 2006-11-01 22:35:15Z blair macports.org $

      PortSystem 1.0

      Name: objectweb-asm
      Version: 2.1
      Category: java devel
      Platform: darwin
      Maintainers: dave glowacki.org
      Description: Java bytecode manipulation framework.
      Long Description: ASM is a Java bytecode manipulation framework. It offers similar functionalities as BCEL or SERP, but is much smaller and faster than these tools.

      set project asm
      set realname ${project}

      Homepage: http://asm.objectweb.org/
      master_sites http://download.us.forge.objectweb.org/${project} http://download.forge.objectweb.org/${project} http://download.fr2.forge.objectweb.org/${project}
      distname ${realname}-${version}
      checksums md5 dfd62160a88f13e236f9da7d2485c9ec

      depends_build port:objectweb-anttasks bin:ant:apache-ant

      worksrcdir ${realname}-${version}

      use_configure no

      pre-build {
      cd ${worksrcpath}
      reinplace s|^.*objectweb.ant.tasks.path.*ow_util_ant_tasks.jar|objectweb.ant.tasks.path\ ${prefix}/share/java/objectweb-anttasks.jar| build.properties
      }

      build.cmd ant
      build.target jar jdoc
      build.env CLASSPATH=${prefix}/share/java/objectweb-anttasks.jar

      Variant: debug {
      build.args-append -debug
      }

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
      xinstall -m 644 ${worksrcpath}/output/dist/lib/asm-${version}.jar ${destroot}${prefix}/share/java/${name}.jar
      file copy ${worksrcpath}/output/dist/doc/javadoc/user ${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/objectweb-asm
      % sudo port install objectweb-asm
      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 objectweb-asm
      ---> Verifying checksum for objectweb-asm
      ---> Extracting objectweb-asm
      ---> Configuring objectweb-asm
      ---> Building objectweb-asm with target all
      ---> Staging objectweb-asm into destroot
      ---> Installing objectweb-asm
    - 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 objectweb-asm with these commands:
      %  man objectweb-asm
      % apropos objectweb-asm
      % which objectweb-asm
      % locate objectweb-asm

     Where to find more information:

    Darwin Ports



    Lightbox this page.