devel/astyle - The NetBSD Packages Collection

Free, Fast and Small Automatic Formatter for C, C++, C++/CLI, C#, and Java

When indenting source code, we as programmers have a tendency to
use both spaces and tab characters to create the wanted indentation.
Moreover, some editors by default insert spaces instead of tabs
when pressing the tab key, and other editors (Emacs for example)
have the ability to "pretty up" lines by automatically setting up
the white space before the code on the line, possibly inserting
spaces in a code that up to now used only tabs for indentation.

Since the NUMBER of space characters showed on screen for each tab
character in the source code changes between editors (until the
user sets up the number to his liking...), one of the standard
problems facing programmers when moving from one source code editor
to another is that code containing both spaces and tabs that was
up to now perfectly indented, suddently becomes a mess to look at
when changing to another editor. Even if you as a programmer take
care to ONLY use spaces or tabs, looking at other peoples source
code can still be problematic.

To address this problem I have created Artistic Style - a series
of filters, written in C++, that automatically reindent & reformat
C/C++/Java source files. These can be used from a command line, or
it can be incorporated as classes in another C++ program.

Build dependencies

pkgtools/mktools devel/gmake pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64astyle-3.1.tgz
NetBSD 10.0aarch64astyle-3.1.tgz
NetBSD 10.0aarch64astyle-3.1.tgz
NetBSD 10.0aarch64ebastyle-3.1.tgz
NetBSD 10.0aarch64ebastyle-3.1.tgz
NetBSD 10.0alphaastyle-3.1.tgz
NetBSD 10.0earmv4astyle-3.1.tgz
NetBSD 10.0earmv6hfastyle-3.1.tgz
NetBSD 10.0earmv6hfastyle-3.1.tgz
NetBSD 10.0earmv6hfastyle-3.1.tgz
NetBSD 10.0earmv7hfastyle-3.1.tgz
NetBSD 10.0earmv7hfastyle-3.1.tgz
NetBSD 10.0earmv7hfastyle-3.1.tgz
NetBSD 10.0i386astyle-3.1.tgz
NetBSD 10.0i386astyle-3.1.tgz
NetBSD 10.0powerpcastyle-3.1.tgz
NetBSD 10.0vaxastyle-3.1.tgz
NetBSD 10.0x86_64astyle-3.1.tgz
NetBSD 10.0_BETAx86_64astyle-3.1.tgz
NetBSD 8.0i386astyle-3.1.tgz
NetBSD 8.0i386astyle-3.1.tgz
NetBSD 8.0powerpcastyle-3.1.tgz
NetBSD 8.0powerpcastyle-3.1.tgz
NetBSD 8.0powerpcastyle-3.1.tgz
NetBSD 8.0powerpcastyle-3.1.tgz
NetBSD 8.0x86_64astyle-3.1.tgz
NetBSD 8.0x86_64astyle-3.1.tgz
NetBSD 8.0x86_64astyle-3.1.tgz
NetBSD 9.0aarch64astyle-3.1.tgz
NetBSD 9.0aarch64astyle-3.1.tgz
NetBSD 9.0aarch64astyle-3.1.tgz
NetBSD 9.0alphaastyle-3.1.tgz
NetBSD 9.0alphaastyle-3.1.tgz
NetBSD 9.0earmastyle-3.1.tgz
NetBSD 9.0earmv4astyle-3.1.tgz
NetBSD 9.0earmv6hfastyle-3.1.tgz
NetBSD 9.0earmv6hfastyle-3.1.tgz
NetBSD 9.0earmv6hfastyle-3.1.tgz
NetBSD 9.0earmv7hfastyle-3.1.tgz
NetBSD 9.0earmv7hfastyle-3.1.tgz
NetBSD 9.0earmv7hfastyle-3.1.tgz
NetBSD 9.0i386astyle-3.1.tgz
NetBSD 9.0i386astyle-3.1.tgz
NetBSD 9.0m68kastyle-3.1.tgz
NetBSD 9.0m68kastyle-3.1.tgz
NetBSD 9.0mips64ebastyle-3.1.tgz
NetBSD 9.0powerpcastyle-3.1.tgz
NetBSD 9.0powerpcastyle-3.1.tgz
NetBSD 9.0powerpcastyle-3.1.tgz
NetBSD 9.0sh3elastyle-3.1.tgz
NetBSD 9.0sh3elastyle-3.1.tgz
NetBSD 9.0sparc64astyle-3.1.tgz
NetBSD 9.0sparcastyle-3.1.tgz
NetBSD 9.0sparcastyle-3.1.tgz
NetBSD 9.0vaxastyle-3.1.tgz
NetBSD 9.0vaxastyle-3.1.tgz
NetBSD 9.0x86_64astyle-3.1.tgz
NetBSD 9.0x86_64astyle-3.1.tgz
NetBSD 9.3x86_64astyle-3.1.tgz
NetBSD 9.3x86_64astyle-3.1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.