You've already forked macports-base
mirror of
https://github.com/macports/macports-base.git
synced 2026-07-12 18:18:43 -07:00
bc1089e900
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
29 lines
543 B
Plaintext
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
|