This commit is contained in:
edshot99 2024-04-03 19:44:01 -05:00
parent 22432b4469
commit 2aa90c9d8c
5 changed files with 49 additions and 0 deletions

31
net-rcon/Makefile Normal file
View File

@ -0,0 +1,31 @@
COMMENT = Source RCON client for command line
GH_ACCOUNT = n0la
GH_PROJECT = rcon
GH_TAGNAME = 0.6
CATEGORIES = net
HOMEPAGE = https://github.com/n0la/rcon
MAINTAINER = "Ed <ed@i2pmail.org>"
# BSD-2
PERMIT_PACKAGE = Yes
# uses pledge()
WANTLIB = ${COMPILER_LIBC} glib-2.0 intl iconv pcre2-8
COMPILER = base-clang ports-gcc base-gcc
COMPILER_LANGS = c
MODULES = devel/cmake
BUILD_DEPENDS = devel/check \
devel/cmake
LIB_DEPENDS = devel/glib2
NO_TEST = Yes
.include <bsd.port.mk>

2
net-rcon/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (rcon-0.6.tar.gz) = yNUzMZiRU0VG3CO4YWrvrfiETj9fImdLuD/WnfFGBUA=
SIZE (rcon-0.6.tar.gz) = 15751

View File

@ -0,0 +1,12 @@
Index: CMakeLists.txt
--- CMakeLists.txt.orig Wed Apr 3 19:37:55 2024
+++ CMakeLists.txt Wed Apr 3 19:38:01 2024
@@ -47,7 +47,7 @@ IF (NOT HAVE_ARC4RANDOM_UNIFORM)
ENDIF()
INSTALL(TARGETS rcon RUNTIME DESTINATION bin)
-INSTALL(FILES rcon.1 DESTINATION share/man/man1)
+INSTALL(FILES rcon.1 DESTINATION man/man1)
SET_PROPERTY(TARGET rcon PROPERTY C_STANDARD 90)
IF(INSTALL_BASH_COMPLETION)

2
net-rcon/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
rcon is a command line application that can be used as a Source RCON client.
It will send commands to the given server, and print the reply to stdout.

2
net-rcon/pkg/PLIST Normal file
View File

@ -0,0 +1,2 @@
@bin bin/rcon
@man man/man1/rcon.1