porthier — layout of the ports filesystems
A map of the filesystem hierarchy used by MacPorts and the ports it installs. Much of it is based on hier(7).
${prefix}
The base of the MacPorts filesystem hierarchy.
Default: /opt/local/
share/
Architecture-independent files.
src/
Source code.
var/
Multi-purpose log, temporary, transient and spool files.
db/
Miscellaneous automatically generated system-specific database files.
macports/
MacPorts package building topdir.
build/
Where ports are built and destrooted.
distfiles/
Storage location for the distfiles of fetched ports.
packages/
Obsolete. Formerly contained archives (packages) of installed ports.
receipts/
Obsolete. Formerly contained the registry information and receipts for installed ports, in flat-file format.
registry/
Contains the registry database in sqlite format.
software/
The files for each installed port are stored here.
sources/
Holds the sources for the ports tree (the Portfiles) and also MacPorts base.
www/
Files to be served by an http server.