OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

doxygen-1.15.0p0

source code documentation generator tool

Back to search · Project homepage

Description

Doxygen is a documentation system for C++, C, Java, Objective-C, IDL (Corba and Microsoft flavors) and to some extent PHP, C# and D. It can generate an on-line documentation browser (in HTML) and/or an off-line reference manual (in $\mbox{\LaTeX}$ ) from a set of documented source files. There is also support for generating output in RTF (MS-Word), PostScript, hyperlinked PDF, compressed HTML, and Unix man pages. The documentation is extracted directly from the sources, which makes it much easier to keep the documentation consistent with the source code. You can configure doxygen to extract the code structure from undocumented source files. This is very useful to quickly find your way in large source distributions. You can also visualize the relations between the various elements by means of include dependency graphs, inheritance diagrams, and collaboration diagrams, which are all generated automatically. To take full advantage of doxygen's features the following additional ports should be installed: - print/texlive for generating LaTeX, Postscript, and PDF output. - math/graphviz for the include dependency graphs, the graphical inheritance graphs, and the collaboration graphs. - print/ghostscript Note: When generating certain filenames (for example directory listing with the html backend), doxygen uses an md5 sum of the source path. This is a problem for the ports framework, as the sources location can vary (/usr/obj/ports/..., usr/ports/.../w-..., /usr/ports/mystuff/.../w-...). This port has been modified so that when running doxygen, the DOXYGEN_ENCODE_PATH_STRIP environment variable can be set to a prefix to be stripped from a path before its md5 sum is calculated. Ports using doxygen should use "DOXYGEN_ENCODE_PATH_STRIP=${WRKSRC}".

Package information

Ports path
devel/doxygen
Package architecture
amd64
Maintainer
Rafael Sadowski <rsadowski@openbsd.org>
Categories
devel, textproc, lang/python
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Library

Runtime

Build

Test

Used by (10 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON