git: 9f0167a70be2 - main - security/libxcrypt: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 21 Mar 2024 17:10:44 UTC
The branch main has been updated by eduardo:

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

commit 9f0167a70be2b3ee12da57bf2b0d036378a8d543
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-21 17:09:23 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-21 17:10:19 +0000

    security/libxcrypt: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 security/libxcrypt/Makefile  |  3 ++-
 security/libxcrypt/pkg-plist | 20 ++++++++++----------
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/security/libxcrypt/Makefile b/security/libxcrypt/Makefile
index 6bb8ff9e9cfe..3b9283581117 100644
--- a/security/libxcrypt/Makefile
+++ b/security/libxcrypt/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	libxcrypt
 DISTVERSIONPREFIX=	v
 DISTVERSION=	4.4.36
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -17,6 +17,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	besser82
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=	--disable-static
 
 CFLAGS+=	-Wno-gnu-statement-expression
diff --git a/security/libxcrypt/pkg-plist b/security/libxcrypt/pkg-plist
index a3109f971d62..c7141fbb15f3 100644
--- a/security/libxcrypt/pkg-plist
+++ b/security/libxcrypt/pkg-plist
@@ -4,13 +4,13 @@ lib/libcrypt.so.2
 lib/libcrypt.so.2.0.0
 libdata/pkgconfig/libcrypt.pc
 libdata/pkgconfig/libxcrypt.pc
-man/man3/crypt.3.gz
-man/man3/crypt_checksalt.3.gz
-man/man3/crypt_gensalt.3.gz
-man/man3/crypt_gensalt_ra.3.gz
-man/man3/crypt_gensalt_rn.3.gz
-man/man3/crypt_preferred_method.3.gz
-man/man3/crypt_r.3.gz
-man/man3/crypt_ra.3.gz
-man/man3/crypt_rn.3.gz
-man/man5/crypt.5.gz
+share/man/man3/crypt.3.gz
+share/man/man3/crypt_checksalt.3.gz
+share/man/man3/crypt_gensalt.3.gz
+share/man/man3/crypt_gensalt_ra.3.gz
+share/man/man3/crypt_gensalt_rn.3.gz
+share/man/man3/crypt_preferred_method.3.gz
+share/man/man3/crypt_r.3.gz
+share/man/man3/crypt_ra.3.gz
+share/man/man3/crypt_rn.3.gz
+share/man/man5/crypt.5.gz