git: af6f8a8f5491 - main - net/sshping: Move man pages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Jan 2024 15:21:35 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=af6f8a8f5491391a2ccdec97bef3e9ba1ae40a80
commit af6f8a8f5491391a2ccdec97bef3e9ba1ae40a80
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-23 15:21:16 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-23 15:21:16 +0000
net/sshping: Move man pages to share/man
---
net/sshping/Makefile | 9 +++++----
net/sshping/files/patch-CMakeLists.txt | 11 +++++++++++
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/net/sshping/Makefile b/net/sshping/Makefile
index b732df95a953..c97c1c462434 100644
--- a/net/sshping/Makefile
+++ b/net/sshping/Makefile
@@ -1,6 +1,7 @@
PORTNAME= sshping
-PORTVERSION= 0.1.4
DISTVERSIONPREFIX= v
+DISTVERSION= 0.1.4
+PORTREVISION= 1
CATEGORIES= net
MAINTAINER= ehaupt@FreeBSD.org
@@ -14,10 +15,10 @@ LIB_DEPENDS= libssh.so:security/libssh
USES= cmake localbase:ldflags perl5
USE_GITHUB= yes
-USE_PERL5= build
-
GH_ACCOUNT= spook
+USE_PERL5= build
-PLIST_FILES= bin/sshping man/man8/sshping.8.gz
+PLIST_FILES= bin/sshping \
+ share/man/man8/sshping.8.gz
.include <bsd.port.mk>
diff --git a/net/sshping/files/patch-CMakeLists.txt b/net/sshping/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..d548a1b414b3
--- /dev/null
+++ b/net/sshping/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2018-03-19 21:48:55 UTC
++++ CMakeLists.txt
+@@ -27,7 +27,7 @@ add_custom_target(man ALL DEPENDS ${MAN_TGT})
+ COMMENT "Building manpage ${MAN_TGT}"
+ VERBATIM)
+ add_custom_target(man ALL DEPENDS ${MAN_TGT})
+-install(FILES ${MAN_TGT} DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man8)
++install(FILES ${MAN_TGT} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man8)
+
+ # Packaging for RPM or DEB
+ find_program(rpmbuild_path "rpmbuild" FALSE)