The many rules for man pages and DocBook are a bit much to remember when months can pass between working on the various types. After not finding much to do automated checking, I slapped together a Perl program called "igor" that does some of this. At present it checks all types of files for repeated words ("is is"), common spelling mistakes collected from FreeBSD documents, FreeBSD obsolete features (just "cvsup" so far), bad phrases ("the to"), and bad whitespace (blank lines with whitespace or lines with trailing whitespace). There's a separate style check that makes some subjective suggestions. There are also particular tests for mdoc(7) and DocBook files.
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.
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.