aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-27 22:07:36 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-27 23:07:06 +0000
commit86a9569721a83c71757b5c78c15183266919173b (patch)
tree2bd2e4cb6702bf2341210005dfd9f57ec4f92ce0
parenteaeafd8622f83bbf0f35907477302fad8e2b8e70 (diff)
downloadports-86a9569721a83c71757b5c78c15183266919173b.tar.gz
ports-86a9569721a83c71757b5c78c15183266919173b.zip
www/w3m: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--www/w3m/Makefile6
-rw-r--r--www/w3m/pkg-plist12
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