git: e10e2022a9b3 - main - MAN[1-5]PREFIX: eleminate its usage and move man to share/man

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Tue, 09 Jan 2024 15:41:10 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e10e2022a9b32f3a8011a08e3929fa263a7bdb5d

commit e10e2022a9b32f3a8011a08e3929fa263a7bdb5d
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-01-09 15:40:59 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-01-09 15:41:04 +0000

    MAN[1-5]PREFIX: eleminate its usage  and move man to share/man
---
 benchmarks/httperf/Makefile          |    5 +-
 benchmarks/postmark/Makefile         |    5 +-
 benchmarks/ttcp/Makefile             |    4 +-
 benchmarks/webbench/Makefile         |    5 +-
 biology/fasta/Makefile               |    9 +-
 biology/fasta/pkg-plist              |   28 +-
 biology/migrate/Makefile             |    5 +-
 biology/migrate/pkg-plist            |    4 +-
 comms/dfu-programmer/Makefile        |    5 +-
 converters/mmencode/Makefile         |    8 +-
 converters/uulib/Makefile            |    6 +-
 databases/dbview/Makefile            |    5 +-
 databases/mysqlsla/Makefile          |    6 +-
 devel/allegro/Makefile               |    4 +-
 devel/allegro/pkg-plist              | 1846 +++++++++++++++++-----------------
 devel/argtable/Makefile              |    4 +-
 devel/argtable/pkg-plist             |    2 +-
 devel/ccdoc/Makefile                 |    5 +-
 devel/cvs2cl/Makefile                |    5 +-
 devel/cvsadmin/Makefile              |    6 +-
 devel/doctorj/Makefile               |    6 +-
 devel/efivar/Makefile                |   32 +-
 devel/efivar/pkg-plist               |   30 +-
 devel/htable/Makefile                |    5 +-
 devel/libccid/Makefile               |    3 +-
 devel/newfile/Makefile               |    4 +-
 devel/newfile/pkg-plist              |    2 +-
 devel/z80-asm/Makefile               |    6 +-
 devel/z80-asm/pkg-plist              |   20 +-
 dns/walker/Makefile                  |    6 +-
 games/pokerth/Makefile               |    4 +-
 games/pokerth/pkg-plist              |    2 +-
 games/quaqut/Makefile                |    6 +-
 games/rocksndiamonds/Makefile        |    4 +-
 games/rocksndiamonds/pkg-plist       |    2 +-
 games/tbclock/Makefile               |    5 +-
 games/xmemory/Makefile               |    4 +-
 games/xmemory/pkg-plist              |    2 +-
 graphics/a2png/Makefile              |    6 +-
 graphics/flphoto/Makefile            |    6 +-
 graphics/flphoto/pkg-plist           |    4 +-
 graphics/fracplanet/Makefile         |    4 +-
 graphics/fracplanet/pkg-plist        |    2 +-
 graphics/gkrellkam2/Makefile         |    6 +-
 graphics/lcdtest/Makefile            |    6 +-
 graphics/png2ico/Makefile            |    6 +-
 graphics/rgbpaint/Makefile           |    4 +-
 graphics/rgbpaint/pkg-plist          |    2 +-
 graphics/tifmerge/Makefile           |    6 +-
 graphics/xsane/Makefile              |    4 +-
 graphics/xsane/pkg-plist             |    2 +-
 irc/darkbot/Makefile                 |    4 +-
 irc/darkbot/pkg-plist                |    2 +-
 japanese/japana/Makefile             |    6 +-
 lang/ceylon/Makefile                 |    3 +-
 lang/ceylon/pkg-plist                |   58 +-
 lang/cparser/Makefile                |    5 +-
 lang/icc/Makefile                    |    4 +-
 lang/icc/pkg-plist                   |    2 +-
 lang/tcc/Makefile                    |    4 +-
 lang/tcc/pkg-plist                   |    2 +-
 mail/amavis-logwatch/Makefile        |    4 +-
 mail/amavis-logwatch/pkg-plist       |    2 +-
 mail/fastforward/Makefile            |    7 +-
 mail/mailx/Makefile                  |    2 +-
 mail/textmail/Makefile               |    6 +-
 mail/vrfy/Makefile                   |    6 +-
 math/apc/Makefile                    |    6 +-
 math/aribas/Makefile                 |    5 +-
 math/primegen/Makefile               |   13 +-
 misc/birthday/Makefile               |    5 +-
 misc/freeguide/Makefile              |    3 +-
 misc/freeguide/pkg-plist             |    2 +-
 misc/lc/Makefile                     |    5 +-
 misc/libutf/Makefile                 |    9 +-
 misc/pspresent/Makefile              |    6 +-
 misc/since/Makefile                  |    5 +-
 misc/xtar/Makefile                   |    6 +-
 multimedia/mkvtoolnix/Makefile       |    9 +-
 net-im/signal-cli/Makefile           |    2 +-
 net/gwhois/Makefile                  |    5 +-
 net/icmpinfo/Makefile                |    6 +-
 net/ldapdiff/Makefile                |    4 +-
 net/ldapdiff/pkg-plist               |    2 +-
 net/libnids/Makefile                 |    4 +-
 net/libnids/pkg-plist                |    2 +-
 net/plugdaemon/Makefile              |    6 +-
 net/tcpkali/Makefile                 |    5 +-
 news/slrnface/Makefile               |    6 +-
 ports-mgmt/pkg_cleanup/Makefile      |    5 +-
 print/detex/Makefile                 |    6 +-
 print/pstotext/Makefile              |    6 +-
 science/hdf/Makefile                 |    7 +-
 science/hdf/pkg-plist                |   10 +-
 sysutils/daemontools-encore/Makefile |    5 +-
 sysutils/flexbackup/Makefile         |    6 +-
 sysutils/flexbackup/pkg-plist        |    4 +-
 sysutils/fusefs-zip/Makefile         |    6 +-
 sysutils/gaffitter/Makefile          |    6 +-
 sysutils/mybashburn/Makefile         |    4 +-
 sysutils/mybashburn/pkg-plist        |    2 +-
 sysutils/netevent/Makefile           |    4 +-
 sysutils/netevent/pkg-plist          |    2 +-
 sysutils/odo/Makefile                |    5 +-
 sysutils/shuf/Makefile               |    2 +-
 sysutils/titlefix/Makefile           |    3 +-
 sysutils/titlefix/pkg-plist          |    6 +-
 sysutils/ucspi-tcp/Makefile          |    4 +-
 sysutils/ucspi-tcp/pkg-plist         |   32 +-
 sysutils/videogen/Makefile           |    6 +-
 sysutils/z/Makefile                  |    5 +-
 textproc/dbacl/Makefile              |    5 +-
 textproc/denature/Makefile           |    6 +-
 textproc/docbook2odf/Makefile        |    4 +-
 textproc/docbook2odf/pkg-plist       |    2 +-
 textproc/eqe/Makefile                |    6 +-
 textproc/flip/Makefile               |    5 +-
 textproc/humanzip/Makefile           |    7 +-
 textproc/rman/Makefile               |    5 +-
 textproc/tth/Makefile                |    4 +-
 textproc/tth/pkg-plist               |    2 +-
 textproc/unoconv/Makefile            |    3 +-
 textproc/unoconv/pkg-plist           |    2 +-
 www/goose/Makefile                   |    4 +-
 www/goose/pkg-plist                  |    2 +-
 www/squidview/Makefile               |    3 +-
 www/squidview/pkg-plist              |    2 +-
 x11-wm/ratmen/Makefile               |    6 +-
 x11/9menu/Makefile                   |    2 +-
 x11/dxpc/Makefile                    |    5 +-
 x11/fbpanel/Makefile                 |    4 +-
 x11/fbpanel/pkg-plist                |    2 +-
 x11/xmx/Makefile                     |    4 +-
 x11/xrootconsole/Makefile            |    6 +-
 x11/xzoom/Makefile                   |    5 +-
 135 files changed, 1338 insertions(+), 1295 deletions(-)

