Ticket #16118: port.1-commands.diff
File port.1-commands.diff, 2.5 KB (added by blb@…, 16 years ago) |
---|
-
base/doc/port.1
406 406 .Ss list 407 407 If no argument is given, display a list of the latest version of all available ports. 408 408 If portname(s) are given as arguments, display a list of the latest version of each port. 409 .Ss mirror 410 Create/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 412 option (though if no database is found, it will be created automatically). 413 If the fetched file does not match the checksum given in the Portfile, it is 414 deleted. This can be used with 415 .Ar pseudo-portnames , 416 eg, 417 .Ar all , 418 to mirror everything. Note that if you use 419 .Ar all , 420 you'll most likely want to use 421 .Fl p 422 so 423 .Nm 424 doesn't quit on the first download failure. 409 425 .Ss version 410 426 Display the release number of the installed MacPorts infrastructure. 411 427 .Ss selfupdate … … 417 433 See 418 434 .Ic sync 419 435 for more information about updating ports tree(s). 436 .Ss load 437 Provides a shortcut to using launchctl to load a port's daemon (as installed 438 in /Library/LaunchDaemons). It runs: 439 .Pp 440 .Dl launchctl load -w /Library/LaunchDaemons/org.macports.${port}.plist 441 .Ss unload 442 A shortcut to launchctl, like load, but unloads the daemon. 443 .Ss platform 444 Prints out the current platform information for the running system. 445 .Ss gohome 446 Loads the home page for the given 447 .Ar portname 448 in the default web browser. 449 .Ss usage 450 Displays a condensed usage summary. 420 451 .Ss help 421 452 Displays a summary of all available actions and port command syntax on stdout. 422 453 .Sh DEVELOPER TARGETS … … 424 455 .Ss dir 425 456 Displays the path to the directory containing 426 457 .Ar portname . 458 .Ss work 459 Displays the path to the work directory for 460 .Ar portname . 461 .Ss cd 462 Changes the current working directory to the one containing 463 .Ar portname . 464 Only useful in interactive mode. 427 465 .Ss file 428 466 Displays the path to the Portfile for 429 467 .Ar portname . 468 .Ss url 469 Displays the URL for the path of the given 470 .Ar portname , 471 which can be passed as port-url 430 472 .Ss cat 431 473 Concatenates and prints the contents of 432 474 .Ar Portfile … … 443 485 flag on the command line to specify an alternative editor. For example: 444 486 .Dl port edit --editor nano apache2 445 487 .Pp 488 .Ss ed 489 An alias for 490 .Ic edit . 446 491 .Ss unarchive 447 492 Unpack the port from a pre-built binary archive. When archive mode is enabled, this command is called automatically, prior to 448 493 .Ar fetch ,