git: ff4ed3663064 - main - security/mcrypt: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 13:20:09 UTC
The branch main has been updated by bofh:

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

commit ff4ed36630649695a10e87b2b245ce4d030f8fd5
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 13:08:00 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 13:19:46 +0000

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

diff --git a/security/mcrypt/Makefile b/security/mcrypt/Makefile
index b5249a92cd22..efa9fd094153 100644
--- a/security/mcrypt/Makefile
+++ b/security/mcrypt/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mcrypt
 PORTVERSION=	2.6.8
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	security
 MASTER_SITES=	SF/${PORTNAME}/MCrypt/${PORTVERSION} \
 		ftp://argeas.cs-net.gr/pub/unix/mcrypt/attic/ \
@@ -20,6 +20,7 @@ LIB_DEPENDS=	libmcrypt.so:security/libmcrypt \
 USES=		cpe
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--enable-static --with-catgets
diff --git a/security/mcrypt/pkg-plist b/security/mcrypt/pkg-plist
index 19836cbb0c38..b3398381b4db 100644
--- a/security/mcrypt/pkg-plist
+++ b/security/mcrypt/pkg-plist
@@ -1,6 +1,6 @@
 bin/mcrypt
 bin/mdecrypt
-man/man1/mcrypt.1.gz
+share/man/man1/mcrypt.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/FORMAT
 %%PORTDOCS%%%%DOCSDIR%%/magic
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.mcryptrc