git: 63d475adc086 - main - databases/unixODBC: Impelled to share/man

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

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

commit 63d475adc086d45c095a63215270ab7836a85830
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-23 15:49:04 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-23 15:59:57 +0000

    databases/unixODBC: Impelled to share/man
    
    Approved by:    portmgr (blanket)
---
 databases/unixODBC/Makefile  |  2 ++
 databases/unixODBC/pkg-plist | 16 ++++++++--------
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/databases/unixODBC/Makefile b/databases/unixODBC/Makefile
index a565065aadbe..7cc274e40626 100644
--- a/databases/unixODBC/Makefile
+++ b/databases/unixODBC/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	unixODBC
 PORTVERSION=	2.3.12
+PORTREVISION=	1
 CATEGORIES=	databases
 MASTER_SITES=	http://www.unixodbc.org/ \
 		ftp://ftp.unixodbc.org/pub/unixODBC/
@@ -14,6 +15,7 @@ LICENSE_COMB=	multi
 OPTIONS_DEFINE=	DOCS
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ENV=	ac_cv_header_msql_h=no
 CONFIGURE_ARGS=	--enable-static --enable-shared \
 		${ICONV_CONFIGURE_ARG}
diff --git a/databases/unixODBC/pkg-plist b/databases/unixODBC/pkg-plist
index a232918347e4..a8f478231982 100644
--- a/databases/unixODBC/pkg-plist
+++ b/databases/unixODBC/pkg-plist
@@ -36,12 +36,12 @@ lib/libodbcinst.so.2.0.0
 libdata/pkgconfig/odbc.pc
 libdata/pkgconfig/odbccr.pc
 libdata/pkgconfig/odbcinst.pc
-man/man1/dltest.1.gz
-man/man1/isql.1.gz
-man/man1/iusql.1.gz
-man/man1/odbc_config.1.gz
-man/man1/odbcinst.1.gz
-man/man5/odbc.ini.5.gz
-man/man5/odbcinst.ini.5.gz
-man/man7/unixODBC.7.gz
+share/man/man1/dltest.1.gz
+share/man/man1/isql.1.gz
+share/man/man1/iusql.1.gz
+share/man/man1/odbc_config.1.gz
+share/man/man1/odbcinst.1.gz
+share/man/man5/odbc.ini.5.gz
+share/man/man5/odbcinst.ini.5.gz
+share/man/man7/unixODBC.7.gz
 @dir etc/ODBCDataSources