Changeset 123681


Ignore:
Timestamp:
Aug 12, 2014, 12:24:46 PM (5 years ago)
Author:
cal@…
Message:

base: doc: document port deps, port rdeps, #44530

Location:
trunk/base/doc
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/base/doc/Makefile.in

    r123678 r123681  
    2929                port-deactivate.1 \
    3030                port-dependents.1 \
     31                port-deps.1 \
    3132                port-destroot.1 \
    3233                port-edit.1 \
     
    3637                port-install.1 \
    3738                port-patch.1 \
     39                port-rdeps.1 \
    3840                port-rev-upgrade.1 \
    3941                port-selfupdate.1 \
  • trunk/base/doc/port-deps.1.txt

    r123678 r123681  
    11// vim: set et sw=4 ts=8 ft=asciidoc tw=80:
    2 port-dependents(1)
    3 ==================
     2port-deps(1)
     3============
    44$Id$
    55
    66NAME
    77----
    8 port-dependents - List ports that depend on a given (installed) port
     8port-deps, port-rdeps - Display a dependency listing for the given port(s)
    99
    1010SYNOPSIS
    1111--------
    1212[cmdsynopsis]
    13 *port* [*-D* 'portdir'] *dependents*
     13*port* [*-D* 'portdir'] *deps*
     14     [--index] [--no-build]
     15     [['portname' | 'pseudo-portname' | 'port-expressions' | 'port-url']]
     16
     17[cmdsynopsis]
     18*port* [*-D* 'portdir'] *rdeps*
     19     [--full] [--index] [--no-build]
    1420     [['portname' | 'pseudo-portname' | 'port-expressions' | 'port-url']]
    1521
    1622DESCRIPTION
    1723-----------
    18 *port dependents* reports which ports depend upon a given (installed) port, if
    19 any. Note that *dependents* does not work for ports that are not installed on
    20 your system. It uses the database of installed ports that MacPorts keeps
    21 internally, which records the dependency relations at installation time. *port
    22 dependents* prints this information.
     24*port deps* lists all dependencies of the given port(s), i.e., the ports that
     25need to be installed to build or use a port.
    2326
    24 For this reason, *port dependents* does not work for ports that are not
    25 installed on your system. If you want to find out which ports depend on a port
    26 you haven't installed, you can use the *depends:* pseudo-portname selector:
     27*port rdeps* recursively descends into the dependencies and displays a tree of
     28dependencies for a given port.
    2729
    28 ----
    29 port echo depends:<portname>
    30 ----
     30OPTIONS
     31-------
     32*--full*::
     33    When using *rdeps*, display all branches of the dependency tree instead of
     34    listing each dependency only once.
    3135
    32 This command will, however, not cover dependencies that are only present in
    33 non-default variants. For more information about pseudo-portname selectors, see
    34 man:port[1].
     36*--index*::
     37    Do not read Portfiles, but instead rely solely on the PortIndex information.
     38    Note that this option will prevent the dependencies reported from reflecting
     39    the effects of any variants specified.
    3540
    36 The dependency relations printed by *port dependents* are the same that are used
    37 to determine if a port can be safely uninstalled. Ports that still have
    38 dependents installed cannot be uninstalled without either the
    39 *--follow-dependents* or the *-f* flag. See man:port-uninstall[1] for more
    40 details.
     41*--no-build*::
     42    Exclude dependencies only required at build time, i.e., fetch, extract, and
     43    build dependencies.
     44
     45include::global-flags.txt[]
    4146
    4247include::dependents-vs-dependencies.txt[]
     
    4449SEE ALSO
    4550--------
    46 man:port[1], man:port-echo[1], man:port-deps[1], man:port-uninstall[1]
     51man:port[1], man:port-variants[1]
    4752
    4853AUTHORS
  • trunk/base/doc/port-rdeps.1.soelim

    r123672 r123681  
    1 .so man1/port-activate.1
     1.so man1/port-deps.1
Note: See TracChangeset for help on using the changeset viewer.