'\" t .TH "PORT\-PROVIDES" "1" "2014\-12\-04" "MacPorts 2\&.3\&.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-provides \- Find the port that installed a file .SH "SYNOPSIS" .sp .nf \fBport\fR \fBprovides\fR \fIfile\fR \&... .fi .SH "DESCRIPTION" .sp \fBport provides\fR looks up which port installed a given file, if the file has been installed by MacPorts\&. If the given file is not known to MacPorts it was either obtained using a different method, or has been created by a script or an executable after installation\&. .sp All files that are part of a port will be removed when you uninstall said port\&. For this reason, configuration files are often not registered to a port to preserve modifications across updates\&. .if n \{\ .sp .\} .RS 4 .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 .br .ps +1 \fBNote\fR .ps -1 .br .sp You can only use \fBprovides\fR on files that you have installed on your system\&. MacPorts does currently not have a global database of files\&. If you\(cqre looking for the port that provides a specific file, \fBprovides\fR is useless to you\&. .sp .5v .RE .SH "BUGS" .sp If MacPorts is configured to use a prefix that contains symlinks, \fBprovides\fR may incorrectly report that a file is unknown to MacPorts\&. .SH "SEE ALSO" .sp \fBport\fR(1), \fBport-contents\fR(1) .SH "AUTHORS" .sp .if n \{\ .RS 4 .\} .nf (C) 2014 The MacPorts Project Clemens Lang .fi .if n \{\ .RE .\}