diff --git a/benchmarks/httperf/Makefile b/benchmarks/httperf/Makefile
index e482c2dbe1e1..8f0db9356a66 100644
--- a/benchmarks/httperf/Makefile
+++ b/benchmarks/httperf/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	httperf
 PORTVERSION=	0.9.1
+PORTREVISION=	1
 CATEGORIES=	benchmarks www
 
 MAINTAINER=	ports@FreeBSD.org
@@ -16,14 +17,14 @@ MAKE_ARGS=	LIBUTIL_OBJS=ssl_writev.o \
 		exec_prefix=${PREFIX}
 
 PLIST_FILES=	bin/httperf \
-		man/man1/httperf.1.gz
+		share/man/man1/httperf.1.gz
 PORTDOCS=	ChangeLog NEWS README TODO
 
 OPTIONS_DEFINE=	DOCS
 
 do-install:
 	${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 \
-		${STAGEDIR}${MAN1PREFIX}/man/man1
+		${STAGEDIR}${PREFIX}/share/man/man1
 	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
 
 do-install-DOCS-on:
diff --git a/benchmarks/postmark/Makefile b/benchmarks/postmark/Makefile
index f8a48b6b1149..4a4310e1bdd8 100644
--- a/benchmarks/postmark/Makefile
+++ b/benchmarks/postmark/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	postmark
 PORTVERSION=	1.53
+PORTREVISION=	1
 CATEGORIES=	benchmarks
 MASTER_SITES=	DEBIAN
 DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
@@ -13,13 +14,13 @@ LICENSE_COMB=	multi
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 PLIST_FILES=	sbin/postmark \
-		man/man1/postmark.1.gz
+		share/man/man1/postmark.1.gz
 
 do-build:
 	(cd ${WRKSRC} && ${CC} ${CFLAGS} -o postmark postmark-${PORTVERSION}.c)
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/postmark ${STAGEDIR}${PREFIX}/sbin
-	${INSTALL_MAN} ${WRKSRC}/postmark.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/postmark.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>
diff --git a/benchmarks/ttcp/Makefile b/benchmarks/ttcp/Makefile
index 1d991dffaff3..673bdd2520b6 100644
--- a/benchmarks/ttcp/Makefile
+++ b/benchmarks/ttcp/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ttcp
 PORTVERSION=	1.12
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	benchmarks net
 MASTER_SITES=	https://BSDforge.com/projects/source/benchmarks/ttcp/
 DISTFILES=	ttcp.c ttcp.1 README
@@ -31,7 +31,7 @@ do-build:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ttcp ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/ttcp.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/ttcp.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/benchmarks/webbench/Makefile b/benchmarks/webbench/Makefile
index f3be65a5d62b..6098c29e0cd3 100644
--- a/benchmarks/webbench/Makefile
+++ b/benchmarks/webbench/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	webbench
 PORTVERSION=	1.5
+PORTREVISION=	1
 CATEGORIES=	benchmarks www
 MASTER_SITES=	SUNSITE/apps/www/servers
 
@@ -14,13 +15,13 @@ MAKE_ARGS=	CFLAGS="${CPPFLAGS} ${CFLAGS}"
 PORTDOCS=	ChangeLog
 
 PLIST_FILES=	bin/webbench \
-		man/man1/webbench.1.gz
+		share/man/man1/webbench.1.gz
 
 OPTIONS_DEFINE=	DOCS
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/webbench ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/webbench.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/webbench.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/biology/fasta/Makefile b/biology/fasta/Makefile
index ac1e45d9f75d..9aa0dae6b1ab 100644
--- a/biology/fasta/Makefile
+++ b/biology/fasta/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fasta
 PORTVERSION=	21.1.1
+PORTREVISION=	1
 CATEGORIES=	biology
 MASTER_SITES=	http://faculty.virginia.edu/wrpearson/fasta/fasta2/ \
 		ftp://ftp.ebi.ac.uk/pub/software/unix/fasta/fasta2/
@@ -38,12 +39,12 @@ post-patch:
 
 post-install:
 	${INSTALL_MAN} ${MAN_FILES:S,^,${WRKSRC}/,} \
-		${STAGEDIR}${MAN1PREFIX}/man/man1
+		${STAGEDIR}${PREFIX}/share/man/man1
 .for mlink in tfasta lfasta plfasta fastx tfastx
-	${LN} -s fasta.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1/${mlink}.1.gz
+	${LN} -s fasta.1.gz ${STAGEDIR}${PREFIX}/share/man/man1/${mlink}.1.gz
 .endfor
-	${LN} -s align.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1/align0.1.gz
-	${LN} -s align.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1/plalign.1.gz
+	${LN} -s align.1.gz ${STAGEDIR}${PREFIX}/share/man/man1/align0.1.gz
+	${LN} -s align.1.gz ${STAGEDIR}${PREFIX}/share/man/man1/plalign.1.gz
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
diff --git a/biology/fasta/pkg-plist b/biology/fasta/pkg-plist
index a72f2f287977..edd7ed2ce820 100644
--- a/biology/fasta/pkg-plist
+++ b/biology/fasta/pkg-plist
@@ -5,17 +5,17 @@ bin/garnier
 bin/lalign
 bin/plalign
 bin/psgrease
-man/man1/align.1.gz
-man/man1/align0.1.gz
-man/man1/fasta.1.gz
-man/man1/fastx.1.gz
-man/man1/lalign.1.gz
-man/man1/lfasta.1.gz
-man/man1/plalign.1.gz
-man/man1/plfasta.1.gz
-man/man1/prdf.1.gz
-man/man1/prss.1.gz
-man/man1/randseq.1.gz
-man/man1/ssearch.1.gz
-man/man1/tfasta.1.gz
-man/man1/tfastx.1.gz
+share/man/man1/align.1.gz
+share/man/man1/align0.1.gz
+share/man/man1/fasta.1.gz
+share/man/man1/fastx.1.gz
+share/man/man1/lalign.1.gz
+share/man/man1/lfasta.1.gz
+share/man/man1/plalign.1.gz
+share/man/man1/plfasta.1.gz
+share/man/man1/prdf.1.gz
+share/man/man1/prss.1.gz
+share/man/man1/randseq.1.gz
+share/man/man1/ssearch.1.gz
+share/man/man1/tfasta.1.gz
+share/man/man1/tfastx.1.gz
diff --git a/biology/migrate/Makefile b/biology/migrate/Makefile
index 7301261ce15f..6d17d8438450 100644
--- a/biology/migrate/Makefile
+++ b/biology/migrate/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	migrate
 PORTVERSION=	3.6.11
+PORTREVISION=	1
 CATEGORIES=	biology
 MASTER_SITES=	http://popgen.sc.fsu.edu/currentversions/
 DISTNAME=	${PORTNAME}-${PORTVERSION}.src
@@ -39,9 +40,9 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-n ${STAGEDIR}${PREFIX}/bin
 	${LN} -sf ${PORTNAME}-n ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
-		${STAGEDIR}${MAN1PREFIX}/man/man1
+		${STAGEDIR}${PREFIX}/share/man/man1
 	${LN} -sf ${PORTNAME}.1 \
-		${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}-n.1
+		${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}-n.1
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/biology/migrate/pkg-plist b/biology/migrate/pkg-plist
index a8b1e971bab9..47e0f4c1bdc8 100644
--- a/biology/migrate/pkg-plist
+++ b/biology/migrate/pkg-plist
@@ -1,7 +1,7 @@
 bin/migrate
 bin/migrate-n
-man/man1/migrate-n.1.gz
-man/man1/migrate.1.gz
+share/man/man1/migrate-n.1.gz
+share/man/man1/migrate.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/graphics/librarian.gif
 %%PORTDOCS%%%%DOCSDIR%%/graphics/mail.gif
 %%PORTDOCS%%%%DOCSDIR%%/graphics/migrate.gif
diff --git a/comms/dfu-programmer/Makefile b/comms/dfu-programmer/Makefile
index 88a94a800e67..3c0f9f1f3f8f 100644
--- a/comms/dfu-programmer/Makefile
+++ b/comms/dfu-programmer/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	dfu-programmer
 PORTVERSION=	0.7.2
+PORTREVISION=	1
 CATEGORIES=	comms
 MASTER_SITES=	SF
 
@@ -13,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 GNU_CONFIGURE=	yes
 LIBS+=		-lusb
 
-PLIST_FILES=	bin/dfu-programmer man/man1/dfu-programmer.1.gz
+PLIST_FILES=	bin/dfu-programmer share/man/man1/dfu-programmer.1.gz
 PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
@@ -21,7 +22,7 @@ OPTIONS_DEFINE=	DOCS
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 \
-		${STAGEDIR}${MAN1PREFIX}/man/man1
+		${STAGEDIR}${PREFIX}/share/man/man1
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
diff --git a/converters/mmencode/Makefile b/converters/mmencode/Makefile
index e65f9e74658a..1b200700b063 100644
--- a/converters/mmencode/Makefile
+++ b/converters/mmencode/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mmencode
 PORTVERSION=	2.7
+PORTREVISION=	1
 CATEGORIES=	converters
 MASTER_SITES=	ftp://ftp.funet.fi/pub/unix/mail/metamail/
 DISTNAME=	mm${PORTVERSION}
@@ -12,7 +13,8 @@ LICENSE=	MIT
 WRKSRC=		${WRKDIR}/${DISTNAME}/src/metamail
 
 PLIST_FILES=	bin/mmencode bin/mimencode \
-		man/man1/mmencode.1.gz man/man1/mimencode.1.gz
+		share/man/man1/mmencode.1.gz \
+		share/man/man1/mimencode.1.gz
 
 USES=		tar:Z
 ALL_TARGET=	mmencode
@@ -23,8 +25,8 @@ CONFLICTS_INSTALL=	elm metamail # bin/mimencode bin/mmencode
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/mmencode ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/../man/mmencode.1 \
-		${STAGEDIR}${MAN1PREFIX}/man/man1/
-	cd ${STAGEDIR}${MAN1PREFIX}/man/man1 && ${LN} -s mmencode.1 mimencode.1
+		${STAGEDIR}${PREFIX}/share/man/man1/
+	cd ${STAGEDIR}${PREFIX}/share/man/man1 && ${LN} -s mmencode.1 mimencode.1
 	cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s mmencode mimencode
 
 .include <bsd.port.mk>
diff --git a/converters/uulib/Makefile b/converters/uulib/Makefile
index ac58a6dafd6e..77a12de4990d 100644
--- a/converters/uulib/Makefile
+++ b/converters/uulib/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	uulib
 PORTVERSION=	0.5.20
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	converters
 MASTER_SITES=	http://www.fpx.de/fp/Software/UUDeview/download/
 DISTNAME=	uudeview-${PORTVERSION}
@@ -19,7 +19,7 @@ USE_LDCONFIG=	yes
 PORTDOCS=	*
 PLIST_FILES=	include/uudeview.h lib/libuu.a lib/libuu.so \
 		lib/libuu.so.${SHLIB_VER} \
-		man/man3/uulib.3.gz
+		share/man/man3/uulib.3.gz
 
 SHLIB_VER=	3
 
@@ -38,7 +38,7 @@ do-install:
 	${LN} -sf libuu.so.${SHLIB_VER} ${STAGEDIR}${PREFIX}/lib/libuu.so
 	${INSTALL_DATA} ${WRKSRC}/uulib/libuu.a ${STAGEDIR}${PREFIX}/lib
 	${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${STAGEDIR}${PREFIX}/include
-	${INSTALL_MAN} ${WRKDIR}/uulib.3 ${STAGEDIR}${MAN3PREFIX}/man/man3
+	${INSTALL_MAN} ${WRKDIR}/uulib.3 ${STAGEDIR}${PREFIX}/share/man/man3
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/databases/dbview/Makefile b/databases/dbview/Makefile
index 27cc20586c6d..b873f502dbe2 100644
--- a/databases/dbview/Makefile
+++ b/databases/dbview/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	dbview
 PORTVERSION=	1.0.4
+PORTREVISION=	1
 CATEGORIES=	databases
 MASTER_SITES=	SUNSITE/apps/database/proprietary
 
@@ -9,7 +10,7 @@ WWW=		https://www.infodrom.org/projects/dbview/
 
 LICENSE=	GPLv2+
 
-PLIST_FILES=	bin/dbview man/man1/dbview.1.gz
+PLIST_FILES=	bin/dbview share/man/man1/dbview.1.gz
 PORTDOCS=	README dBASE
 
 OPTIONS_DEFINE=	DOCS
@@ -22,7 +23,7 @@ post-patch:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/dbview ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/dbview.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/dbview.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/databases/mysqlsla/Makefile b/databases/mysqlsla/Makefile
index 4b7a87d1d369..8b3ccfa9615f 100644
--- a/databases/mysqlsla/Makefile
+++ b/databases/mysqlsla/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mysqlsla
 PORTVERSION=	2.03
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	databases
 
 MAINTAINER=	ports@FreeBSD.org
@@ -17,7 +17,7 @@ USES=		perl5 shebangfix
 WRKSRC_SUBDIR=	${PORTNAME}
 
 PLIST_FILES=	bin/mysqlsla \
-		man/man3/mysqlsla.3.gz
+		share/man/man3/mysqlsla.3.gz
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	daniel-nichter
@@ -31,6 +31,6 @@ do-build:
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/bin/mysqlsla ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/mysqlsla.3 ${STAGEDIR}${MAN3PREFIX}/man/man3
+	${INSTALL_MAN} ${WRKSRC}/mysqlsla.3 ${STAGEDIR}${PREFIX}/share/man/man3
 
 .include <bsd.port.mk>
diff --git a/devel/allegro/Makefile b/devel/allegro/Makefile
index 9ccc15813e03..22b8cb9c0d54 100644
--- a/devel/allegro/Makefile
+++ b/devel/allegro/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	allegro
 DISTVERSION=	4.4.3.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/liballeg/allegro5/releases/download/${DISTVERSION}/
 
@@ -64,7 +64,7 @@ post-patch-JACK-on:
 		${WRKSRC}/src/unix/jack.c
 
 post-install:
-	${INSTALL_MAN} ${INSTALL_WRKSRC}/docs/man/*.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/
+	${INSTALL_MAN} ${INSTALL_WRKSRC}/docs/man/*.3 ${STAGEDIR}${PREFIX}/share/man/man3/
 
 post-install-EXAMPLES-on:
 	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
diff --git a/devel/allegro/pkg-plist b/devel/allegro/pkg-plist
index e8c5a5dd301d..e2064cb06c61 100644
--- a/devel/allegro/pkg-plist
+++ b/devel/allegro/pkg-plist
@@ -135,926 +135,926 @@ libdata/pkgconfig/allegrogl.pc
 libdata/pkgconfig/jpgalleg.pc
 libdata/pkgconfig/loadpng.pc
 libdata/pkgconfig/logg.pc
-man/man3/ALLEGRO_DATE.3.gz
-man/man3/ALLEGRO_DATE_STR.3.gz
-man/man3/ALLEGRO_SUB_VERSION.3.gz
-man/man3/ALLEGRO_VERSION.3.gz
-man/man3/ALLEGRO_VERSION_STR.3.gz
-man/man3/ALLEGRO_WIP_VERSION.3.gz
-man/man3/AL_ID.3.gz
-man/man3/ASSERT.3.gz
-man/man3/AUDIOSTREAM.3.gz
-man/man3/BITMAP.3.gz
-man/man3/COLOR_MAP.3.gz
-man/man3/COMPILED_SPRITE.3.gz
-man/man3/DATAFILE.3.gz
-man/man3/DAT_ID.3.gz
-man/man3/DIALOG.3.gz
-man/man3/DIALOG_PLAYER.3.gz
-man/man3/END_OF_FUNCTION.3.gz
-man/man3/END_OF_MAIN.3.gz
-man/man3/FONT.3.gz
-man/man3/GFX_MODE.3.gz
-man/man3/GFX_MODE_LIST.3.gz
-man/man3/JOYSTICK_AXIS_INFO.3.gz
-man/man3/JOYSTICK_BUTTON_INFO.3.gz
-man/man3/JOYSTICK_INFO.3.gz
-man/man3/JOYSTICK_STICK_INFO.3.gz
-man/man3/LOCK_FUNCTION.3.gz
-man/man3/LOCK_VARIABLE.3.gz
-man/man3/LZSS_PACK_DATA.3.gz
-man/man3/LZSS_UNPACK_DATA.3.gz
-man/man3/MAKE_VERSION.3.gz
-man/man3/MASK_COLOR_15.3.gz
-man/man3/MASK_COLOR_16.3.gz
-man/man3/MASK_COLOR_24.3.gz
-man/man3/MASK_COLOR_32.3.gz
-man/man3/MASK_COLOR_8.3.gz
-man/man3/MATRIX.3.gz
-man/man3/MATRIX_f.3.gz
-man/man3/MENU.3.gz
-man/man3/MENU_PLAYER.3.gz
-man/man3/MIDI.3.gz
-man/man3/PACKFILE.3.gz
-man/man3/PACKFILE_VTABLE.3.gz
-man/man3/PALETTE.3.gz
-man/man3/PAL_SIZE.3.gz
-man/man3/POLYTYPE_ATEX.3.gz
-man/man3/POLYTYPE_ATEX_LIT.3.gz
-man/man3/POLYTYPE_ATEX_MASK.3.gz
-man/man3/POLYTYPE_ATEX_MASK_LIT.3.gz
-man/man3/POLYTYPE_ATEX_MASK_TRANS.3.gz
-man/man3/POLYTYPE_ATEX_TRANS.3.gz
-man/man3/POLYTYPE_FLAT.3.gz
-man/man3/POLYTYPE_GCOL.3.gz
-man/man3/POLYTYPE_GRGB.3.gz
-man/man3/POLYTYPE_PTEX.3.gz
-man/man3/POLYTYPE_PTEX_LIT.3.gz
-man/man3/POLYTYPE_PTEX_MASK.3.gz
-man/man3/POLYTYPE_PTEX_MASK_LIT.3.gz
-man/man3/POLYTYPE_PTEX_MASK_TRANS.3.gz
-man/man3/POLYTYPE_PTEX_TRANS.3.gz
-man/man3/QUAT.3.gz
-man/man3/RGB.3.gz
-man/man3/RGB_MAP.3.gz
-man/man3/RLE_SPRITE.3.gz
-man/man3/SAMPLE.3.gz
-man/man3/SCREEN_H.3.gz
-man/man3/SCREEN_W.3.gz
-man/man3/TRACE.3.gz
-man/man3/V3D.3.gz
-man/man3/V3D_f.3.gz
-man/man3/VIRTUAL_H.3.gz
-man/man3/VIRTUAL_W.3.gz
-man/man3/ZBUFFER.3.gz
-man/man3/_getpixel.3.gz
-man/man3/_getpixel15.3.gz
-man/man3/_getpixel16.3.gz
-man/man3/_getpixel24.3.gz
-man/man3/_getpixel32.3.gz
-man/man3/_putpixel.3.gz
-man/man3/_putpixel15.3.gz
-man/man3/_putpixel16.3.gz
-man/man3/_putpixel24.3.gz
-man/man3/_putpixel32.3.gz
-man/man3/_set_color.3.gz
-man/man3/_ustrdup.3.gz
-man/man3/acquire_bitmap.3.gz
-man/man3/acquire_screen.3.gz
-man/man3/active_dialog.3.gz
-man/man3/active_menu.3.gz
-man/man3/add_clip_rect.3.gz
-man/man3/adjust_sample.3.gz
-man/man3/al_assert.3.gz
-man/man3/al_ffblk.3.gz
-man/man3/al_ffblk_get_size.3.gz
-man/man3/al_findclose.3.gz
-man/man3/al_findfirst.3.gz
-man/man3/al_findnext.3.gz
-man/man3/al_trace.3.gz
-man/man3/alert.3.gz
-man/man3/alert3.3.gz
-man/man3/allegro_404_char.3.gz
-man/man3/allegro_error.3.gz
-man/man3/allegro_exit.3.gz
-man/man3/allegro_icon.3.gz
-man/man3/allegro_id.3.gz
-man/man3/allegro_init.3.gz
-man/man3/allegro_message.3.gz
-man/man3/allocate_voice.3.gz
-man/man3/append_filename.3.gz
-man/man3/apply_matrix.3.gz
-man/man3/apply_matrix_f.3.gz
-man/man3/apply_quat.3.gz
-man/man3/arc.3.gz
-man/man3/bestfit_color.3.gz
-man/man3/bitmap_color_depth.3.gz
-man/man3/bitmap_mask_color.3.gz
-man/man3/black_palette.3.gz
-man/man3/blit.3.gz
-man/man3/bmp_read_line.3.gz
-man/man3/bmp_unwrite_line.3.gz
-man/man3/bmp_write_line.3.gz
-man/man3/broadcast_dialog_message.3.gz
-man/man3/calc_spline.3.gz
-man/man3/calibrate_joystick.3.gz
-man/man3/calibrate_joystick_name.3.gz
-man/man3/canonicalize_filename.3.gz
-man/man3/centre_dialog.3.gz
-man/man3/check_cpu.3.gz
-man/man3/circle.3.gz
-man/man3/circlefill.3.gz
-man/man3/clear_bitmap.3.gz
-man/man3/clear_keybuf.3.gz
-man/man3/clear_scene.3.gz
-man/man3/clear_to_color.3.gz
-man/man3/clear_zbuffer.3.gz
-man/man3/clip3d.3.gz
-man/man3/clip3d_f.3.gz
-man/man3/close_fli.3.gz
-man/man3/color_map.3.gz
-man/man3/config_is_hooked.3.gz
-man/man3/cpu_capabilities.3.gz
-man/man3/cpu_family.3.gz
-man/man3/cpu_model.3.gz
-man/man3/cpu_vendor.3.gz
-man/man3/create_bitmap.3.gz
-man/man3/create_bitmap_ex.3.gz
-man/man3/create_blender_table.3.gz
-man/man3/create_color_table.3.gz
-man/man3/create_datafile_index.3.gz
-man/man3/create_light_table.3.gz
-man/man3/create_lzss_pack_data.3.gz
-man/man3/create_lzss_unpack_data.3.gz
-man/man3/create_rgb_table.3.gz
-man/man3/create_sample.3.gz
-man/man3/create_scene.3.gz
-man/man3/create_sub_bitmap.3.gz
-man/man3/create_sub_zbuffer.3.gz
-man/man3/create_system_bitmap.3.gz
-man/man3/create_trans_table.3.gz
-man/man3/create_video_bitmap.3.gz
-man/man3/create_zbuffer.3.gz
-man/man3/cross_product.3.gz
-man/man3/cross_product_f.3.gz
-man/man3/d_bitmap_proc.3.gz
-man/man3/d_box_proc.3.gz
-man/man3/d_button_proc.3.gz
-man/man3/d_check_proc.3.gz
-man/man3/d_clear_proc.3.gz
-man/man3/d_ctext_proc.3.gz
-man/man3/d_edit_proc.3.gz
-man/man3/d_icon_proc.3.gz
-man/man3/d_keyboard_proc.3.gz
-man/man3/d_list_proc.3.gz
-man/man3/d_menu_proc.3.gz
-man/man3/d_radio_proc.3.gz
-man/man3/d_rtext_proc.3.gz
-man/man3/d_shadow_box_proc.3.gz
-man/man3/d_slider_proc.3.gz
-man/man3/d_text_list_proc.3.gz
-man/man3/d_text_proc.3.gz
-man/man3/d_textbox_proc.3.gz
-man/man3/d_yield_proc.3.gz
-man/man3/deallocate_voice.3.gz
-man/man3/default_palette.3.gz
-man/man3/delete_file.3.gz
-man/man3/desktop_color_depth.3.gz
-man/man3/desktop_palette.3.gz
-man/man3/destroy_bitmap.3.gz
-man/man3/destroy_compiled_sprite.3.gz
-man/man3/destroy_datafile_index.3.gz
-man/man3/destroy_font.3.gz
-man/man3/destroy_gfx_mode_list.3.gz
-man/man3/destroy_midi.3.gz
-man/man3/destroy_rle_sprite.3.gz
-man/man3/destroy_sample.3.gz
-man/man3/destroy_scene.3.gz
-man/man3/destroy_zbuffer.3.gz
-man/man3/detect_digi_driver.3.gz
-man/man3/detect_midi_driver.3.gz
-man/man3/dialog_message.3.gz
-man/man3/digi_recorder.3.gz
-man/man3/disable_hardware_cursor.3.gz
-man/man3/do_arc.3.gz
-man/man3/do_circle.3.gz
-man/man3/do_dialog.3.gz
-man/man3/do_ellipse.3.gz
-man/man3/do_line.3.gz
-man/man3/do_menu.3.gz
-man/man3/do_uconvert.3.gz
-man/man3/dot_product.3.gz
-man/man3/dot_product_f.3.gz
-man/man3/draw_character_ex.3.gz
-man/man3/draw_compiled_sprite.3.gz
-man/man3/draw_gouraud_sprite.3.gz
-man/man3/draw_lit_rle_sprite.3.gz
-man/man3/draw_lit_sprite.3.gz
-man/man3/draw_rle_sprite.3.gz
-man/man3/draw_sprite.3.gz
-man/man3/draw_sprite_ex.3.gz
-man/man3/draw_sprite_h_flip.3.gz
-man/man3/draw_sprite_v_flip.3.gz
-man/man3/draw_sprite_vh_flip.3.gz
-man/man3/draw_trans_rle_sprite.3.gz
-man/man3/draw_trans_sprite.3.gz
-man/man3/drawing_mode.3.gz
-man/man3/ellipse.3.gz
-man/man3/ellipsefill.3.gz
-man/man3/empty_string.3.gz
-man/man3/enable_hardware_cursor.3.gz
-man/man3/enable_triple_buffer.3.gz
-man/man3/ex12bit.3.gz
-man/man3/ex3buf.3.gz
-man/man3/ex3d.3.gz
-man/man3/exaccel.3.gz
-man/man3/exalpha.3.gz
-man/man3/exbitmap.3.gz
-man/man3/exblend.3.gz
-man/man3/excamera.3.gz
-man/man3/excolmap.3.gz
-man/man3/exconfig.3.gz
-man/man3/excustom.3.gz
-man/man3/exdata.3.gz
-man/man3/exdbuf.3.gz
-man/man3/exexedat.3.gz
-man/man3/exfixed.3.gz
-man/man3/exflame.3.gz
-man/man3/exflip.3.gz
-man/man3/exfont.3.gz
-man/man3/exgui.3.gz
-man/man3/exhello.3.gz
-man/man3/exists.3.gz
-man/man3/exjoy.3.gz
-man/man3/exkeys.3.gz
-man/man3/exlights.3.gz
-man/man3/exmem.3.gz
-man/man3/exmidi.3.gz
-man/man3/exmouse.3.gz
-man/man3/expackf.3.gz
-man/man3/expal.3.gz
-man/man3/expat.3.gz
-man/man3/exquat.3.gz
-man/man3/exrgbhsv.3.gz
-man/man3/exrotscl.3.gz
-man/man3/exsample.3.gz
-man/man3/exscale.3.gz
-man/man3/exscn3d.3.gz
-man/man3/exscroll.3.gz
-man/man3/exshade.3.gz
-man/man3/exspline.3.gz
-man/man3/exsprite.3.gz
-man/man3/exstars.3.gz
-man/man3/exstream.3.gz
-man/man3/exswitch.3.gz
-man/man3/exsyscur.3.gz
-man/man3/extimer.3.gz
-man/man3/extract_font_range.3.gz
-man/man3/extrans.3.gz
-man/man3/extrans2.3.gz
-man/man3/extruec.3.gz
-man/man3/exunicod.3.gz
-man/man3/exupdate.3.gz
-man/man3/exxfade.3.gz
-man/man3/exzbuf.3.gz
-man/man3/fade_from.3.gz
-man/man3/fade_from_range.3.gz
-man/man3/fade_in.3.gz
-man/man3/fade_in_range.3.gz
-man/man3/fade_interpolate.3.gz
-man/man3/fade_out.3.gz
-man/man3/fade_out_range.3.gz
-man/man3/fastline.3.gz
-man/man3/file_exists.3.gz
-man/man3/file_select_ex.3.gz
-man/man3/file_size_ex.3.gz
-man/man3/file_time.3.gz
-man/man3/find_allegro_resource.3.gz
-man/man3/find_datafile_object.3.gz
-man/man3/find_dialog_focus.3.gz
-man/man3/fix_filename_case.3.gz
-man/man3/fix_filename_slashes.3.gz
-man/man3/fixacos.3.gz
-man/man3/fixadd.3.gz
-man/man3/fixasin.3.gz
-man/man3/fixatan.3.gz
-man/man3/fixatan2.3.gz
-man/man3/fixceil.3.gz
-man/man3/fixcos.3.gz
-man/man3/fixdiv.3.gz
-man/man3/fixed.3.gz
-man/man3/fixfloor.3.gz
-man/man3/fixhypot.3.gz
-man/man3/fixmul.3.gz
-man/man3/fixsin.3.gz
-man/man3/fixsqrt.3.gz
-man/man3/fixsub.3.gz
-man/man3/fixtan.3.gz
-man/man3/fixtof.3.gz
-man/man3/fixtoi.3.gz
-man/man3/fixtorad_r.3.gz
-man/man3/fixup_datafile.3.gz
-man/man3/fli_bitmap.3.gz
-man/man3/fli_bmp_dirty_from.3.gz
-man/man3/fli_bmp_dirty_to.3.gz
-man/man3/fli_frame.3.gz
-man/man3/fli_pal_dirty_from.3.gz
-man/man3/fli_pal_dirty_to.3.gz
-man/man3/fli_palette.3.gz
-man/man3/fli_timer.3.gz
-man/man3/floodfill.3.gz
-man/man3/flush_config_file.3.gz
-man/man3/font.3.gz
-man/man3/font_has_alpha.3.gz
-man/man3/for_each_file_ex.3.gz
-man/man3/free_audio_stream_buffer.3.gz
-man/man3/free_config_entries.3.gz
-man/man3/free_lzss_pack_data.3.gz
-man/man3/free_lzss_unpack_data.3.gz
-man/man3/freeze_mouse_flag.3.gz
-man/man3/ftofix.3.gz
-man/man3/generate_332_palette.3.gz
-man/man3/generate_optimized_palette.3.gz
-man/man3/get_align_matrix.3.gz
-man/man3/get_align_matrix_f.3.gz
-man/man3/get_audio_stream_buffer.3.gz
-man/man3/get_camera_matrix.3.gz
-man/man3/get_camera_matrix_f.3.gz
-man/man3/get_clip_rect.3.gz
-man/man3/get_clip_state.3.gz
-man/man3/get_color.3.gz
-man/man3/get_color_conversion.3.gz
-man/man3/get_color_depth.3.gz
-man/man3/get_compiled_sprite.3.gz
-man/man3/get_config_argv.3.gz
-man/man3/get_config_float.3.gz
-man/man3/get_config_hex.3.gz
-man/man3/get_config_id.3.gz
-man/man3/get_config_int.3.gz
-man/man3/get_config_string.3.gz
-man/man3/get_config_text.3.gz
-man/man3/get_datafile_property.3.gz
-man/man3/get_desktop_resolution.3.gz
-man/man3/get_display_switch_mode.3.gz
-man/man3/get_executable_name.3.gz
-man/man3/get_extension.3.gz
-man/man3/get_filename.3.gz
-man/man3/get_filename_encoding.3.gz
-man/man3/get_font_range_begin.3.gz
-man/man3/get_font_range_end.3.gz
-man/man3/get_font_ranges.3.gz
-man/man3/get_gfx_mode.3.gz
-man/man3/get_gfx_mode_list.3.gz
-man/man3/get_gfx_mode_type.3.gz
-man/man3/get_hardware_volume.3.gz
-man/man3/get_midi_length.3.gz
-man/man3/get_mixer_bits.3.gz
-man/man3/get_mixer_buffer_length.3.gz
-man/man3/get_mixer_channels.3.gz
-man/man3/get_mixer_frequency.3.gz
-man/man3/get_mixer_quality.3.gz
-man/man3/get_mixer_voices.3.gz
-man/man3/get_mouse_mickeys.3.gz
-man/man3/get_palette.3.gz
-man/man3/get_palette_range.3.gz
-man/man3/get_refresh_rate.3.gz
-man/man3/get_rle_sprite.3.gz
-man/man3/get_rotation_matrix.3.gz
-man/man3/get_rotation_matrix_f.3.gz
-man/man3/get_rotation_quat.3.gz
-man/man3/get_scaling_matrix.3.gz
-man/man3/get_scaling_matrix_f.3.gz
-man/man3/get_sound_input_cap_bits.3.gz
-man/man3/get_sound_input_cap_parm.3.gz
-man/man3/get_sound_input_cap_rate.3.gz
-man/man3/get_sound_input_cap_stereo.3.gz
-man/man3/get_transformation_matrix.3.gz
-man/man3/get_transformation_matrix_f.3.gz
-man/man3/get_translation_matrix.3.gz
-man/man3/get_translation_matrix_f.3.gz
-man/man3/get_uformat.3.gz
-man/man3/get_vector_rotation_matrix.3.gz
-man/man3/get_vector_rotation_matrix_f.3.gz
-man/man3/get_vector_rotation_quat.3.gz
-man/man3/get_volume.3.gz
-man/man3/get_x_rotate_matrix.3.gz
-man/man3/get_x_rotate_matrix_f.3.gz
-man/man3/get_x_rotate_quat.3.gz
-man/man3/get_y_rotate_matrix.3.gz
-man/man3/get_y_rotate_matrix_f.3.gz
-man/man3/get_y_rotate_quat.3.gz
-man/man3/get_z_rotate_matrix.3.gz
-man/man3/get_z_rotate_matrix_f.3.gz
-man/man3/get_z_rotate_quat.3.gz
-man/man3/geta.3.gz
-man/man3/geta32.3.gz
-man/man3/geta_depth.3.gz
-man/man3/getb.3.gz
-man/man3/getb15.3.gz
-man/man3/getb16.3.gz
-man/man3/getb24.3.gz
-man/man3/getb32.3.gz
-man/man3/getb8.3.gz
-man/man3/getb_depth.3.gz
-man/man3/getg.3.gz
-man/man3/getg15.3.gz
-man/man3/getg16.3.gz
-man/man3/getg24.3.gz
-man/man3/getg32.3.gz
-man/man3/getg8.3.gz
-man/man3/getg_depth.3.gz
-man/man3/getpixel.3.gz
-man/man3/getr.3.gz
-man/man3/getr15.3.gz
-man/man3/getr16.3.gz
-man/man3/getr24.3.gz
-man/man3/getr32.3.gz
-man/man3/getr8.3.gz
-man/man3/getr_depth.3.gz
-man/man3/gfx_capabilities.3.gz
-man/man3/gfx_mode_select.3.gz
-man/man3/gfx_mode_select_ex.3.gz
-man/man3/gfx_mode_select_filter.3.gz
-man/man3/grab_font_from_bitmap.3.gz
-man/man3/gui_bg_color.3.gz
-man/man3/gui_button_proc.3.gz
-man/man3/gui_ctext_proc.3.gz
-man/man3/gui_edit_proc.3.gz
-man/man3/gui_fg_color.3.gz
-man/man3/gui_font_baseline.3.gz
-man/man3/gui_get_screen.3.gz
-man/man3/gui_list_proc.3.gz
-man/man3/gui_menu_draw_menu.3.gz
-man/man3/gui_menu_draw_menu_item.3.gz
-man/man3/gui_mg_color.3.gz
-man/man3/gui_mouse_b.3.gz
-man/man3/gui_mouse_focus.3.gz
-man/man3/gui_mouse_x.3.gz
*** 4091 LINES SKIPPED ***