Tool for detecting use or non-use of specific Ada constructs Maintained by:marino@FreeBSD.org Port Added: 21 Jul 2013 14:26:43 License: GPLv2 GMGPL
AdaControl is a free (GMGPL) tool that detects the use of various kinds of
constructs in Ada programs. Its first goal is to control proper usage of
style or programming rules, but it can also be used as a powerful tool to
search for use (or non-use) of various forms of programming styles or design
patterns. Searched elements range from very simple, like the occurrence of
certaine entities, declarations, or statements, to very sophisticated, like
verifying that certain programming patterns are being obeyed..
Which elements or constructs are searched is defined by a set of rules; the
following table gives a short summary of rules currently checked by
AdaControl. The number in parentheses after the rule name gives the number
of subrules, if any. Considering all possible rules and subrules, this makes
452 tests that can be performed currently by AdaControl!
lang/adacontrol: Reaction to gcc-aux upgrade to gcc49
While the version remains the same, AdaControl comes with two flavors of
distfiles: "old" and "new". The "old" distfile was appropriate for
gcc47-aux, but the "new" one is required for the gcc49-based ada compiler.
This change updates the distfile to be used to build adacontrol.
Tie libgnat_util.a to libasis
Rather than specify gnat_util every time ASIS is a dependency, set it
as a library dependency for ASIS. LIB_DEPENDS doesn't work because it
is a static library, so just manually add libgnat_util.a to BUILD_DEPENDS
and RUN_DEPENDS, then adjust 3 ports accordingly.
Add new port: lang/adacontrol
Adacontrol is a tool that analyzes language constructs in Ada programs. It
can be used as a standalone tool, or integrated into other tools. An
example of integration can be seen with the upcoming devel/ahven port.
Approved by: bapt (mentor)