PORTHIER(7)

NAME
porthier - layout of the ports-filesystems

DESCRIPTION
A sketch of the filesystem hierarchy as it is applied on ports being distributed by MacPorts.

${prefix}/
    The base of the MacPorts filesystem hierarchy. By default set to "/opt/local/"

    bin/
        common utilities, programming tools, and applications

    etc/
        system configuration files and scripts

    include/
        standard C include files

    lib/
        archive libraries

    libexec/
        system daemons & system utilities (executed by other programs)

    Library/Frameworks/
        Native Mac OS X Library Frameworks

    sbin/
        system programs and administration utilities

    share/
        architecture-independent files

        doc/
            miscellaneous documentation
        examples/
            various examples for users and programmers
        info/
            GNU Info hypertext system
        java/
            applications based on Java
        locale/
            localization files
        man/
            manual pages
        misc/
            misc system-wide ASCII text files

    src/
        source code

        macports/
            MacPorts package building topdir

    var/
        multi-purpose log, temporary, transient, and spool files

        db/ misc. automatically generated system-specific database files
        macports/
            MacPorts runtime data
            build/
                Where ports are built and destrooted
            distfiles/
                Holds the distfiles of the fetched ports
            receipts/
                Obsolete. Formerly held the registry information and receipts for the installed ports, in flat-file format.
            registry/
                Contains the registry database in sqlite format.
            software/
                Holds compressed images of the installed ports. These are extracted to ${prefix} when activated.
            sources/
                Holds the sources of both the porttree (the Portfiles) and the sources for the base system

        spool/
            directory containing output spool files
        log/
            misc. system log files
        run/
            system information files describing various info about system since it was booted

    www/
        files to be served by a http server

        cgi-bin/
            directory for cgi executables

/Applications/MacPorts/
    Native Mac OS X applications

SEE ALSO
port(1), macports.conf(5), portfile(7), portgroup(7), portstyle(7), hier(7)

HISTORY
The porthier manual page appeared first in MacPorts. Lots of it is based on hier(7).

AUTHORS
Felix Kronlage <fkr@opendarwin.org> Juan Manuel Palacios <jmpp@macports.org>