.\" $Id$ .TH PORT_CUTLEAVES 8 "January 2009" MacPorts "BSD System Manager's Manual" .SH NAME \fBport_cutleaves\fR \-\- uninstall \fIleaves\fR .SH SYNOPSIS \fBport_cutleaves\fR [\fB\-b\fR] [\fB\-F\fR \fIfile\fR] [\fB\-l\fR] [\fB\-t\fR \fIpath\fR] [\fB\-V\fR] .SH DESCRIPTION Inspired by FreeBSD's pkg_cutleaves, \fBport_cutleaves\fR is an interactive script that eases the uninstallation of \fIleaves\fR \- installed ports that are unrequested and have no dependents. .SH OPTIONS .TP \fB\-b\fR Don't count ports as leaves when they are needed (only) at build time .TP \fB\-F\fR \fIfile\fR Specify a different file to read exclusions from <\fI~/.port_leaves.exclude\fR> .TP \fB\-l\fR List leaves and exit .TP \fB\-t\fR \fIpath\fR Specify a different location for the base MacPorts Tcl file <\fI@prefix@/share/macports/Tcl\fR or \fI/Library/Tcl\fR> .TP \fB\-V\fR Display version information and exit .SH FILES .TP \fB~/.port_leaves.exclude\fR This file is checked for exclusions by default. Leaves that match against an exclusion are ignored. Exclusions can be listed in one of two forms: full name (e.g., \fImercurial @1.1.2_0+bash_completion\fR) or regular expression (e.g., \fI^mercurial\fR). .SH DIAGNOSTICS \fBport_cutleaves\fR exits 0 on success, and >0 if an error occurs. .SH AUTHOR Perry Lee