Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2024 23:07:35 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 86a9569721a8 - main - www/w3m: Moved man to share/man
Message-ID:  <202401272307.40RN7ZfO012458@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=86a9569721a83c71757b5c78c15183266919173b

commit 86a9569721a83c71757b5c78c15183266919173b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-27 22:07:36 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-27 23:07:06 +0000

    www/w3m: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 www/w3m/Makefile  |  6 ++++--
 www/w3m/pkg-plist | 12 ++++++------
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/www/w3m/Makefile b/www/w3m/Makefile
index e7c4b1fab254..708362ae04fe 100644
--- a/www/w3m/Makefile
+++ b/www/w3m/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	w3m
 PORTVERSION=	0.5.3.${SNAPDATE}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES+=	www
 
 MAINTAINER?=	nobutaka@FreeBSD.org
@@ -30,6 +30,7 @@ SNAPDATE=	20230129
 
 CONFLICTS?=	ja-w3m-0.5.* ja-w3m-img-0.5.* w3m-img-0.5.*
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--with-gc=${LOCALBASE} \
 		ac_cv_path_PERL=${PERL}
 CONFIGURE_ENV=	DEFS="-I${LOCALBASE}/include"
@@ -98,6 +99,7 @@ post-install:
 	for i in ${DOCS_COMMON} ${DOCS_EN} ; do \
 		${INSTALL_DATA} $$i ${STAGEDIR}${PREFIX}/share/doc/w3m/ ; \
 	done
-	${INSTALL_MAN} ${WRKSRC}/scripts/w3mman/w3mman.1 ${STAGEDIR}${PREFIX}/man/ja/man1
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/man/ja/man1
+	${INSTALL_MAN} ${WRKSRC}/scripts/w3mman/w3mman.1 ${STAGEDIR}${PREFIX}/share/man/ja/man1
 
 .include <bsd.port.mk>
diff --git a/www/w3m/pkg-plist b/www/w3m/pkg-plist
index 7da392a34beb..2650643202e6 100644
--- a/www/w3m/pkg-plist
+++ b/www/w3m/pkg-plist
@@ -11,12 +11,12 @@ libexec/w3m/cgi-bin/w3mhelperpanel
 libexec/w3m/inflate
 libexec/w3m/xface2xpm
 %%INLINE_IMAGE%%libexec/w3m/w3mimgdisplay
-man/ja/man1/w3m.1.gz
-man/ja/man1/w3mman.1.gz
-man/de/man1/w3m.1.gz
-man/de/man1/w3mman.1.gz
-man/man1/w3m.1.gz
-man/man1/w3mman.1.gz
+share/man/ja/man1/w3m.1.gz
+share/man/ja/man1/w3mman.1.gz
+share/man/de/man1/w3m.1.gz
+share/man/de/man1/w3mman.1.gz
+share/man/man1/w3m.1.gz
+share/man/man1/w3mman.1.gz
 %%PORTDOCS%%share/doc/de/w3m/FAQ.html
 %%PORTDOCS%%share/doc/de/w3m/MANUAL.html
 %%PORTDOCS%%share/doc/de/w3m/README.func



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401272307.40RN7ZfO012458>