From 8f9c7371730637e1ce7f75ffc6be81a38c3f4c35 Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Wed, 13 Jun 2018 18:34:49 +0000 Subject: [PATCH] Get rid of references to /usr/share/doc/ from ports(7) and getosreldate(3). The handbooks are not installed there anymore. While here, improve the URLs markup a bit. Reviewed by: allanjude@ MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D15793 --- lib/libc/gen/getosreldate.3 | 9 ++++----- share/man/man7/ports.7 | 23 +++++++++++------------ 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/lib/libc/gen/getosreldate.3 b/lib/libc/gen/getosreldate.3 index 95f63b56c7db..0bb96d138c8f 100644 --- a/lib/libc/gen/getosreldate.3 +++ b/lib/libc/gen/getosreldate.3 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 30, 2008 +.Dd June 13, 2018 .Dt GETOSRELDATE 3 .Os .Sh NAME @@ -45,9 +45,9 @@ currently running .Fx kernel. Definitions of the values can be found in -.%B "The Porter's Handbook" -which is usually installed at -.Pa /usr/share/doc/en_US.ISO8859-1/books/porters-handbook/ . +.%B "The Porter's Handbook": +.Pp +.Lk https://www.FreeBSD.org/doc/en/books/porters-handbook/ .Sh RETURN VALUES Upon successful completion, .Fn getosreldate @@ -77,7 +77,6 @@ for any of the errors specified for the library function .Sh SEE ALSO .Rs .%B "The Porter's Handbook" -.%O /usr/share/doc/en_US.ISO8859-1/books/porters\-handbook/ .Re .Sh HISTORY The diff --git a/share/man/man7/ports.7 b/share/man/man7/ports.7 index ab32f85743bb..dbe1fe8f2de7 100644 --- a/share/man/man7/ports.7 +++ b/share/man/man7/ports.7 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 6, 2014 +.Dd June 13, 2018 .Dt PORTS 7 .Os .Sh NAME @@ -56,18 +56,17 @@ simply type .Nm make Cm install to install the application. .Pp -For more information about using ports, see -.Dq "Packages and Ports" +For more information about using ports, see the +.Dq "Packages and Ports" section in -.%B "The FreeBSD Handbook" , -.Pa ( file:/usr/share/doc/en_US.ISO8859-1/books/handbook/ports.html -or -.Pa https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/ports.html ) . -For information about creating new ports, see -.%B "The Porter's Handbook" -.Pa ( file:/usr/share/doc/en_US.ISO8859-1/books/porters-handbook/index.html -or -.Pa https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/porters-handbook/ ) . +.%B "The FreeBSD Handbook": +.Pp +.Lk https://www.FreeBSD.org/doc/en/books/handbook/ports.html +.Pp +For information about creating new ports, see: +.%B "The Porter's Handbook": +.Pp +.Lk https://www.FreeBSD.org/doc/en/books/porters-handbook/ .Sh TARGETS Some of the targets work recursively through subdirectories. This lets you, for example, install all of the