git: 47ec13783c58 - main - ftp/lftp: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 07 Mar 2024 13:30:49 UTC
The branch main has been updated by eduardo:

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

commit 47ec13783c581381532966af8b3d4c546d1cf9f1
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-07 13:19:59 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-07 13:30:33 +0000

    ftp/lftp: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 ftp/lftp/Makefile  |  2 ++
 ftp/lftp/pkg-plist | 10 +++++-----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/ftp/lftp/Makefile b/ftp/lftp/Makefile
index 20f72b26f5e9..2901edb984bc 100644
--- a/ftp/lftp/Makefile
+++ b/ftp/lftp/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	lftp
 PORTVERSION=	4.9.2
+PORTREVISION=	1
 CATEGORIES=	ftp
 MASTER_SITES=	ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/ \
 		http://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/ \
@@ -27,6 +28,7 @@ CPE_VENDOR=	lftp_project
 SHEBANG_FILES=	src/convert-mozilla-cookies src/verify-file src/xdg-move
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 PORTDOCS=	AUTHORS BUGS ChangeLog FAQ FEATURES INSTALL MIRRORS NEWS README \
 		README.debug-levels README.modules THANKS TODO
diff --git a/ftp/lftp/pkg-plist b/ftp/lftp/pkg-plist
index 4c61e60a1cf1..965674fc18d3 100644
--- a/ftp/lftp/pkg-plist
+++ b/ftp/lftp/pkg-plist
@@ -3,14 +3,13 @@ bin/lftpget
 @sample etc/lftp.conf.sample
 lib/liblftp-jobs.a
 lib/liblftp-tasks.a
+share/applications/lftp.desktop
+share/icons/hicolor/48x48/apps/lftp-icon.png
 %%DATADIR%%/convert-mozilla-cookies
 %%DATADIR%%/import-ncftp
 %%DATADIR%%/import-netscape
 %%DATADIR%%/verify-file
 %%DATADIR%%/xdg-move
-man/man1/lftp.1.gz
-man/man1/lftpget.1.gz
-man/man5/lftp.conf.5.gz
 %%NLS%%share/locale/cs/LC_MESSAGES/lftp.mo
 %%NLS%%share/locale/de/LC_MESSAGES/lftp.mo
 %%NLS%%share/locale/es/LC_MESSAGES/lftp.mo
@@ -25,5 +24,6 @@ man/man5/lftp.conf.5.gz
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/lftp.mo
 %%NLS%%share/locale/zh_HK/LC_MESSAGES/lftp.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/lftp.mo
-share/applications/lftp.desktop
-share/icons/hicolor/48x48/apps/lftp-icon.png
+share/man/man1/lftp.1.gz
+share/man/man1/lftpget.1.gz
+share/man/man5/lftp.conf.5.gz