From 7a94d60eec305491317f652ad47f12ecd7baacda Mon Sep 17 00:00:00 2001 From: landry Date: Wed, 20 May 2026 06:25:41 +0000 Subject: [PATCH] net/slurm: fix manpage, from MAINTAINER Ryan Freeman i had mistakenly removed the pre-configure target in previous, and he adds the missing .Nm/.Nd so that it has a proper one-line description. --- net/slurm/Makefile | 5 +++++ net/slurm/patches/patch-slurm_1 | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 net/slurm/patches/patch-slurm_1 diff --git a/net/slurm/Makefile b/net/slurm/Makefile index b92eccc89a9..d654d188b79 100644 --- a/net/slurm/Makefile +++ b/net/slurm/Makefile @@ -6,6 +6,8 @@ DIST_TUPLE = github Iksas slurm 323d2bfced4b762f207633b50c0832ae1b19c40c . PKGNAME = slurm-${V}pl0 CATEGORIES = net +REVISION = 0 + HOMEPAGE = https://github.com/mattthias/slurm/wiki/ MAINTAINER = Ryan Freeman @@ -17,6 +19,9 @@ WANTLIB = c curses MODULES = devel/meson +pre-configure: + @${SUBST_CMD} ${WRKSRC}/slurm.1 + post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/slurm/ .for i in COPYRIGHT FAQ THANKS COPYING diff --git a/net/slurm/patches/patch-slurm_1 b/net/slurm/patches/patch-slurm_1 new file mode 100644 index 00000000000..6c687ad365d --- /dev/null +++ b/net/slurm/patches/patch-slurm_1 @@ -0,0 +1,14 @@ +fix warning about missing one-line description during packaging + +Index: slurm.1 +--- slurm.1.orig ++++ slurm.1 +@@ -4,6 +4,7 @@ + .\" + .Sh NAME +-slurm \- yet another network load monitor ++.Nm slurm ++.Nd yet another network load monitor + .Sh SYNOPSIS + .Nm slurm + .Op Fl hHz