git: 12dae37d1e1a - main - net/freeradius3: Move man pages to share/man

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Tue, 19 Mar 2024 02:15:54 UTC
The branch main has been updated by yasu:

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

commit 12dae37d1e1a065aa1dbfec8c88eda707ff61c02
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-19 01:08:26 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-19 02:13:54 +0000

    net/freeradius3: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net/freeradius3/Makefile  |  2 ++
 net/freeradius3/pkg-plist | 81 ++++++++++++++++++++++++-----------------------
 2 files changed, 43 insertions(+), 40 deletions(-)

diff --git a/net/freeradius3/Makefile b/net/freeradius3/Makefile
index 9b98878da5b6..d0625af68d23 100644
--- a/net/freeradius3/Makefile
+++ b/net/freeradius3/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	freeradius
 DISTVERSION=	3.2.3
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	https://github.com/FreeRADIUS/freeradius-server/releases/download/release_${DISTVERSION:S/./_/g}/ \
 		https://freeradius.org/ftp/pub/radius/%SUBDIR%/ \
@@ -40,6 +41,7 @@ USE_RC_SUBR=	radiusd
 SHEBANG_FILES=	src/modules/rlm_counter/rad_counter scripts/sql/radsqlrelay \
 		scripts/sql/rlm_sqlippool_tool
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS+=--without-rlm_python
 # Prevent /root/.rnd leftover
 MAKE_ARGS+=	HOME=/dev/null
diff --git a/net/freeradius3/pkg-plist b/net/freeradius3/pkg-plist
index 27f7fdfb5872..d1373e2b70ea 100644
--- a/net/freeradius3/pkg-plist
+++ b/net/freeradius3/pkg-plist
@@ -312,46 +312,47 @@ include/freeradius/vqp.h
 %%LIBDIR%%/rlm_wimax.a
 %%LIBDIR%%/rlm_wimax.la
 %%LIBDIR%%/rlm_wimax.so
-man/man1/dhcpclient.1.gz
-man/man1/rad_counter.1.gz
-man/man1/radclient.1.gz
-man/man1/radeapclient.1.gz
-man/man1/radlast.1.gz
-man/man1/radtest.1.gz
-man/man1/radwho.1.gz
-man/man1/radzap.1.gz
-man/man1/smbencrypt.1.gz
-man/man5/checkrad.5.gz
-man/man5/clients.conf.5.gz
-man/man5/dictionary.5.gz
-man/man5/radiusd.conf.5.gz
-man/man5/radrelay.conf.5.gz
-man/man5/rlm_always.5.gz
-man/man5/rlm_attr_filter.5.gz
-man/man5/rlm_chap.5.gz
-man/man5/rlm_counter.5.gz
-man/man5/rlm_detail.5.gz
-man/man5/rlm_digest.5.gz
-man/man5/rlm_expr.5.gz
-man/man5/rlm_files.5.gz
-man/man5/rlm_idn.5.gz
-man/man5/rlm_mschap.5.gz
-man/man5/rlm_pap.5.gz
-man/man5/rlm_passwd.5.gz
-man/man5/rlm_realm.5.gz
-man/man5/rlm_sql.5.gz
-man/man5/rlm_unix.5.gz
-man/man5/unlang.5.gz
-man/man5/users.5.gz
-man/man8/radcrypt.8.gz
-man/man8/raddebug.8.gz
-man/man8/radiusd.8.gz
-man/man8/radmin.8.gz
-man/man8/radrelay.8.gz
-man/man8/radsniff.8.gz
-man/man8/radsqlrelay.8.gz
-man/man8/rlm_ippool_tool.8.gz
-man/man8/rlm_sqlippool_tool.8.gz
+share/man/man1/dhcpclient.1.gz
+share/man/man1/rad_counter.1.gz
+share/man/man1/radclient.1.gz
+share/man/man1/radeapclient.1.gz
+share/man/man1/radlast.1.gz
+share/man/man1/radtest.1.gz
+share/man/man1/radwho.1.gz
+share/man/man1/radzap.1.gz
+share/man/man1/smbencrypt.1.gz
+share/man/man5/checkrad.5.gz
+share/man/man5/clients.conf.5.gz
+share/man/man5/dictionary.5.gz
+share/man/man5/radiusd.conf.5.gz
+share/man/man5/radrelay.conf.5.gz
+share/man/man5/rlm_always.5.gz
+share/man/man5/rlm_attr_filter.5.gz
+share/man/man5/rlm_chap.5.gz
+share/man/man5/rlm_counter.5.gz
+share/man/man5/rlm_detail.5.gz
+share/man/man5/rlm_digest.5.gz
+share/man/man5/rlm_expr.5.gz
+share/man/man5/rlm_files.5.gz
+share/man/man5/rlm_idn.5.gz
+share/man/man5/rlm_mschap.5.gz
+share/man/man5/rlm_pap.5.gz
+share/man/man5/rlm_passwd.5.gz
+share/man/man5/rlm_realm.5.gz
+share/man/man5/rlm_sql.5.gz
+share/man/man5/rlm_unbound.5.gz
+share/man/man5/rlm_unix.5.gz
+share/man/man5/unlang.5.gz
+share/man/man5/users.5.gz
+share/man/man8/radcrypt.8.gz
+share/man/man8/raddebug.8.gz
+share/man/man8/radiusd.8.gz
+share/man/man8/radmin.8.gz
+share/man/man8/radrelay.8.gz
+share/man/man8/radsniff.8.gz
+share/man/man8/radsqlrelay.8.gz
+share/man/man8/rlm_ippool_tool.8.gz
+share/man/man8/rlm_sqlippool_tool.8.gz
 sbin/checkrad
 sbin/raddebug
 sbin/radiusd