git: 5257ca8d1050 - main - ftp/proftpd: Move man pages to share/man

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Tue, 12 Mar 2024 03:55:46 UTC
The branch main has been updated by yasu:

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

commit 5257ca8d1050729ec2a3c0343d10d2933ec731a6
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-03-12 02:36:32 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-03-12 03:55:09 +0000

    ftp/proftpd: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 ftp/proftpd/Makefile  |  5 +++--
 ftp/proftpd/pkg-plist | 24 ++++++++++++------------
 2 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index 30875662d433..99025e2e2b48 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -2,7 +2,7 @@ PORTNAME?=	proftpd
 .if !defined(DISTVERSION)
 PORTVERSION?=	${PROFTPD_VERSION}
 .endif
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES?=	ftp
 MASTER_SITES=	ftp://ftp.proftpd.org/distrib/source/ \
 		https://github.com/downloads/proftpd/proftpd.github.com/ \
@@ -52,6 +52,7 @@ PORTDOCS=	*
 MAKE_JOBS_UNSAFE=	yes
 USES+=		gmake libtool
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 .if !defined(_BUILDING_PROFTPD_MODULE)
 USES+=		cpe ssl
@@ -239,7 +240,7 @@ post-install:
 	@${CP} -RP ${WRKSRC}/doc/howto ${STAGEDIR}${DOCSDIR}/html/howto
 . endif
 .endif
-	@${INSTALL_MAN} ${WRKSRC}/src/ftpdctl.8 ${STAGEDIR}${PREFIX}/man/man8/
+	@${INSTALL_MAN} ${WRKSRC}/src/ftpdctl.8 ${STAGEDIR}${PREFIX}/share/man/man8/
 .endif #!defined(_BUILDING_PROFTPD_MODULE)
 
 .include <bsd.port.post.mk>
diff --git a/ftp/proftpd/pkg-plist b/ftp/proftpd/pkg-plist
index f719ebd09127..7bc0258eaf27 100644
--- a/ftp/proftpd/pkg-plist
+++ b/ftp/proftpd/pkg-plist
@@ -197,18 +197,18 @@ libexec/proftpd/mod_wrap2_file.so
 %%REDIS%%libexec/proftpd/mod_wrap2_redis.so
 libexec/proftpd/mod_wrap2_sql.a
 libexec/proftpd/mod_wrap2_sql.so
-man/man1/ftpcount.1.gz
-man/man1/ftpmail.1.gz
-man/man1/ftpasswd.1.gz
-man/man1/ftpquota.1.gz
-man/man1/ftpwho.1.gz
-man/man1/ftptop.1.gz
-man/man5/proftpd.conf.5.gz
-man/man5/xferlog.5.gz
-man/man8/proftpd.8.gz
-man/man8/ftpscrub.8.gz
-man/man8/ftpshut.8.gz
-man/man8/ftpdctl.8.gz
+share/man/man1/ftpcount.1.gz
+share/man/man1/ftpmail.1.gz
+share/man/man1/ftpasswd.1.gz
+share/man/man1/ftpquota.1.gz
+share/man/man1/ftpwho.1.gz
+share/man/man1/ftptop.1.gz
+share/man/man5/proftpd.conf.5.gz
+share/man/man5/xferlog.5.gz
+share/man/man8/proftpd.8.gz
+share/man/man8/ftpscrub.8.gz
+share/man/man8/ftpshut.8.gz
+share/man/man8/ftpdctl.8.gz
 sbin/ftpscrub
 sbin/ftpshut
 sbin/in.proftpd