commit: 3e5e57b2850a37061be115c3e804ab7d477f3550
parent 4ce97c1cf402db407d51f73a29630d0a82a7eafd
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 3 Aug 2023 08:26:32 +0200
dev-util/esbuild: Generate manpage
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/dev-util/esbuild/esbuild-0.18.17.ebuild b/dev-util/esbuild/esbuild-0.18.17.ebuild
@@ -19,6 +19,7 @@ DEPEND="
dev-go/x-sys
test? ( net-libs/nodejs )
"
+BDEPEND="sys-apps/help2man"
RESTRICT="!test? ( test ) strip"
QA_FLAGS_IGNORED='.*'
@@ -59,4 +60,7 @@ src_install() {
set -- env GOBIN="${ED}/usr/bin" go install -v -work -x ${EGO_BUILD_FLAGS} ./cmd/esbuild
echo "$@"
"$@" || die
+
+ help2man -s1 -o esbuild.1 -N "${ED}/usr/bin/esbuild" || die
+ doman esbuild.1
}