Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #16118: port.1-commands.diff

File port.1-commands.diff, 2.5 KB (added by blb@…, 6 weeks ago)

diff to base/doc/port.1

  • base/doc/port.1

     
    406406.Ss list 
    407407If no argument is given, display a list of the latest version of all available ports. 
    408408If portname(s) are given as arguments, display a list of the latest version of each port. 
     409.Ss mirror 
     410Create/update a local mirror of distfiles used for ports given on the command line.  The filemap database can be reset by using the 
     411.Fl -new 
     412option (though if no database is found, it will be created automatically). 
     413If the fetched file does not match the checksum given in the Portfile, it is 
     414deleted.  This can be used with 
     415.Ar pseudo-portnames , 
     416eg, 
     417.Ar all , 
     418to mirror everything.  Note that if you use 
     419.Ar all , 
     420you'll most likely want to use 
     421.Fl p 
     422so 
     423.Nm 
     424doesn't quit on the first download failure. 
    409425.Ss version 
    410426Display the release number of the installed MacPorts infrastructure. 
    411427.Ss selfupdate 
     
    417433See 
    418434.Ic sync 
    419435for more information about updating ports tree(s). 
     436.Ss load 
     437Provides a shortcut to using launchctl to load a port's daemon (as installed 
     438in /Library/LaunchDaemons).  It runs: 
     439.Pp 
     440.Dl launchctl load -w /Library/LaunchDaemons/org.macports.${port}.plist 
     441.Ss unload 
     442A shortcut to launchctl, like load, but unloads the daemon. 
     443.Ss platform 
     444Prints out the current platform information for the running system. 
     445.Ss gohome 
     446Loads the home page for the given  
     447.Ar portname  
     448in the default web browser. 
     449.Ss usage 
     450Displays a condensed usage summary. 
    420451.Ss help 
    421452Displays a summary of all available actions and port command syntax on stdout. 
    422453.Sh DEVELOPER TARGETS 
     
    424455.Ss dir 
    425456Displays the path to the directory containing 
    426457.Ar portname . 
     458.Ss work 
     459Displays the path to the work directory for 
     460.Ar portname . 
     461.Ss cd 
     462Changes the current working directory to the one containing 
     463.Ar portname . 
     464Only useful in interactive mode. 
    427465.Ss file 
    428466Displays the path to the Portfile for 
    429467.Ar portname . 
     468.Ss url 
     469Displays the URL for the path of the given 
     470.Ar portname , 
     471which can be passed as port-url 
    430472.Ss cat 
    431473Concatenates and prints the contents of 
    432474.Ar Portfile 
     
    443485flag on the command line to specify an alternative editor. For example: 
    444486.Dl port edit --editor nano apache2 
    445487.Pp 
     488.Ss ed 
     489An alias for 
     490.Ic edit . 
    446491.Ss unarchive 
    447492Unpack the port from a pre-built binary archive. When archive mode is enabled, this command is called automatically, prior to 
    448493.Ar fetch ,