git: 97993373966f - main - net/sup: Move man pages to share/man

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Fri, 29 Mar 2024 08:21:48 UTC
The branch main has been updated by yasu:

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

commit 97993373966ff6ce45e70bceb8b02df635651250
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-29 08:12:50 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-29 08:12:50 +0000

    net/sup: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net/sup/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/net/sup/Makefile b/net/sup/Makefile
index 48ef37a3f24a..257f53b144b5 100644
--- a/net/sup/Makefile
+++ b/net/sup/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	sup
 PORTVERSION=	2.0.20200824
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	net
 
 MAINTAINER=	hrs@FreeBSD.org
@@ -13,11 +14,13 @@ USES=		uidfix
 USE_GITHUB=	yes
 GH_ACCOUNT=	hrs-allbsd
 
+MAKE_ARGS=	MANDIR=${PREFIX}/share/man/man
+
 # XXX Static libraries with PIE are currently unsupported.
 MAKE_ARGS+=	WITHOUT_PIE=true
 
 PLIST_FILES=	bin/sup bin/supfilesrv bin/supscan \
-		man/man1/sup.1.gz man/man8/supfilesrv.8.gz \
-		man/man8/supscan.8.gz man/man8/supservers.8.gz
+		share/man/man1/sup.1.gz share/man/man8/supfilesrv.8.gz \
+		share/man/man8/supscan.8.gz share/man/man8/supservers.8.gz
 
 .include <bsd.port.mk>