Bug 238108 - "ports" man page needs update
Summary: "ports" man page needs update
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Port Management Team
Depends on:
Reported: 2019-05-24 17:32 UTC by Jason W. Bacon
Modified: 2019-09-08 04:06 UTC (History)
2 users (show)

See Also:

Unified diff (924 bytes, patch)
2019-09-07 21:12 UTC, Jason W. Bacon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason W. Bacon freebsd_committer 2019-05-24 17:32:49 UTC
The "package" section in "man ports" appears to be wrong on two details:

     package              Make a binary package for the port.  The port will
                          be installed if it has not already been.  The
                          package is a .tbz file that you can use to install
                          the port on other machines with pkg-add(8).  If the
                          directory specified by PACKAGES does not exist, the
                          package will be put into the current directory.  See
                          PKGREPOSITORY and PKGFILE.

1. Default is .txz, not .tbz
2. If $PACKAGES does not exist, package is placed in work/pkg, not CWD
Comment 1 Baptiste Daroussin freebsd_committer 2019-09-06 09:01:43 UTC
patches welcome ;)
Comment 2 Jason W. Bacon freebsd_committer 2019-09-07 21:12:22 UTC
Created attachment 207266 [details]
Unified diff

Diff attached.