git: 36ec4c223df4 - main - net-mgmt/ipv6calc: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:19:35 UTC
The branch main has been updated by sunpoet:

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

commit 36ec4c223df456f92faf3d48d88071f00442d552
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:28:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:39 +0000

    net-mgmt/ipv6calc: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)
---
 net-mgmt/ipv6calc/Makefile                     |  1 +
 net-mgmt/ipv6calc/files/patch-man__Makefile.in | 12 ------------
 net-mgmt/ipv6calc/pkg-plist                    |  8 ++++----
 3 files changed, 5 insertions(+), 16 deletions(-)

diff --git a/net-mgmt/ipv6calc/Makefile b/net-mgmt/ipv6calc/Makefile
index 1385e49ec53e..7b9df003f3dc 100644
--- a/net-mgmt/ipv6calc/Makefile
+++ b/net-mgmt/ipv6calc/Makefile
@@ -17,6 +17,7 @@ BUILD_DEPENDS=	bash:shells/bash
 USES=		gmake perl5 shebangfix ssl
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 SHEBANG_FILES=	tools/*
 
diff --git a/net-mgmt/ipv6calc/files/patch-man__Makefile.in b/net-mgmt/ipv6calc/files/patch-man__Makefile.in
deleted file mode 100644
index b7f96963aee0..000000000000
--- a/net-mgmt/ipv6calc/files/patch-man__Makefile.in
+++ /dev/null
@@ -1,12 +0,0 @@
---- man/Makefile.in.orig	2016-12-29 08:56:34 UTC
-+++ man/Makefile.in
-@@ -25,7 +25,7 @@ clean:
- test:		
- 
- install:
--		mkdir -p $(DESTDIR)$(mandir)/man8
-+		mkdir -p $(DESTDIR)${PREFIX}/man/man8
- 		for f in *.8; do \
--			install -m 644 $$f $(DESTDIR)$(mandir)/man8; \
-+			install -m 644 $$f $(DESTDIR)${PREFIX}/man/man8; \
- 		done
diff --git a/net-mgmt/ipv6calc/pkg-plist b/net-mgmt/ipv6calc/pkg-plist
index 44e2c3b4a0f2..589616ba92ec 100644
--- a/net-mgmt/ipv6calc/pkg-plist
+++ b/net-mgmt/ipv6calc/pkg-plist
@@ -2,10 +2,6 @@ bin/ipv6calc
 bin/ipv6loganon
 bin/ipv6logconv
 bin/ipv6logstats
-man/man8/ipv6calc.8.gz
-man/man8/ipv6loganon.8.gz
-man/man8/ipv6logconv.8.gz
-man/man8/ipv6logstats.8.gz
 %%DATADIR%%/tools/DBIP-update.sh
 %%DATADIR%%/tools/GeoIP-update.sh
 %%DATADIR%%/tools/IP2Location-update.sh
@@ -15,3 +11,7 @@ man/man8/ipv6logstats.8.gz
 %%DATADIR%%/tools/ipv6calc-db-update.sh
 %%DATADIR%%/tools/ipv6calc-registries-check-run-create.sh
 %%DATADIR%%/tools/ipv6calc-update-registries.sh
+share/man/man8/ipv6calc.8.gz
+share/man/man8/ipv6loganon.8.gz
+share/man/man8/ipv6logconv.8.gz
+share/man/man8/ipv6logstats.8.gz