Global variables are variables available to any Portfile. For a list of additional variables available to ports that are assigned to a MacPorts Portgroup, see portgroup(7).
All of these variables except prefix
are read-only!
Installation prefix, set at compile time and displayed in ${prefix}/etc/macports/macports.conf
--- may be overridden on a per-port basis, for example to install into a wholly-contained subdirectory of ${prefix}, but most ports should have no reason to do so.
Default: /opt/local
Full path to the Portfile of the port being executed. Portfile repositories are defined in the file sources.conf.
Default: ${prefix}/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/<category>/<portname>/
Path to files directory relative to +${portpath}+
.
Value: files
Full path to files directory.
Value: ${portpath}/${filesdir}
Full path to work directory.
Value: ${portbuildpath}/work
Full path to extracted source code.
Value: ${workpath}/${worksrcdir}
Full path into which software will be destrooted.
Value: ${workpath}/destroot
Location to store downloaded distfiles.
Value: ${portdbpath}/distfiles/${dist_subdir}/