diff --git a/doc/port.1 b/doc/port.1 index 7ee0c39e5c..df4243bd8a 100644 --- a/doc/port.1 +++ b/doc/port.1 @@ -1122,6 +1122,29 @@ gohome Loads the home page for the given portname in the default web browser\&. .RE .PP +migrate +.RS 4 +Reinstall MacPorts and all requested ports to ensure a smooth transition after major system changes such as operating system upgrades or CPU architecture changes\&. This automates the migration procedure previously documented at +\m[blue]\fBMigration\fR\m[]\&\s-2\u[1]\d\s+2, which MacPorts recommends you follow after each major OS version upgrade\&. See +\fBport-migrate\fR(1) +for more details\&. +.RE +.PP +snapshot +.RS 4 +Create a snapshot of the currently installed ports to restore at a later point in time, e\&.g\&., after an OS upgrade\&. See +\fBport-snapshot\fR(1) +for more information\&. +.RE +.PP +restore +.RS 4 +Restore a previously created snapshot of installed ports created using +\fBport-snapshot\fR(1)\&. See +\fBport-restore\fR(1) +for more information\&. +.RE +.PP usage .RS 4 Displays a condensed usage summary\&. @@ -1362,3 +1385,9 @@ Rainer Mueller .if n \{\ .RE .\} +.SH "EXTERNAL REFERENCES" +.IP " 1." 4 +Migration +.RS 4 +\%https://trac.macports.org/wiki/Migration +.RE diff --git a/doc/port.1.txt b/doc/port.1.txt index 03882c6c06..d60ad1b637 100644 --- a/doc/port.1.txt +++ b/doc/port.1.txt @@ -564,6 +564,22 @@ reload:: gohome:: Loads the home page for the given portname in the default web browser. +migrate:: + Reinstall MacPorts and all requested ports to ensure a smooth transition + after major system changes such as operating system upgrades or CPU + architecture changes. This automates the migration procedure previously + documented at wiki:Migration[], which MacPorts recommends you follow after + each major OS version upgrade. See man:port-migrate[1] for more details. + +snapshot:: + Create a snapshot of the currently installed ports to restore at a later + point in time, e.g., after an OS upgrade. See man:port-snapshot[1] for more + information. + +restore:: + Restore a previously created snapshot of installed ports created using + man:port-snapshot[1]. See man:port-restore[1] for more information. + usage:: Displays a condensed usage summary.