mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
New port: net/astron: Server Technology for Realtime Object Networking
Astron is an open-source, distributed server suite particularly well-suited for powering MMO games. The design is inspired by a similar unrelated project developed at the Disney Interactive Media Group, and used in-house from 2001 until 2013. The suite consists of many components, which handle separate tasks in order to distribute the workload of managing a multi-sharded game/application environment with many objects and clients. WWW: https://astron.github.io/astron
This commit is contained in:
parent
86df16ea06
commit
f9f6f82671
5 changed files with 58 additions and 0 deletions
|
@ -37,6 +37,7 @@
|
||||||
SUBDIR += asterisk13
|
SUBDIR += asterisk13
|
||||||
SUBDIR += asterisk16
|
SUBDIR += asterisk16
|
||||||
SUBDIR += asterisk18
|
SUBDIR += asterisk18
|
||||||
|
SUBDIR += astron
|
||||||
SUBDIR += avahi
|
SUBDIR += avahi
|
||||||
SUBDIR += avahi-app
|
SUBDIR += avahi-app
|
||||||
SUBDIR += avahi-autoipd
|
SUBDIR += avahi-autoipd
|
||||||
|
|
33
net/astron/Makefile
Normal file
33
net/astron/Makefile
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
PORTNAME= astron
|
||||||
|
PORTVERSION= 0.0.20200521
|
||||||
|
CATEGORIES= net
|
||||||
|
|
||||||
|
MAINTAINER= nc@FreeBSD.org
|
||||||
|
COMMENT= Server Technology for Realtime Object Networking
|
||||||
|
|
||||||
|
LICENSE= BSD3CLAUSE
|
||||||
|
LICENSE_FILE= ${WRKDIR}/LICENSE.md
|
||||||
|
|
||||||
|
LIB_DEPENDS= libuv.so:devel/libuv \
|
||||||
|
libyaml-cpp.so:devel/yaml-cpp
|
||||||
|
|
||||||
|
USES= cmake
|
||||||
|
USE_GITHUB= yes
|
||||||
|
GH_ACCOUNT= Astron
|
||||||
|
GH_PROJECT= ${GH_ACCOUNT}
|
||||||
|
GH_TAGNAME= c8ba982
|
||||||
|
|
||||||
|
PLIST_FILES= bin/astrond
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= SOCI
|
||||||
|
OPTIONS_DEFAULT= SOCI
|
||||||
|
|
||||||
|
SOCI_DESC= Database support via Soci
|
||||||
|
SOCI_LIB_DEPENDS= libsoci_core.so:databases/soci
|
||||||
|
|
||||||
|
.if !empty(VARIABLE:MSOCI)
|
||||||
|
CMAKE_ARGS+= -DSOCI_FOUND=NO
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
||||||
|
|
3
net/astron/distinfo
Normal file
3
net/astron/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1617748994
|
||||||
|
SHA256 (Astron-Astron-0.0.20200521-c8ba982_GH0.tar.gz) = 7764536e01c3b91769410f1758fcb3b4f3766cb148804e8b4760a785e01c9b96
|
||||||
|
SIZE (Astron-Astron-0.0.20200521-c8ba982_GH0.tar.gz) = 333009
|
11
net/astron/files/patch-CMakeLists.txt
Normal file
11
net/astron/files/patch-CMakeLists.txt
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- CMakeLists.txt.orig 2021-04-06 22:45:16 UTC
|
||||||
|
+++ CMakeLists.txt
|
||||||
|
@@ -92,7 +92,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") ### Windows
|
||||||
|
list(APPEND EXTRA_LIBS wsock32 ws2_32)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
-if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") ### Linux requires pthreads
|
||||||
|
+if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") ### Linux requires pthreads
|
||||||
|
list(APPEND EXTRA_LIBS pthread rt)
|
||||||
|
endif()
|
||||||
|
|
10
net/astron/pkg-descr
Normal file
10
net/astron/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
Astron is an open-source, distributed server suite particularly well-suited
|
||||||
|
for powering MMO games. The design is inspired by a similar unrelated project
|
||||||
|
developed at the Disney Interactive Media Group, and used in-house from 2001
|
||||||
|
until 2013.
|
||||||
|
|
||||||
|
The suite consists of many components, which handle separate tasks in order
|
||||||
|
to distribute the workload of managing a multi-sharded game/application
|
||||||
|
environment with many objects and clients.
|
||||||
|
|
||||||
|
WWW: https://astron.github.io/astron
|
Loading…
Add table
Reference in a new issue