git: fe274440b1db - main - net/dtcp: Move manpages to ${PREFIX}/share

From: Hajimu UMEMOTO <ume_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 17:28:57 UTC
The branch main has been updated by ume:

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

commit fe274440b1db87f40c2f4614819e04234a933a3c
Author:     Hajimu UMEMOTO <ume@FreeBSD.org>
AuthorDate: 2024-01-21 17:26:46 +0000
Commit:     Hajimu UMEMOTO <ume@FreeBSD.org>
CommitDate: 2024-01-21 17:28:51 +0000

    net/dtcp:  Move manpages to ${PREFIX}/share
---
 net/dtcp/Makefile             |  6 +++---
 net/dtcp/files/patch-Makefile | 17 ++++++++++++-----
 2 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/net/dtcp/Makefile b/net/dtcp/Makefile
index 9dc99cddeca2..94d8f20efe26 100644
--- a/net/dtcp/Makefile
+++ b/net/dtcp/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	dtcp
 PORTVERSION=	20130602
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	net
 MASTER_SITES=	http://www.mahoroba.org/~ume/ipv6/
 
@@ -22,7 +22,7 @@ MAKE_ENV+=	RUBY=${RUBY}
 SUB_LIST+=	RUBY=${RUBY}
 
 PLIST_FILES=	sbin/dtcpauth sbin/dtcpc sbin/dtcps \
-		man/man8/dtcpauth.8.gz man/man8/dtcpc.8.gz \
-		man/man8/dtcps.8.gz
+		share/man/man8/dtcpauth.8.gz share/man/man8/dtcpc.8.gz \
+		share/man/man8/dtcps.8.gz
 
 .include <bsd.port.mk>
diff --git a/net/dtcp/files/patch-Makefile b/net/dtcp/files/patch-Makefile
index d5559b9f4a01..bc29fd5b7419 100644
--- a/net/dtcp/files/patch-Makefile
+++ b/net/dtcp/files/patch-Makefile
@@ -1,8 +1,15 @@
-Index: Makefile
-diff -u Makefile.orig Makefile
---- Makefile.orig	2013-06-02 23:07:08.000000000 +0900
-+++ Makefile	2013-10-05 01:00:09.143956067 +0900
-@@ -94,11 +94,11 @@
+--- Makefile.orig	2013-06-02 14:07:08 UTC
++++ Makefile
+@@ -41,7 +41,7 @@ BINDIR=		$(PREFIX)/sbin
+ .if (${OPSYS} == "NetBSD")
+ MANDIR=		$(PREFIX)/man
+ .else
+-MANDIR=		$(PREFIX)/man/man
++MANDIR=		$(PREFIX)/share/man/man
+ .endif
+ MAN=		dtcps.8 dtcpc.8 dtcpauth.8
+ 
+@@ -94,11 +94,11 @@ dtcpauth.8:	dtcpauth.8.in
  
  realinstall:
  	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 555 dtcps \