Changeset 134970


Ignore:
Timestamp:
Apr 12, 2015, 7:07:00 PM (4 years ago)
Author:
cal@…
Message:

base: document port version, #44530

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/base/doc/port-version.1.txt

    r133158 r134970  
    11// vim: set et sw=4 ts=8 ft=asciidoc tw=80:
    2 port-platform(1)
    3 ================
     2port-version(1)
     3===============
    44$Id$
    55
    66NAME
    77----
    8 port-platform - Print the OS version for which MacPorts was built
     8port-version - Print the MacPorts version
    99
    1010SYNOPSIS
    1111--------
    1212[cmdsynopsis]
    13 *port* [*-q*] *platform*
     13*port* [*-q*] *version*
    1414
    1515DESCRIPTION
    1616-----------
    17 This command prints the version of your operating system used to configure and
    18 build MacPorts. This value is used to detect OS updates and refer users to the
    19 wiki:Migration[] instructions.
    20 
    21 Since MacPorts picks up a number of paths at configure-time and uses them later
    22 on, changes in the operating system can break a MacPorts installation. For
    23 example, this happened when Apple removed ``/usr/bin/gnutar'' from OS X with the
    24 release of Mavericks. Since MacPorts keeps the path to its tar command in
    25 a file, this change required rebuilding MacPorts.
    26 
     17This command prints the version of your MacPorts installation. You can use
     18man:port-selfupdate[1] to update your MacPorts installation to the latest
     19release.
    2720
    2821include::global-flags.txt[]
    2922
    3023*-q*::
    31     Do not print the ``Platform:'' prefix.
     24    Do not print the ``Version:'' prefix.
    3225
    3326SEE ALSO
    3427--------
    35 man:port[1], wiki:Migration[]
     28man:port[1], man:port-selfupdate[1]
    3629
    3730AUTHORS
    3831-------
    39  (C) 2014 The MacPorts Project
     32 (C) 2015 The MacPorts Project
    4033 Clemens Lang <cal@macports.org>
Note: See TracChangeset for help on using the changeset viewer.