'\" t
.\" Title: port-activate
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.74.3
.\" Date: 05/09/2009
.\" Manual: MacPorts Manual
.\" Source: MacPorts 1.8.0
.\" Language: English
.\"
.TH "PORT\-ACTIVATE" "1" "05/09/2009" "MacPorts 1\&.8\&.0" "MacPorts Manual"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
port-activate \- Activate a previously installed version of a port
.SH "SYNOPSIS"
.sp
.nf
\fBport\fR [\fB\-vdf\fR] [\fB\-D\fR \fIportdir\fR] \fBactivate\fR
[[\fIportname\fR | \fIpseudo\-portname\fR | \fIport\-expressions\fR | \fIport\-url\fR]]
[\fI@version\fR]
.fi
.SH "DESCRIPTION"
.sp
\fBport activate\fR will set the status of an previously installed version of a port to active\&. The passed ports have to reference to already installed versions\&.
.sp
MacPorts has the ability to install multiple versions or different variant selections of the same port\&. The files will be stored in an intermediate location as \fIimages\fR, which allows to switch between the versions\&. Only one version can be active at a time\&. On activation, files will be hardlinked to their intended place in \fIprefix\fR\&.
.sp
There cannot be another version active at the time of using \fBport activate\fR, you would have to use \fBport deactivate\fR first to deactivate the current active port first\&.
.SH "GLOBAL OPTIONS"
.sp
Please see the section \fBGLOBAL OPTIONS\fR in the port(1) man page for a description of global port options\&.
.SH "SEE ALSO"
.sp
port(1), port\-install(1), port\-installed(1), port\-deactivate(1)
.SH "AUTHORS"
.sp
.if n \{\
.RS 4
.\}
.nf
(C) 2009 The MacPorts Project
(C) 2009 Rainer Mueller
.fi
.if n \{\
.RE
.\}