Files
macports-base/doc/port-prefix.1.txt
Herby Gillot bc1089e900 port: add 'prefix' action to display the configured prefix
Adds a new `port prefix` command that prints MacPorts' installation prefix on
stdout, unadorned, so it can be used directly in shell scripts.

Closes: https://trac.macports.org/ticket/72961
2026-04-18 15:58:50 -04:00

29 lines
543 B
Plaintext

// vim: set et sw=4 ts=8 ft=asciidoc tw=80:
port-prefix(1)
==============
NAME
----
port-prefix - Print the prefix for which MacPorts was configured
SYNOPSIS
--------
[cmdsynopsis]
*port* *prefix*
DESCRIPTION
-----------
This command prints the installation prefix of your MacPorts installation, i.e.,
the directory under which MacPorts and all ports are installed. The prefix is
set at configure time and defaults to '/opt/local'.
include::global-flags.txt[]
SEE ALSO
--------
man:port[1]
AUTHORS
-------
(C) 2026 The MacPorts Project