git: f5ea16ba08dc - main - security/libpwquality: Moved man to share/man

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

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

commit f5ea16ba08dc5bb54f44834f5c4556bc39392dc3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-30 13:33:40 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-30 20:25:01 +0000

    security/libpwquality: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 security/libpwquality/Makefile  | 2 ++
 security/libpwquality/pkg-plist | 8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/security/libpwquality/Makefile b/security/libpwquality/Makefile
index a9bc1c665999..b4a1596ac7b9 100644
--- a/security/libpwquality/Makefile
+++ b/security/libpwquality/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libpwquality
 DISTVERSION=	1.4.5
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTNAME}-${PORTVERSION}/
 
@@ -17,6 +18,7 @@ LIB_DEPENDS=	libcrack.so:security/cracklib
 
 USES=		cpe gmake libtool localbase pathfix tar:bz2
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USE_LDCONFIG=	yes
 CPE_VENDOR=	libpwquality_project
 CONFIGURE_ARGS+=--disable-pam
diff --git a/security/libpwquality/pkg-plist b/security/libpwquality/pkg-plist
index 56876d7a3ab9..51b0053bcd12 100644
--- a/security/libpwquality/pkg-plist
+++ b/security/libpwquality/pkg-plist
@@ -12,10 +12,10 @@ lib/libpwquality.so.1.0.2
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/pwquality-1.4.5-py%%PYTHON_VER%%.egg-info/top_level.txt
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/pwquality%%PYTHON_EXT_SUFFIX%%.so
 libdata/pkgconfig/pwquality.pc
-man/man1/pwmake.1.gz
-man/man1/pwscore.1.gz
-man/man3/pwquality.3.gz
-man/man5/pwquality.conf.5.gz
+share/man/man1/pwmake.1.gz
+share/man/man1/pwscore.1.gz
+share/man/man3/pwquality.3.gz
+share/man/man5/pwquality.conf.5.gz
 %%NLS%%share/locale/ar/LC_MESSAGES/libpwquality.mo
 %%NLS%%share/locale/as/LC_MESSAGES/libpwquality.mo
 %%NLS%%share/locale/az/LC_MESSAGES/libpwquality.mo