aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidar Karlsen <vidar@karlsen.tech>2023-01-24 10:30:50 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2023-01-24 10:33:45 +0000
commit4e0f69d752a5a05c823b2f09d37f4bf1d71e7936 (patch)
treea053d98d19fc462cd91614d59685f84ad2a6ec29
parent2744e0d3161055a2cbf48a34ee2e76dcf90366a3 (diff)
downloadports-4e0f69d752a5a05c823b2f09d37f4bf1d71e7936.tar.gz
ports-4e0f69d752a5a05c823b2f09d37f4bf1d71e7936.zip
net/slurm: Add required dependencies to USES
While here, fix manpage formating with mandoc and simplify pkg-descr. PR: 269101
-rw-r--r--net/slurm/Makefile11
-rw-r--r--net/slurm/pkg-descr7
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.