git: d10d0d1ce42b - main - net/minissdpd: Move manpages to share/man

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 12:18:35 UTC
The branch main has been updated by ehaupt:

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

commit d10d0d1ce42be8f60e2cd38446f5f7f65904fa7b
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 12:12:34 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 12:16:59 +0000

    net/minissdpd: Move manpages to share/man
---
 net/minissdpd/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/net/minissdpd/Makefile b/net/minissdpd/Makefile
index 0e43135c0078..22d61cbcd3f5 100644
--- a/net/minissdpd/Makefile
+++ b/net/minissdpd/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	minissdpd
-PORTVERSION=	1.6.0
+DISTVERSION=	1.6.0
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://miniupnp.free.fr/files/ \
 		LOCAL/ehaupt
@@ -16,8 +17,8 @@ USE_RC_SUBR=	minissdpd
 
 CFLAGS+=	-D_GNU_SOURCE
 
-PLIST_FILES=	man/man8/minissdpd.8.gz \
-		sbin/minissdpd
+PLIST_FILES=	sbin/minissdpd \
+		share/man/man8/minissdpd.8.gz
 
 post-extract:
 	@${MV} ${WRKSRC}/${PORTNAME}.1 ${WRKSRC}/${PORTNAME}.8
@@ -28,6 +29,6 @@ post-patch:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/share/man/man8
 
 .include <bsd.port.mk>