Package: astyle
Version: 3.1
Revision: 1
Maintainer: None <fink-devel@lists.sourceforge.net>

Source: mirror:sourceforge:%n/%n_%v_macos.tar.gz
Source-Checksum: SHA256(c4eebbe082eb2cb98f90aafcce3da2daeb774dd092e4cf8b728102fded8d1dcf)
SourceDirectory: %n

GCC: 4.0
CompileScript: << 
mv build/mac/Makefile src
cd src; make
<<
InstallScript: <<
mkdir -p %i/bin
cp src/bin/astyle %i/bin/%n
<<

DocFiles: doc/*.html doc/styles.css

Description: Beautifier/Reformatter of C, C++, C# & Java
DescDetail: <<
Artistic Style is a source code indenter, formatter, and beautifier for
the C, C++, C# and Java programming languages.

When indenting source code, we as programmers have a tendency to use
both spaces and tab characters to create the wanted indentation.

Since the NUMBER of space characters showed on screen for each tab
character in the source code changes between editors, one of the
standard problems programmers are facing when moving from one editor to
another is that code containing both spaces and tabs that was up to now
perfectly indented, suddenly becomes a mess to look at when changing to
another editor.

To address this problem, Artistic Style was created - a filter written
in C++ that automatically re-indents and re-formats C / C++ / C# / Java
source files. It can be used from a command line, or it can be
incorporated as classes in another C++ program.
<<
DescUsage: <<
Read the options in %p/share/doc/astyle.html or astyle --help. Then
set your preferred astyle flags in .astylerc or the
ARTISTIC_STYLE_OPTIONS environment variable.
<<
DescPort: <<
  Maintainer up to version 1.23: Ben Hines
<<
License: GPL3
Homepage: http://astyle.sourceforge.net/