Port details on branch 2023Q1 |
- astyle Source code indenter and formatter for C, C++, C#, and Java
- 3.6.4 devel =12 3.6.2Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: unknown
- Last Update: 2024-11-03 13:22:14
- Commit Hash: fd14fb6
- People watching this port, also watch:: png, unzip, gmake, zip, libxml2
- Also Listed In: textproc
- License: MIT
- WWW:
- https://astyle.sourceforge.net/
- https://gitlab.com/saalen/astyle
- Description:
- Artistic Style is a source code indenter, formatter, and beautifier for the C,
C++, C++/CLI, Objective-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. Moreover, some editors by
default insert spaces instead of tabs when pressing the tab key. 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 code that up to now used only tabs for indentation.
The NUMBER of spaces for each tab character in the source code can change
between editors (unless the user sets up the number to his liking...). One of
the standard problems programmers face when moving from one editor to another is
that code containing both spaces and tabs, which was perfectly indented,
suddenly becomes a mess to look at. Even if you as a programmer take care to
ONLY use spaces or tabs, looking at other people's source code can still be
problematic.
To address this problem, Artistic Style was created -- a filter written in C++
that automatically re-indents and re-formats C / C++ / Objective-C / C++/CLI / C#
/ Java source files. It can be used from a command line, or it can be
incorporated as a library in another program.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/devel/astyle/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/astyle
- pkg install astyle
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: astyle
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1730540896
SHA256 (astyle-3.6.4.tar.bz2) = 1e94b64f4f06461f9039d094aefe9d4b28c66d34916b27a456055e7d62d73702
SIZE (astyle-3.6.4.tar.bz2) = 218851
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.4.1 : devel/gmake
- This port is required by:
- for Run
-
- graphics/qgis
- graphics/qgis-ltr
Configuration Options:
- ===> The following configuration options are available for astyle-3.6.4:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
- Options name:
- devel_astyle
- USES:
- compiler:c++11-lang dos2unix gmake tar:bz2
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|