Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2024 04:36:31 GMT
From:      Don Lewis <truckman@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6f205cb63532 - main - dns/dnstable: Move man pages to share/man
Message-ID:  <202403070436.4274aVut061452@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by truckman:

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

commit 6f205cb635324516f24d478058b2533e0123ca73
Author:     Don Lewis <truckman@FreeBSD.org>
AuthorDate: 2024-03-07 04:32:58 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2024-03-07 04:36:13 +0000

    dns/dnstable: 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/Makefile  |  8 ++------
 dns/dnstable/pkg-plist | 22 +++++++++++-----------
 2 files changed, 13 insertions(+), 17 deletions(-)

diff --git a/dns/dnstable/Makefile b/dns/dnstable/Makefile
index a16620f0c8a0..a3990c0c7f0c 100644
--- a/dns/dnstable/Makefile
+++ b/dns/dnstable/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	dnstable
 PORTVERSION=	0.14.0
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	dns
 MASTER_SITES=	FARSIGHT LOCAL/truckman/farsight
 
@@ -18,11 +18,7 @@ USES=		gmake libtool pathfix pkgconfig
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 INSTALL_TARGET=	install-strip
 
-post-install:
-.for i in 1 3 5 7
-	${INSTALL_MAN} ${WRKSRC}/man/*.${i} ${STAGEDIR}/${PREFIX}/man/man${i}
-.endfor
-
 .include <bsd.port.mk>
diff --git a/dns/dnstable/pkg-plist b/dns/dnstable/pkg-plist
index 9d4684d3d8d7..fbf036fe11fa 100644
--- a/dns/dnstable/pkg-plist
+++ b/dns/dnstable/pkg-plist
@@ -7,14 +7,14 @@ lib/libdnstable.so
 lib/libdnstable.so.0
 lib/libdnstable.so.0.3.0
 libdata/pkgconfig/libdnstable.pc
-man/man1/dnstable_dump.1.gz
-man/man1/dnstable_lookup.1.gz
-man/man1/dnstable_merge.1.gz
-man/man3/dnstable_entry.3.gz
-man/man3/dnstable_iter.3.gz
-man/man3/dnstable_merge_func.3.gz
-man/man3/dnstable_query.3.gz
-man/man3/dnstable_reader.3.gz
-man/man3/dnstable_stat.3.gz
-man/man5/dnstable-encoding.5.gz
-man/man7/dnstable.7.gz
+share/man/man1/dnstable_dump.1.gz
+share/man/man1/dnstable_lookup.1.gz
+share/man/man1/dnstable_merge.1.gz
+share/man/man3/dnstable_entry.3.gz
+share/man/man3/dnstable_iter.3.gz
+share/man/man3/dnstable_merge_func.3.gz
+share/man/man3/dnstable_query.3.gz
+share/man/man3/dnstable_reader.3.gz
+share/man/man3/dnstable_stat.3.gz
+share/man/man5/dnstable-encoding.5.gz
+share/man/man7/dnstable.7.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403070436.4274aVut061452>