Ticket #2873: port.1.diff

File port.1.diff, 2.5 KB (added by jmpp@…, 19 years ago)

base/src/port/port.1.diff

  • port.1

    RCS file: /Volumes/src/cvs/od/proj/darwinports/base/src/port/port.1,v
    retrieving revision 1.33.2.1
    diff -u -r1.33.2.1 port.1
     
    112112.Fl u .
    113113For example:
    114114.Pp
    115 .Dl "port uninstall vim
    116 .Dl "port -u uninstall
     115.Dl "port uninstall vim"
     116.Dl "port -u uninstall"
     117.Ss activate
     118Activate the installed
     119.Ar portname .
     120.Ss deactivate
     121Deactivate the installed
     122.Ar portname .
    117123.Ss installed
    118124List all installed ports.
    119125.Ss outdated
     
    125131.Fl a .
    126132For example:
    127133.Pp
    128 .Dl "port upgrade vim
    129 .Dl "port -a upgrade
     134.Dl "port upgrade vim"
     135.Dl "port -a upgrade"
    130136.Ss selfupdate
    131 Updates the DarwinPorts system, both the portstree and if needed the base. To update you typically would do:
     137Updates the DarwinPorts system, both the dports tree and if needed the base tools, installing the newest infrastructure if available. To update you typically would do:
     138.Pp
    132139.Dl "sudo port -d selfupdate"
     140.Ss sync
     141Performs a sycn operation only on the dport stree of a DarwinPorts installation, pulling in the latest revision available of the Portfiles. To update you would do:
     142.Pp
     143.Dl "sudo port -d sync"
    133144.Ss clean
    134145Clean the files used for building
    135146.Ar portname .
     
    137148.Fl -work .
    138149To remove the distribution files (tarballs, etc), specify
    139150.Fl -dist .
    140 To remove any archives, specify
     151To remove the archive(s) for the current version of a port, specify
    141152.Fl -archive .
    142153To remove the work files, distribution files, and archives, specify
    143154.Fl -all .
    144155For example:
    145156.Pp
    146 .Dl "port clean --dist vim
    147 .Dl "port clean --archive vim
     157.Dl "port clean --dist vim"
     158.Dl "port clean --archive vim"
     159.Pp
     160To remove only certain version(s) of a port's archives (version is any valid UNIX glob pattern), you can use:
     161.Pp
     162.Dl "port clean --archive vim 6.2.114"
     163.Pp
     164or:
     165.Pp
     166.Dl "port clean --archive vim '6.*'"
    148167.Ss list
    149168List all available ports.
    150169.Ss search
    151170Search for an available port whose name matches a regular expression.
    152171.Pp
    153 .Dl "post search vim
     172.Dl "port search vim"
    154173.Pp
    155174.Ss contents
    156175Lists the files installed by
     
    203222is performed, or when the
    204223.Ar archive
    205224target is called explicitly.
    206 .Ss activate
    207 Activate the installed
    208 .Ar portname .
    209 .Ss deactivate
    210 Deactivate the installed
    211 .Ar portname .
    212225.Sh PACKAGING TARGETS
    213226There are also targets for producing installable packages of ports:
    214227.Pp