pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gping: install manpage



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Mon Jul 3 09:28:04 2023 +0200
Changeset:	c7c206dc94a13494e8d6216322b021a74598c8b4

Modified Files:
	gping/Makefile
	gping/PLIST

Log Message:
gping: install manpage

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c7c206dc94a13494e8d6216322b021a74598c8b4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gping/Makefile | 2 ++
 gping/PLIST    | 1 +
 2 files changed, 3 insertions(+)

diffs:
diff --git a/gping/Makefile b/gping/Makefile
index 11faf461b4..bfd6d84c92 100644
--- a/gping/Makefile
+++ b/gping/Makefile
@@ -23,6 +23,8 @@ RUSTFLAGS+=		-C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libgit2}/lib
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/target/release/gping \
 		${DESTDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/gping.1 \
+		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/gping.1
 
 .include "../../lang/rust/cargo.mk"
 .include "../../devel/libgit2/buildlink3.mk"
diff --git a/gping/PLIST b/gping/PLIST
index 0d25504757..1cdd5d032c 100644
--- a/gping/PLIST
+++ b/gping/PLIST
@@ -1,2 +1,3 @@
 @comment $NetBSD$
 bin/gping
+man/man1/gping.1


Home | Main Index | Thread Index | Old Index