Javancss version 28.49 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    javancss  most recent diff


    version 28.49

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


      The javancss Portfile 50984 2009-05-14 21:08:43Z and.damore macports.org $

      PortSystem 1.0

      Name: javancss
      Version: 28.49
      Category: java devel
      Platform: darwin
      Maintainers: glowacki.org:dave
      Description: Java Source Measurement Suite
      Long Description: JavaNCSS measures two standard source code metrics for the Java programming language. The metrics are collected globally, for each class and/or for each function.

      set realname ${name}

      Homepage: http://www.kclee.de/clemens/java/${realname}/
      Master Sites: ${homepage}
      distname ${realname}${version}
      Checksums: md5 d8d8bf2e173a35490812f1913e6622cb
      use_zip yes

      depends_build bin:ant:apache-ant bin:javacc:javacc port:ccl-util

      worksrcdir ${realname}${version}

      use_configure no

      Patch Files: patch-build.xml

      post-patch {
      reinplace s|/usr/local/java/javacc|${prefix}/bin/javacc| ${worksrcpath}/build.xml
      }

      build.cmd ant
      build.target jar
      build.dir ${worksrcpath}
      #build.args-append -debug

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/java
      xinstall -m 644 ${worksrcpath}/lib/${realname}.jar ${destroot}${prefix}/share/java/${realname}.jar
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.