Skip to content

Commit

Permalink
net-mgmt/hastmon: Move man pages to share/man
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
nunotexbsd committed Mar 20, 2024
1 parent a94e4bd commit 2c4fab8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion net-mgmt/hastmon/Makefile
@@ -1,5 +1,6 @@
PORTNAME= hastmon
PORTVERSION= 0.3.4
PORTREVISION= 1
CATEGORIES= net-mgmt

MAINTAINER= trociny@FreeBSD.org
Expand All @@ -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

Expand All @@ -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}
Expand Down
6 changes: 3 additions & 3 deletions 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

0 comments on commit 2c4fab8

Please sign in to comment.