Bug 224370 - Wrong path documented in make package in ports(7)
Summary: Wrong path documented in make package in ports(7)
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-15 19:09 UTC by Jérôme Renard
Modified: 2018-04-10 22:58 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jérôme Renard 2017-12-15 19:09:14 UTC
In man 7 ports (https://www.freebsd.org/cgi/man.cgi?query=ports&sektion=7) the "package" section states the following:


     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.

However when running make package it appears the built package is not a .tbz but a .txz in work/pkg

Maybe it would be great to reword it like this:

     package              Make a binary package for the port.  The port will
                          be installed if it has not already been.  The
                          package is a .txz 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 in 
                          work/pkg. See PKGREPOSITORY and PKGFILE.

:)