git: 375460193899 - main - editors/nano: Move man pages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Mar 2024 15:49:39 UTC
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=375460193899459a85f5d07fd406952848872428
commit 375460193899459a85f5d07fd406952848872428
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-03-02 15:46:17 +0000
Commit: Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-03-02 15:46:41 +0000
editors/nano: Move man pages to share/man
Approved by: portmgr (blanket)
---
editors/nano/Makefile | 4 +++-
editors/nano/pkg-plist | 6 +++---
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/editors/nano/Makefile b/editors/nano/Makefile
index eea79adcd344..ec00b6520a18 100644
--- a/editors/nano/Makefile
+++ b/editors/nano/Makefile
@@ -1,5 +1,6 @@
PORTNAME= nano
DISTVERSION= 7.2
+PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= https://www.nano-editor.org/dist/v${DISTVERSION:R:R}/ GNU
@@ -12,7 +13,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USES= charsetfix ncurses pkgconfig tar:xz
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --docdir=${DOCSDIR} --enable-utf8
+GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
+CONFIGURE_ARGS= --docdir=${DOCSDIR} --enable-utf8 --mandir=${PREFIX}/share
MAKE_ARGS+= install_htmlmanDATA=install-htmlmanDATA
PORTSCOUT= limitw:1,even
INFO= nano
diff --git a/editors/nano/pkg-plist b/editors/nano/pkg-plist
index 8e1b6d9ec59a..b2be6e80ad5f 100644
--- a/editors/nano/pkg-plist
+++ b/editors/nano/pkg-plist
@@ -1,8 +1,5 @@
bin/nano
bin/rnano
-man/man1/nano.1.gz
-man/man1/rnano.1.gz
-man/man5/nanorc.5.gz
%%PORTDOCS%%%%DOCSDIR%%/faq.html
%%PORTDOCS%%%%DOCSDIR%%/nano.1.html
%%PORTDOCS%%%%DOCSDIR%%/nano.html
@@ -47,6 +44,9 @@ man/man5/nanorc.5.gz
%%NLS%%share/locale/vi/LC_MESSAGES/nano.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/nano.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/nano.mo
+share/man/man1/nano.1.gz
+share/man/man1/rnano.1.gz
+share/man/man5/nanorc.5.gz
%%DATADIR%%/asm.nanorc
%%DATADIR%%/autoconf.nanorc
%%DATADIR%%/awk.nanorc