Download and Install proguard version 4.1 on Mac OS X
Monday the 1st of December, 2008

    proguard  most recent diff


    version 4.1

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



      # $Id: Portfile 34059 2008-02-11 18:41:42Z blair macports.org $

      PortSystem 1.0

      Name: proguard
      Version: 4.1
      revision 1
      Category: java
      Maintainers: blair

      Description: Java bytecode shrinker, optimizer, and obfuscator.
      Long Description: ProGuard is a free Java class file shrinker, optimizer, obfuscator, and preverifier. It detects and removes unused classes, fields, methods, and attributes. It optimizes bytecode and removes unused instructions. It renames the remaining classes, fields, and methods using short meaningless names. Finally, it preverifies the processed code for Java 6 or for Java Micro Edition.
      Homepage: http://proguard.sourceforge.net/

      master_sites sourceforge
      distname ${name}${version}
      checksums md5 ad1f206413f90c443a1d4830ba23de13 sha1 860201ceb4f23136ef7546353a0b3e514996e224 rmd160 a56916316b6811dec3e29aab1c4a799e4052dbf6

      depends_lib bin:java:kaffe

      use_configure no

      build.cmd true

      destroot {
      set javadir ${destroot}${prefix}/share/java
      set docdir ${destroot}${prefix}/share/doc/${name}

      xinstall -d -m 755 ${javadir}
      xinstall -d -m 755 ${docdir}

      foreach f [glob -directory ${worksrcpath}/lib *.jar] {
      file copy ${f} ${javadir}/
      }
      foreach f {README docs examples} {
      file copy ${worksrcpath}/${f} ${docdir}/
      }

      # Some of the unziped files and directories are not readable
      # by everyone, so fix that.
      system "find ${destroot} -type d -print0 | xargs -0 chmod a+rx"
      system "find ${destroot} -type f -print0 | xargs -0 chmod a+r"
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.