'\" t .TH "PORT\-ARCHIVE" "1" "2014\-08\-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-archive \- Create an archive of a port\&. .SH "SYNOPSIS" .sp .nf \fBport\fR [\fB\-vdqysbckpotf\fR] [\fB\-D\fR \fIportdir\fR] \fBarchive\fR [[\fIportname\fR | \fIpseudo\-portname\fR | \fIport\-expressions\fR | \fIport\-url\fR]] [+/\-variant \&...] .fi .SH "DESCRIPTION" .sp \fBport archive\fR will create the port image (also called archive) for a port but will not actually install the port\(cqs files\&. In a nutshell, \fBport archive\fR is like \fBinstall\fR, but without the implicit \fBactivate\fR at the end\&. See \fBport-install\fR(1) and \fBport-activate\fR(1) and the \fBPORT IMAGES\fR section for details\&. The created port image can be located using \fBport-location\fR(1), .sp You can choose multiple variants, by specifying +name, which indicates the variant is desired, or \-name, indicating the contrary\&. .sp Global variants will be applied as specified in \fBvariants.conf\fR(5)\&. .SH "PORT IMAGES" .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 \fIarchives\fR, which allows to switch between the versions\&. Only one version can be active at a time\&. On activation, files will be copied to their intended place in \fIprefix\fR\&. .sp More information on this topic can be found in the \m[blue]\fBThe MacPorts Guide\fR\m[]\&\s-2\u[1]\d\s+2\&. .sp To check the current status of a specific port, use \fB\fBport-installed\fR(1)\fR\&. .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), \fBport-activate\fR(1), \fBport-info\fR(1), \fBport-variants\fR(1), \fBvariants.conf\fR(5) .SH "AUTHORS" .sp .if n \{\ .RS 4 .\} .nf (C) 2014 The MacPorts Project Clemens Lang .fi .if n \{\ .RE .\} .SH "EXTERNAL REFERENCES" .IP " 1." 4 The MacPorts Guide .RS 4 \%http://guide.macports.org/#internals.images .RE