git: 5b628d59e4 - main - website: Replace full links to the manual pages with the man page macro

From: Danilo G. Baio <dbaio_at_FreeBSD.org>
Date: Sat, 28 Jan 2023 21:00:28 UTC
The branch main has been updated by dbaio:

URL: https://cgit.FreeBSD.org/doc/commit/?id=5b628d59e43e2c52b3234209df9da10013c7d37a

commit 5b628d59e43e2c52b3234209df9da10013c7d37a
Author:     Danilo G. Baio <dbaio@FreeBSD.org>
AuthorDate: 2023-01-28 20:40:51 +0000
Commit:     Danilo G. Baio <dbaio@FreeBSD.org>
CommitDate: 2023-01-28 20:40:51 +0000

    website: Replace full links to the manual pages with the man page macro
---
 website/content/en/ipv6/_index.adoc      | 2 +-
 website/content/en/java/_index.adoc      | 2 +-
 website/content/en/ports/_index.adoc     | 4 ++--
 website/content/en/ports/references.adoc | 2 +-
 website/content/en/ports/updating.adoc   | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/website/content/en/ipv6/_index.adoc b/website/content/en/ipv6/_index.adoc
index 2f55cdbb33..321fef742a 100644
--- a/website/content/en/ipv6/_index.adoc
+++ b/website/content/en/ipv6/_index.adoc
@@ -53,7 +53,7 @@ FreeBSD has shipped tightly integrated IPv6 support for over a decade, with the
 * *December 15, 2011*: 9.0-RC3 no-IPv4 support (IPv6-only) snapshots available. For more details and download links see https://wiki.freebsd.org/IPv6Only[IPv6Only wiki page].
 * *August 3, 2011*: 9.0-BETA1 IPv6-only snapshots available. For more details and download links see https://wiki.freebsd.org/IPv6Only[IPv6Only wiki page].
 * *June 9, 2011*: Thanks to everyone having joined us for World IPv6 Day. We have some (unspectacular) link:w6d-www-stats[statistics of www.freebsd.org] starting 12 hours before and running until 12 hours after the event for you.
-* *June 7, 2011*: New set of IPv6-only snapshots uploaded. Now with RFC 6106 DNS search list and nameserver support in link:https://www.freebsd.org/cgi/man.cgi?query=rtsol&sektion=8[rtsol(8)] and link:https://www.freebsd.org/cgi/man.cgi?query=rtsold&sektion=8[rtsold(8)], also when installing. Read more about the snapshots link:ipv6only[here] and find download links and netinstall documentation https://wiki.freebsd.org/IPv6Only[on the wiki].
+* *June 7, 2011*: New set of IPv6-only snapshots uploaded. Now with RFC 6106 DNS search list and nameserver support in man:rtsol[8] and man:rtsold[8], also when installing. Read more about the snapshots link:ipv6only[here] and find download links and netinstall documentation https://wiki.freebsd.org/IPv6Only[on the wiki].
 * *June 6, 2011*: The FreeBSD Foundation and iXsystems announced today their commitment to support the efforts of World IPv6 Day to accelerate global IPv6 deployment. Read the http://www.prweb.com/releases/2011/6/prweb8529718.htm[entire press release] and find more information on FreeBSD and World IPv6 Day link:w6d[here].
 * *June 6, 2011*: New set of IPv6-only snapshots uploaded. Read more about the snapshots link:ipv6only[here] and find download links https://wiki.freebsd.org/IPv6Only[here].
 * *June 6, 2011*: {hrs-name} https://svn.freebsd.org/changeset/base/222732[commits] http://www.rfc-editor.org/rfc/rfc6106.txt[RFC 6106] "IPv6 Router Advertisement Options for DNS Configuration" (RDNSS and DNSSL) support.
