git: 0fdaa90102f3 - main - databases/xapian-core: Impelled to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 23 Jan 2024 14:51:45 UTC
The branch main has been updated by bofh:

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

commit 0fdaa90102f3a6ca84edab3a318a2e02c1a43a76
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-23 14:38:15 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-23 14:51:24 +0000

    databases/xapian-core: Impelled to share/man
    
    Approved by:    portmgr (blanket)
---
 databases/xapian-core/Makefile  |  2 ++
 databases/xapian-core/pkg-plist | 24 ++++++++++++------------
 2 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/databases/xapian-core/Makefile b/databases/xapian-core/Makefile
index 3cd8a336761f..eae49b8cd1a6 100644
--- a/databases/xapian-core/Makefile
+++ b/databases/xapian-core/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	xapian-core
 PORTVERSION=	1.4.24
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	databases
 MASTER_SITES=	https://oligarchy.co.uk/xapian/${PORTVERSION}/ \
@@ -16,6 +17,7 @@ USES=		compiler:c++11-lang libtool pathfix tar:xz
 
 CONFIGURE_ARGS=	ac_cv_func_snprintf=snprintf
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 INSTALL_TARGET=	install-strip
 USE_CXXSTD=	c++11
 USE_LDCONFIG=	yes
diff --git a/databases/xapian-core/pkg-plist b/databases/xapian-core/pkg-plist
index f1c6ff036be7..ca74bb06cf79 100644
--- a/databases/xapian-core/pkg-plist
+++ b/databases/xapian-core/pkg-plist
@@ -57,18 +57,18 @@ lib/libxapian.so
 lib/libxapian.so.30
 lib/libxapian.so.30.12.5
 libdata/pkgconfig/xapian-core.pc
-man/man1/copydatabase.1.gz
-man/man1/quest.1.gz
-man/man1/xapian-check.1.gz
-man/man1/xapian-compact.1.gz
-man/man1/xapian-config.1.gz
-man/man1/xapian-delve.1.gz
-man/man1/xapian-metadata.1.gz
-man/man1/xapian-pos.1.gz
-man/man1/xapian-progsrv.1.gz
-man/man1/xapian-replicate-server.1.gz
-man/man1/xapian-replicate.1.gz
-man/man1/xapian-tcpsrv.1.gz
+share/man/man1/copydatabase.1.gz
+share/man/man1/quest.1.gz
+share/man/man1/xapian-check.1.gz
+share/man/man1/xapian-compact.1.gz
+share/man/man1/xapian-config.1.gz
+share/man/man1/xapian-delve.1.gz
+share/man/man1/xapian-metadata.1.gz
+share/man/man1/xapian-pos.1.gz
+share/man/man1/xapian-progsrv.1.gz
+share/man/man1/xapian-replicate-server.1.gz
+share/man/man1/xapian-replicate.1.gz
+share/man/man1/xapian-tcpsrv.1.gz
 share/aclocal/xapian.m4
 %%PORTDOCS%%%%DOCSDIR%%/admin_notes.html
 %%PORTDOCS%%%%DOCSDIR%%/apidoc/html/annotated.html