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

    version 1.23

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
      The astyle Portfile 56637 2009-08-31 08:15:28Z wyuenho macports.org $

      PortSystem 1.0

      Name: astyle
      Version: 1.23
      Category: devel
      Platform: darwin
      Maintainers: wyuenho openmaintainer

      Description: source code beautifier for the C, C++, C# and Java programming
      Long Description: Artistic Style is a source code indenter, source code formatter, and source code beautifier for the C, C++, C# and Java programming languages.

      Homepage: http://astyle.sourceforge.net
      Master Sites: sourceforge::macosx
      distfiles ${name}_${version}_macosx.tar.gz:macosx
      Checksums: md5 9f7f3237996776d01bc6837cd445a442 sha1 1ab3e36bc2f0f8e669fb6bbceaf051cafa043119 rmd160 6940ac4e2f0351c141abf605d31931fefa1e7727

      worksrcdir ${name}/buildmac
      Patch Files: patch-Makefile.diff
      use_configure no
      universal_variant no
      build.target release
      destroot.destdir DESTDIR=${destroot}${prefix}

      Variant: lib description {Build and install the libraries} {
      build.target-append shared static
      destroot.target-append install-lib
      }

      Variant: java description {Build and install the JNI library} {
      build.target-append java
      destroot.target-append install-jnilib
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.