Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2024 16:40:05 GMT
From:      Christian Weisgerber <naddy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c4a55503f272 - main - net/wifibox-core: Move man pages to share/man
Message-ID:  <202403181640.42IGe5lC074506@gitrepo.freebsd.org>

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

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

commit c4a55503f2720bb162c69372eb8808180fc255bd
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-18 16:32:12 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-18 16:39:47 +0000

    net/wifibox-core: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net/wifibox-core/Makefile  | 4 +++-
 net/wifibox-core/pkg-plist | 4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/net/wifibox-core/Makefile b/net/wifibox-core/Makefile
index 5eac1d41b585..06720be6fbad 100644
--- a/net/wifibox-core/Makefile
+++ b/net/wifibox-core/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	wifibox-core
 PORTVERSION=	0.12.0
+PORTREVISION=	1
 CATEGORIES=	net
 
 MAINTAINER=	pali.gabor@gmail.com
@@ -42,7 +43,8 @@ GH_ACCOUNT=	pgj
 GH_PROJECT=	freebsd-wifibox
 
 NO_BUILD=	yes
-MAKE_ARGS+=	GUEST_ROOT=${LOCALBASE}/share/wifibox \
+MAKE_ARGS+=	MANDIR=${STAGEDIR}${PREFIX}/share/man \
+		GUEST_ROOT=${LOCALBASE}/share/wifibox \
 		GUEST_MAN=${LOCALBASE}/man/man5/wifibox-alpine.5.gz \
 		VERSION=${PORTVERSION} \
 		RECOVERY_METHOD=${PORT_OPTIONS:MRECOVER_*:S/RECOVER_//:tl}
diff --git a/net/wifibox-core/pkg-plist b/net/wifibox-core/pkg-plist
index de8c504c49d7..67c15a4ae069 100644
--- a/net/wifibox-core/pkg-plist
+++ b/net/wifibox-core/pkg-plist
@@ -2,8 +2,8 @@
 @sample etc/wifibox/core.conf.sample
 @sample etc/devd/wifibox.conf.sample
 etc/rc.d/wifibox
-man/man5/wifibox-guest.5.gz
-man/man8/wifibox.8.gz
 sbin/wifibox
+share/man/man5/wifibox-guest.5.gz
+share/man/man8/wifibox.8.gz
 @preexec /usr/bin/touch /var/log/wifibox.log
 @preunexec /bin/rm -f /var/log/wifibox.log



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