git: a6be2b90d2b4 - main - net/dtcpclient: Move manpages to ${PREFIX}/share
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jan 2024 17:28:59 UTC
The branch main has been updated by ume:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a6be2b90d2b466e8ab0ccf53cdb525c3e54e4b06
commit a6be2b90d2b466e8ab0ccf53cdb525c3e54e4b06
Author: Hajimu UMEMOTO <ume@FreeBSD.org>
AuthorDate: 2024-01-21 17:28:21 +0000
Commit: Hajimu UMEMOTO <ume@FreeBSD.org>
CommitDate: 2024-01-21 17:28:52 +0000
net/dtcpclient: Move manpages to ${PREFIX}/share
---
net/dtcpclient/Makefile | 4 ++--
net/dtcpclient/files/patch-Makefile | 8 +++++++-
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/net/dtcpclient/Makefile b/net/dtcpclient/Makefile
index c6c85bc8796f..72dd4a879a71 100644
--- a/net/dtcpclient/Makefile
+++ b/net/dtcpclient/Makefile
@@ -1,6 +1,6 @@
PORTNAME= dtcpclient
PORTVERSION= 20151002
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.mahoroba.org/~ume/ipv6/
@@ -13,7 +13,7 @@ LICENSE= BSD2CLAUSE
USES= uidfix
USE_RC_SUBR= dtcpclient
-PLIST_FILES= man/man8/dtcpclient.8.gz \
+PLIST_FILES= share/man/man8/dtcpclient.8.gz \
sbin/dtcpclient \
"@sample %%EXAMPLESDIR%%/dtcpclient.script etc/dtcpclient.script"
diff --git a/net/dtcpclient/files/patch-Makefile b/net/dtcpclient/files/patch-Makefile
index b5ba2a5a923f..ee5585bad651 100644
--- a/net/dtcpclient/files/patch-Makefile
+++ b/net/dtcpclient/files/patch-Makefile
@@ -1,6 +1,12 @@
--- Makefile.orig 2015-10-02 08:23:57 UTC
+++ Makefile
-@@ -45,7 +45,7 @@ MANDIR= $(PREFIX)/man/man
+@@ -40,12 +40,12 @@ EXAMPLESDIR= $(PREFIX)/share/examples/dtcpclient
+ .if ($(OPSYS) == "NetBSD")
+ MANDIR= $(PREFIX)/man
+ .else
+-MANDIR= $(PREFIX)/man/man
++MANDIR= $(PREFIX)/share/man/man
+ .endif
CFLAGS+= -Wall -DPREFIX=\"$(PREFIX)\"