git: 248a47a4c2fb - main - ports(7): Update instructions for package target

Daniel Ebdrup Jensen debdrup at FreeBSD.org
Fri Feb 19 12:45:23 UTC 2021


The branch main has been updated by debdrup (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=248a47a4c2fb229ae815fa61875b3f62a2d6856c

commit 248a47a4c2fb229ae815fa61875b3f62a2d6856c
Author:     Daniel Ebdrup Jensen <debdrup at FreeBSD.org>
AuthorDate: 2021-02-18 21:50:54 +0000
Commit:     Daniel Ebdrup Jensen <debdrup at FreeBSD.org>
CommitDate: 2021-02-19 12:42:16 +0000

    ports(7): Update instructions for package target
    
    Packages default to ending up in a different location compared to the
    documentation, so catch up to the implementation by referring to the
    location where packages can usually be found if no environment variables
    have been set.
    
    While here, also update the mention of the file extension to match the
    txz format that packages use.
    
    PR:             253179, 224370
    Reported by:    rwatson, jeromer at fastmail dotnet
---
 share/man/man7/ports.7 | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/share/man/man7/ports.7 b/share/man/man7/ports.7
index 0ee6ae7ee714..d428770f921c 100644
--- a/share/man/man7/ports.7
+++ b/share/man/man7/ports.7
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd November 10, 2020
+.Dd February 18, 2021
 .Dt PORTS 7
 .Os
 .Sh NAME
@@ -284,17 +284,19 @@ from the system.
 Make a binary package for the port.
 The port will be installed if it has not already been.
 The package is a
-.Pa .tbz
+.Pa .txz
 file that you can use to
 install the port on other machines with
 .Xr pkg-add 8 .
 If the directory specified by
 .Va PACKAGES
-does not exist, the package will be put into the current directory.
+does not exist, the package will be put in
+.Pa /usr/ports/category/port/work/pkg .
 See
 .Va PKGREPOSITORY
 and
-.Va PKGFILE .
+.Va PKGFILE
+for more information.
 .It Cm package-recursive
 Like
 .Cm package ,


More information about the dev-commits-src-main mailing list