git: d2391cdec702 - main - misc/ptsort: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 17 Mar 2024 11:06:45 UTC
The branch main has been updated by eduardo:

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

commit d2391cdec7026931b16f7a95f059e597f3a73095
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-17 10:29:27 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-17 11:06:23 +0000

    misc/ptsort: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 misc/ptsort/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/misc/ptsort/Makefile b/misc/ptsort/Makefile
index 91997e71135f..28f48bde7272 100644
--- a/misc/ptsort/Makefile
+++ b/misc/ptsort/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ptsort
 PORTVERSION=	1.20170904
+PORTREVISION=	1
 CATEGORIES=	misc
 MASTER_SITES=	https://github.com/dag-erling/${PORTNAME}/releases/download/${PORTVERSION}/
 
@@ -10,8 +11,9 @@ WWW=		https://github.com/dag-erling/ptsort
 LICENSE=	BSD3CLAUSE
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 INSTALL_TARGET=	install-strip
 
-PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+PLIST_FILES=	bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz
 
 .include <bsd.port.mk>