git: 4e0f69d752a5 - main - net/slurm: Add required dependencies to USES
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Jan 2023 10:34:16 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4e0f69d752a5a05c823b2f09d37f4bf1d71e7936
commit 4e0f69d752a5a05c823b2f09d37f4bf1d71e7936
Author: Vidar Karlsen <vidar@karlsen.tech>
AuthorDate: 2023-01-24 10:30:50 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-01-24 10:33:45 +0000
net/slurm: Add required dependencies to USES
While here, fix manpage formating with mandoc and simplify pkg-descr.
PR: 269101
---
net/slurm/Makefile | 11 ++++++++---
net/slurm/pkg-descr | 7 ++++---
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/net/slurm/Makefile b/net/slurm/Makefile
index 37139b3ac926..3d0eefc2be33 100644
--- a/net/slurm/Makefile
+++ b/net/slurm/Makefile
@@ -1,5 +1,6 @@
PORTNAME= slurm
DISTVERSION= 0.4.4
+PORTREVISION= 1
CATEGORIES= net
MAINTAINER= vidar@karlsen.tech
@@ -9,16 +10,20 @@ WWW= https://github.com/mattthias/slurm/wiki/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= meson
+USES= meson ncurses pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= mattthias
GH_TAGNAME= upstream/${DISTVERSION}
-PORTDOCS= AUTHORS COPYING COPYRIGHT ChangeLog FAQ KEYS README.md \
- THANKS THEMES.txt TODO
+PORTDOCS= AUTHORS COPYING COPYRIGHT ChangeLog FAQ KEYS README.md THANKS \
+ THEMES.txt TODO
OPTIONS_DEFINE= DOCS
+post-build:
+ cd ${WRKSRC} && mandoc -mdoc -T man slurm.1 > slurm.1.tmp && \
+ ${MV} slurm.1.tmp slurm.1
+
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
diff --git a/net/slurm/pkg-descr b/net/slurm/pkg-descr
index 650a32bccd5a..3980b1dfab73 100644
--- a/net/slurm/pkg-descr
+++ b/net/slurm/pkg-descr
@@ -1,6 +1,7 @@
slurm - yet another network load monitor
slurm started as a FreeBSD port of the Linux ppp link monitor called pppstatus
-by Gabriel Montenegro. Hendrik Scholz ripped off the ppp dependent parts and
-the email checks to turn it into a generic network load monitor for *BSD,
-Linux, HP-UX and Solaris.
+by Gabriel Montenegro. Hendrik Scholz removed the ppp dependent parts and
+the email checks to turn it into a generic network load monitor.
+
+It shows device statistics together with a nice ascii graph.