git: 681bc65c0d - main - porters-handbook: Fix some variable expansions

Lorenzo Salvadore <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by salvadore (ports committer):

URL: https://cgit.FreeBSD.org/doc/commit/?id=681bc65c0ddd2add8cc271d421dec5207694577d

commit 681bc65c0ddd2add8cc271d421dec5207694577d
Author:     Lorenzo Salvadore <[email protected]>
AuthorDate: 2022-04-21 16:49:08 +0000
Commit:     Lorenzo Salvadore <[email protected]>
CommitDate: 2022-04-21 20:01:51 +0000

    porters-handbook: Fix some variable expansions
    
    The Porter's Handbook expands the variables DATADIR, DOCSDIR and
    EXAMPLESDIR as PREFIX/shared/PORTNAME, PREFIX/shared/doc/PORTNAME and
    PREFIX/shared/examples/PORTNAME respectively.
    
    As it can be checked by running "make -V" in any port directory, they
    are expanded into PREFIX/shared/PORTNAME, PREFIX/shared/doc/PORTNAME and
    PREFIX/shared/examples/PORTNAME instead.
    
    Approved by: doc (dbaio), gerald (mentor)
    Differential Revision: https://reviews.freebsd.org/D35022
---
 .../content/en/books/porters-handbook/makefiles/_index.adoc         | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/documentation/content/en/books/porters-handbook/makefiles/_index.adoc b/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
index fb3eedfa11..8c423ed961 100644
--- a/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
@@ -5210,11 +5210,11 @@ These targets are described in <<options-targets>>.
 
 Here are some handy variables and how they are expanded by default when used in the [.filename]#Makefile#:
 
-* `DATADIR` gets expanded to [.filename]#PREFIX/shared/PORTNAME#.
+* `DATADIR` gets expanded to [.filename]#PREFIX/share/PORTNAME#.
 * `DATADIR_REL` gets expanded to [.filename]#share/PORTNAME#.
-* `DOCSDIR` gets expanded to [.filename]#PREFIX/shared/doc/PORTNAME#.
+* `DOCSDIR` gets expanded to [.filename]#PREFIX/share/doc/PORTNAME#.
 * `DOCSDIR_REL` gets expanded to [.filename]#share/doc/PORTNAME#.
-* `EXAMPLESDIR` gets expanded to [.filename]#PREFIX/shared/examples/PORTNAME#.
+* `EXAMPLESDIR` gets expanded to [.filename]#PREFIX/share/examples/PORTNAME#.
 * `EXAMPLESDIR_REL` gets expanded to [.filename]#share/examples/PORTNAME#.
 
 [NOTE]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.