git: b859919cd920 - main - net/tcptraceroute: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)

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

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

commit b859919cd92033f74961832e7ba55e4ee4b85d77
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:27:52 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:38 +0000

    net/tcptraceroute: Update manpage location (003a571d1d6585196545295efc181514f171c4c4, r523104)
---
 net/tcptraceroute/Makefile  | 7 ++++---
 net/tcptraceroute/pkg-plist | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/net/tcptraceroute/Makefile b/net/tcptraceroute/Makefile
index fb94e1626f8b..42956c626176 100644
--- a/net/tcptraceroute/Makefile
+++ b/net/tcptraceroute/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	tcptraceroute
 PORTVERSION=	1.5beta7
-PORTREVISION=	1
 DISTVERSIONPREFIX=	tcptraceroute-
+PORTREVISION=	1
 CATEGORIES=	net
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -16,12 +16,13 @@ LIB_DEPENDS=	libnet.so:net/libnet
 USES=		gmake localbase
 
 GNU_CONFIGURE=	yes
-
-OPTIONS_DEFINE=	DOCS
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 GH_ACCOUNT=	mct
 USE_GITHUB=	yes
 
 PORTSCOUT=	ignore:1
 
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.mk>
diff --git a/net/tcptraceroute/pkg-plist b/net/tcptraceroute/pkg-plist
index 8ca1e52bf29f..2fc63d9c7464 100644
--- a/net/tcptraceroute/pkg-plist
+++ b/net/tcptraceroute/pkg-plist
@@ -1,5 +1,4 @@
 @(root,wheel,4555) bin/tcptraceroute
-man/man1/tcptraceroute.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
@@ -8,3 +7,4 @@ man/man1/tcptraceroute.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/examples.txt
 %%PORTDOCS%%%%DOCSDIR%%/tcptraceroute.1.html
 %%PORTDOCS%%%%DOCSDIR%%/tcptraceroute.lsm
+share/man/man1/tcptraceroute.1.gz