git: bce20a27e9bf - main - misc/dnetc: Move manpages to share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 27 Mar 2024 08:07:13 UTC
The branch main has been updated by arrowd:

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

commit bce20a27e9bffd991f33020f27a46bea0ae158a7
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-27 08:03:36 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-27 08:05:54 +0000

    misc/dnetc: Move manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 misc/dnetc/Makefile  | 6 ++++--
 misc/dnetc/pkg-plist | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/misc/dnetc/Makefile b/misc/dnetc/Makefile
index 5dfb2711162d..9ac0fd053b32 100644
--- a/misc/dnetc/Makefile
+++ b/misc/dnetc/Makefile
@@ -33,17 +33,19 @@ SUB_LIST=	BINDIR="${BINDIR}"
 
 .if ${ARCH} == i386
 VERSION=	2.9112.521
+REVISION=	1
 DISTNAME=	dnetc${PORTVERSION:E}-freebsd9-${ARCH:S/i386/x86/}
 WRKSRC=		${WRKDIR}/dnetc${PORTVERSION:E}-freebsd9-${ARCH:S/i386/x86/}
 
 .elif ${ARCH} == amd64
 VERSION=	2.9112.521
+REVISION=	1
 DISTNAME=	dnetc${PORTVERSION:E}-freebsd10-${ARCH}
 WRKSRC=		${WRKDIR}/dnetc${PORTVERSION:E}-freebsd10-${ARCH}
 
 .elif ${ARCH} == powerpc || ${ARCH} == powerpc64
 VERSION=	2.9109.518
-REVISION=	1
+REVISION=	2
 DISTNAME=	dnetc${PORTVERSION:E}-freebsd8-powerpc
 WRKSRC=		${WRKDIR}/dnetc${PORTVERSION:E}-freebsd8-powerpc
 
@@ -55,7 +57,7 @@ VERSION=	0
 do-install:
 	@${MKDIR} ${STAGEDIR}${BINDIR}
 	${INSTALL_PROGRAM} ${WRKSRC}/dnetc ${STAGEDIR}${BINDIR}
-	${INSTALL_MAN} ${WRKSRC}/dnetc.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/dnetc.1 ${STAGEDIR}${PREFIX}/share/man/man1
 	${INSTALL_DATA} ${FILESDIR}/dnetc.ini ${STAGEDIR}${BINDIR}/dnetc.ini.sample
 
 .include <bsd.port.post.mk>
diff --git a/misc/dnetc/pkg-plist b/misc/dnetc/pkg-plist
index d6f537db41c8..c9c5f941ed87 100644
--- a/misc/dnetc/pkg-plist
+++ b/misc/dnetc/pkg-plist
@@ -1,4 +1,4 @@
 @(dnetc,dnetc,) distributed.net/dnetc
 @sample(dnetc,dnetc,) distributed.net/dnetc.ini.sample
-man/man1/dnetc.1.gz
+share/man/man1/dnetc.1.gz
 @dir(dnetc,dnetc,0775) distributed.net