diff --git a/website/content/en/java/_index.adoc b/website/content/en/java/_index.adoc
index 8d528b6ae9..5e5c5a12f2 100644
--- a/website/content/en/java/_index.adoc
+++ b/website/content/en/java/_index.adoc
@@ -34,7 +34,7 @@ The OpenJDK(R) project provides a native open-source implementation of the Java(
 
 OpenJDK(R) is frequently updated, and it is suggested to refer to https://cgit.freebsd.org/ports/log/java/[revision logs] for detailed release history. Additionally, one may choose to review more information at https://www.freshports.org/search.php?query=openjdk&search=go&num=10&stype=name&method=match&deleted=excludedeleted&start=1&casesensitivity=caseinsensitive[FreshPorts].
 
-To install OpenJDK(R) package use the link:https://www.freebsd.org/cgi/man.cgi?query=pkg[`pkg`] utility or the ports system:
+To install OpenJDK(R) package use the man:pkg[7] utility or the ports system:
 
 `pkg install openjdk[version]`
 
diff --git a/website/content/en/ports/_index.adoc b/website/content/en/ports/_index.adoc
index 2fc94f84da..4e6a158925 100644
--- a/website/content/en/ports/_index.adoc
+++ b/website/content/en/ports/_index.adoc
@@ -17,6 +17,6 @@ The Ports Collection supports the latest release on the link:{faq}#current[FreeB
 
 Each "port" listed here contains any patches necessary to make the original application source code compile and run on FreeBSD. Installing an application is as simple as typing `make install` in the port directory. If you download the framework for the entire list of ports by installing the link:{handbook}ports/#ports-using[ports hierarchy], you can have thousands of applications right at your fingertips.
 
-Each port's `Makefile` automatically fetches the application source code, either from a local disk, CD-ROM or via link:https://www.freebsd.org/cgi/man.cgi?query=ftp[`ftp`], unpacks it on your system, applies the patches, and compiles. If all went well, a simple `make install` will install the application and register it with the package system.
+Each port's `Makefile` automatically fetches the application source code, either from a local disk, CD-ROM or via man:ftp[1], unpacks it on your system, applies the patches, and compiles. If all went well, a simple `make install` will install the application and register it with the package system.
 
-For most ports, a precompiled `package` also exists, saving the user the work and time of having to compile anything at all. Use link:https://www.FreeBSD.org/cgi/man.cgi?query=pkg-install[`pkg install`] to securely download and install the precompiled version of a port. For more information see link:{handbook}ports/#pkgng-intro[Using pkg for Binary Package Management]
+For most ports, a precompiled `package` also exists, saving the user the work and time of having to compile anything at all. Use man:pkg-install[8] to securely download and install the precompiled version of a port. For more information see link:{handbook}ports/#pkgng-intro[Using pkg for Binary Package Management]
diff --git a/website/content/en/ports/references.adoc b/website/content/en/ports/references.adoc
index 448b2cf03a..65446c6d86 100644
--- a/website/content/en/ports/references.adoc
+++ b/website/content/en/ports/references.adoc
@@ -20,6 +20,6 @@ You may also find the following to be useful:
 * The archives of the https://docs.FreeBSD.org/mail/current/freebsd-ports.html[FreeBSD ports mailing list].
 * The article link:{contributing}#ports-contributing[Contributing to the FreeBSD Ports Collection].
 * https://www.FreshPorts.org[FreshPorts.org] is a valuable tool for further information about individual ports, such as current version, last checkin, and many other useful statistics. You may subscribe to a mailing list to get the latest information about your favorite ports.
-* The manual pages for link:https://www.FreeBSD.org/cgi/man.cgi?query=ftp[`ftp`], link:https://www.FreeBSD.org/cgi/man.cgi?query=pkg&sektion=8[`pkg`], and link:https://www.FreeBSD.org/cgi/man.cgi?query=ports[`ports`].
+* The manual pages for man:ftp[1], man:pkg[8], and man:ports[7].
 * The link:../../portmgr/[Ports Management Team] (portmgr) pages.
 * The https://cgit.FreeBSD.org/ports/tree[Web Interface to the Source Repository] allows you to browse the files in the source repository. Changes that affect the entire port system are now documented in the https://cgit.FreeBSD.org/ports/tree/CHANGES[CHANGES] file. Changes that affect individual ports are now documented in the https://cgit.FreeBSD.org/ports/tree/UPDATING[UPDATING] file. However, the definitive answer to any question is undoubtedly to read the source code of https://cgit.FreeBSD.org/ports/tree/Mk/bsd.port.mk[bsd.port.mk], and associated files.
diff --git a/website/content/en/ports/updating.adoc b/website/content/en/ports/updating.adoc
index d175c4c6b5..005aa869aa 100644
--- a/website/content/en/ports/updating.adoc
+++ b/website/content/en/ports/updating.adoc
@@ -17,4 +17,4 @@ Changes that affect the entire port system are now documented in the https://cgi
 
 For more information about new, changed or removed ports/packages, or if you wish to search for a specific application to see if it's available as a port/package, you may use the form above; alternatively, you may wish to visit https://www.FreshPorts.org[FreshPorts.org] and either browse the site or subscribe to the lists hosted there.
 
-To learn more about installing and maintaining ports, see link:{handbook}ports/[Installing Applications: Packages and Ports], a section of the link:{handbook}[FreeBSD Handbook]; the section of the Porter's Handbook called link:{porters-handbook}#keeping-up[Keeping Up]; and the link:https://www.FreeBSD.org/cgi/man.cgi?query=ports[`ports manual page`].
+To learn more about installing and maintaining ports, see link:{handbook}ports/[Installing Applications: Packages and Ports], a section of the link:{handbook}[FreeBSD Handbook]; the section of the Porter's Handbook called link:{porters-handbook}#keeping-up[Keeping Up]; and the man:ports[7] manual page.