aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2024-01-21 17:26:46 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2024-01-21 17:28:51 +0000
commitfe274440b1db87f40c2f4614819e04234a933a3c (patch)
treee7e06feb3a71fa641aa7d51e6b31b6f7c186c3a9
parent0fe14a33d10fc05eb16a35b7904a63cff020c6cd (diff)
net/dtcp: Move manpages to ${PREFIX}/share
-rw-r--r--net/dtcp/Makefile6
-rw-r--r--net/dtcp/files/patch-Makefile17
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 \