Files
macports-base/doc/port-setrequested.1
T
2026-02-03 07:23:02 +11:00

60 lines
2.6 KiB
Groff

'\" t
.TH "PORT\-SETREQUESTED" "1" "2\&.12\&.99" "MacPorts 2\&.12\&.99" "MacPorts Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
port-setrequested, port-unsetrequested, port-setunrequested \- Set and clear the \*(Aqmanually installed\*(Aq flag of a port
.SH "SYNOPSIS"
.sp
.nf
\fBport\fR [\fB\-qvd\fR] [\fB\-D\fR \fIportdir\fR] \fBsetrequested\fR
[[\fIportname\fR | \fIpseudo\-portname\fR | \fIport\-expressions\fR | \fIport\-url\fR]]
.fi
.sp
.nf
\fBport\fR [\fB\-qvd\fR] [\fB\-D\fR \fIportdir\fR] [\fBunsetrequested\fR | \fBsetunrequested\fR]
[[\fIportname\fR | \fIpseudo\-portname\fR | \fIport\-expressions\fR | \fIport\-url\fR]]
.fi
.SH "DESCRIPTION"
.sp
MacPorts keeps records indicating whether you installed a port manually, or whether it was pulled in as a dependency of another port\&. This flag is called \fIrequested\fR and is usually automatically set for all ports you list after \fBport install\fR when installing\&. You can disable this automatic behavior by passing the \fB\-\-unrequested\fR flag to \fBport install\fR\&. See \fBport-install\fR(1) for more information\&.
.sp
\fBport setrequested\fR and \fBport unsetrequested\fR allow you to manipulate the requested flag of a port manually\&. \fBport setunrequested\fR is an alias of \fBport unsetrequested\fR\&.
.sp
The requested flag is used to expand the \fIleaves\fR pseudo\-portname, i\&.e\&. the list of ports that were automatically installed and are no longer needed\&. See \fBport\fR(1) for more information on pseudo\-portnames\&.
.SH "GLOBAL OPTIONS"
.sp
Please see the section \fBGLOBAL OPTIONS\fR in the \fBport\fR(1) man page for a description of global port options\&.
.SH "SEE ALSO"
.sp
\fBport\fR(1), \fBport-install\fR(1)
.SH "AUTHORS"
.sp
.if n \{\
.RS 4
.\}
.nf
(C) 2015 The MacPorts Project
Clemens Lang <cal@macports\&.org>
.fi
.if n \{\
.RE
.\}