git: b75402ab6400 - main - dns/dnstable-convert: Move man pages to share/man

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Thu, 07 Mar 2024 05:05:43 UTC
The branch main has been updated by truckman:

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

commit b75402ab64005a548435e9332a1c803bd42c898b
Author:     Don Lewis <truckman@FreeBSD.org>
AuthorDate: 2024-03-07 05:02:37 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2024-03-07 05:04:54 +0000

    dns/dnstable-convert: Move man pages to share/man
    
    Move the man pages.  We no longer need post-install to install them.
    
    Sponsored by:   DomainTools LLC
---
 dns/dnstable-convert/Makefile | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/dns/dnstable-convert/Makefile b/dns/dnstable-convert/Makefile
index b6ce8e38b034..742e0fa6c357 100644
--- a/dns/dnstable-convert/Makefile
+++ b/dns/dnstable-convert/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	dnstable-convert
 PORTVERSION=	0.12.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	dns
 MASTER_SITES=	FARSIGHT LOCAL/truckman/farsight
 
@@ -21,12 +21,10 @@ RUN_DEPENDS=	sie-nmsg>0:net/sie-nmsg
 USES=		gmake libtool pathfix pkgconfig
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 INSTALL_TARGET=	install-strip
 PLIST_FILES=	bin/dnstable_convert bin/dnstable_unconvert \
-		man/man1/dnstable_convert.1.gz \
-		man/man1/dnstable_unconvert.1.gz
-
-post-install:
-	${INSTALL_MAN} ${WRKSRC}/man/*.1 ${STAGEDIR}/${PREFIX}/man/man1
+		share/man/man1/dnstable_convert.1.gz \
+		share/man/man1/dnstable_unconvert.1.gz
 
 .include <bsd.port.mk>