net/sshping: Move man pages to share/man

This commit is contained in:
Emanuel Haupt 2024-01-23 16:21:16 +01:00
parent c8dd3e53f1
commit af6f8a8f54
2 changed files with 16 additions and 4 deletions

View file

@ -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
GH_ACCOUNT= spook
USE_PERL5= build
GH_ACCOUNT= spook
PLIST_FILES= bin/sshping man/man8/sshping.8.gz
PLIST_FILES= bin/sshping \
share/man/man8/sshping.8.gz
.include <bsd.port.mk>

View file

@ -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)