git: 0d69cb6267d4 - main - security/snort: Move man pages to share/man

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

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

commit 0d69cb6267d4dd7b18f44b57323ef15ba6cfb306
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-21 18:48:38 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-21 20:22:59 +0000

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

diff --git a/security/snort/Makefile b/security/snort/Makefile
index 52ca41aa7cb7..faf03f706b9b 100644
--- a/security/snort/Makefile
+++ b/security/snort/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	snort
 PORTVERSION=	2.9.20
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	https://snort.org/downloads/snort/ \
 		https://snort.org/downloads/archive/snort/
@@ -27,6 +27,7 @@ USE_LDCONFIG=		yes
 SUB_FILES=		pkg-message
 SHEBANG_FILES=		tools/appid_detector_builder.sh
 GNU_CONFIGURE=		yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 MAKE_JOBS_UNSAFE=	yes
 
 RULES_DIR=		${ETCDIR}/rules
diff --git a/security/snort/pkg-plist b/security/snort/pkg-plist
index a77db055143e..7f5fa6520dd9 100644
--- a/security/snort/pkg-plist
+++ b/security/snort/pkg-plist
@@ -173,7 +173,7 @@ lib/snort_dynamicpreprocessor/libsf_ssl_preproc.so.0.0.0
 libdata/pkgconfig/snort.pc
 libdata/pkgconfig/snort_output.pc
 libdata/pkgconfig/snort_preproc.pc
-man/man8/snort.8.gz
+share/man/man8/snort.8.gz
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/BUGS
 %%PORTDOCS%%%%DOCSDIR%%/CREDITS