Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2024 13:19:48 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2c4fab8d0e80 - main - net-mgmt/hastmon: Move man pages to share/man
Message-ID:  <202403201319.42KDJmH3000671@gitrepo.freebsd.org>

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

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

commit 2c4fab8d0e8088f81c5cb66353635653898de43a
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-20 11:27:50 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-20 13:19:30 +0000

    net-mgmt/hastmon: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net-mgmt/hastmon/Makefile  | 4 +++-
 net-mgmt/hastmon/pkg-plist | 6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/net-mgmt/hastmon/Makefile b/net-mgmt/hastmon/Makefile
index 8d57ad7d04e4..4680d17fd77d 100644
--- a/net-mgmt/hastmon/Makefile
+++ b/net-mgmt/hastmon/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	hastmon
 PORTVERSION=	0.3.4
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 
 MAINTAINER=	trociny@FreeBSD.org
@@ -16,6 +17,7 @@ GH_ACCOUNT=	trociny
 USES=		ssl
 MKCMAKE?=	${LOCALBASE}/bin/mkcmake
 INSTALL_TARGET=	installdirs install
+MAKE_ARGS=	MANDIR=${PREFIX}/share/man
 
 PORTDOCS=	ChangeLog COPYRIGHT README
 
@@ -33,7 +35,7 @@ do-build:
 
 do-install:
 	${SETENV} ${MKCMAKE_ENV} DESTDIR=${STAGEDIR} \
-		${MKCMAKE} -C ${WRKSRC} ${INSTALL_TARGET}
+		${MKCMAKE} -C ${WRKSRC} ${INSTALL_TARGET} ${MAKE_ARGS}
 
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for doc in ${PORTDOCS}
diff --git a/net-mgmt/hastmon/pkg-plist b/net-mgmt/hastmon/pkg-plist
index d5bdbcf2c0b9..d62885034a38 100644
--- a/net-mgmt/hastmon/pkg-plist
+++ b/net-mgmt/hastmon/pkg-plist
@@ -1,6 +1,6 @@
 etc/rc.d/hastmon
 sbin/hastmon
 sbin/hastmonctl
-man/man5/hastmon.conf.5.gz
-man/man8/hastmon.8.gz
-man/man8/hastmonctl.8.gz
+share/man/man5/hastmon.conf.5.gz
+share/man/man8/hastmon.8.gz
+share/man/man8/hastmonctl.8.gz



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