Adding port net/libtnl, the Torque networking library which implements a C++ networking API for high-performance simulations and games.

Submitted by:	aaron
Approved by:	tobez
This commit is contained in:
Aaron Dalton 2006-02-18 00:23:57 +00:00
parent 1afed7cc8d
commit 300b5df8c3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156244
6 changed files with 151 additions and 0 deletions

View File

@ -253,6 +253,7 @@
SUBDIR += libsocket++
SUBDIR += libsocketcpp
SUBDIR += libtcp4u
SUBDIR += libtnl
SUBDIR += libunp
SUBDIR += libunpipc
SUBDIR += libvncserver

28
net/libtnl/Makefile Normal file
View File

@ -0,0 +1,28 @@
# New ports collection makefile for: libtnl
# Date created: 26 Jan 2006
# Whom: aaron@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= libtnl
PORTVERSION= 1.5.0
CATEGORIES= net devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= opentnl
DISTNAME= tnl-${PORTVERSION}-source
MAINTAINER= aaron@FreeBSD.org
COMMENT= A robust, secure, easy to use cross-platform C++ networking API
WRKSRC= ${WRKDIR}/tnl/tnl
INSTALLS_SHLIB= yes
ONLY_FOR_ARCHS= i386
post-extract:
@${CP} ${PATCHDIR}/Makefile.bsd ${WRKSRC}/Makefile
pre-install:
${MKDIR} ${PREFIX}/include/tnl
.include <bsd.port.mk>

3
net/libtnl/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (tnl-1.5.0-source.tar.gz) = 150de9dcfec7bd6ba11873bb2aef278c
SHA256 (tnl-1.5.0-source.tar.gz) = 28f55eedbe3346ebdbd9cb69e6640d3bc67cd876e70daf90f1fd90e3cbe757df
SIZE (tnl-1.5.0-source.tar.gz) = 2292358

View File

@ -0,0 +1,67 @@
LIB= tnl
CXXFLAGS+= -I../libtomcrypt -w -g -fpermissive -DNO_IPX_SUPPORT -DTNL_OS_LINUX -DTNL_DEBUG -D_TNL_ENABLE_LOGGING
SHLIB_MAJOR= 1
SHLIB_MINOR= 5
SRCS= assert.cpp\
asymmetricKey.cpp\
bitStream.cpp\
byteBuffer.cpp\
certificate.cpp\
clientPuzzle.cpp\
connectionStringTable.cpp\
dataChunker.cpp\
eventConnection.cpp\
ghostConnection.cpp\
huffmanStringProcessor.cpp\
log.cpp\
netBase.cpp\
netConnection.cpp\
netInterface.cpp\
netObject.cpp\
netStringTable.cpp\
platform.cpp\
random.cpp\
rpc.cpp\
symmetricCipher.cpp\
tnlMethodDispatch.cpp\
journal.cpp\
udp.cpp\
vector.cpp
INCS= tnl.h \
tnlNetBase.h \
tnlAssert.h \
tnlNetConnection.h \
tnlAsymmetricKey.h \
tnlNetEvent.h \
tnlBitSet.h \
tnlNetInterface.h \
tnlBitStream.h \
tnlNetObject.h \
tnlByteBuffer.h \
tnlNetStringTable.h \
tnlCertificate.h \
tnlNonce.h \
tnlClientPuzzle.h \
tnlPlatform.h \
tnlConnectionStringTable.h \
tnlRPC.h \
tnlDataChunker.h \
tnlRandom.h \
tnlEndian.h \
tnlString.h \
tnlEventConnection.h \
tnlSymmetricCipher.h \
tnlGhostConnection.h \
tnlThread.h \
tnlHuffmanStringProcessor.h \
tnlTypes.h \
tnlJournal.h \
tnlUDP.h \
tnlLog.h \
tnlVector.h \
tnlMethodDispatch.h
INCLUDEDIR= ${PREFIX}/include/tnl
LIBDIR= ${PREFIX}/lib
.include <bsd.lib.mk>

14
net/libtnl/pkg-descr Normal file
View File

@ -0,0 +1,14 @@
The Torque Network Library is a robust, secure, easy to use, cross-platform
C++ networking API designed for high performance simulations and games. The
network architecture in TNL has powered some of the best internet
multiplayer action games to date. Whether you're writing a multiplayer game,
developing a complex simulation, or just need a solid foundation for network
apps, TNL will meet your needs.
TNL is available under the GNU General Public License (GPL), an indie
license, and a commercial license.
WWW: http://opentnl.org
- Aaron Dalton
aaron@FreeBSD.org

38
net/libtnl/pkg-plist Normal file
View File

@ -0,0 +1,38 @@
include/tnl/tnl.h
include/tnl/tnlAssert.h
include/tnl/tnlAsymmetricKey.h
include/tnl/tnlBitSet.h
include/tnl/tnlBitStream.h
include/tnl/tnlByteBuffer.h
include/tnl/tnlCertificate.h
include/tnl/tnlClientPuzzle.h
include/tnl/tnlConnectionStringTable.h
include/tnl/tnlDataChunker.h
include/tnl/tnlEndian.h
include/tnl/tnlEventConnection.h
include/tnl/tnlGhostConnection.h
include/tnl/tnlHuffmanStringProcessor.h
include/tnl/tnlJournal.h
include/tnl/tnlLog.h
include/tnl/tnlMethodDispatch.h
include/tnl/tnlNetBase.h
include/tnl/tnlNetConnection.h
include/tnl/tnlNetEvent.h
include/tnl/tnlNetInterface.h
include/tnl/tnlNetObject.h
include/tnl/tnlNetStringTable.h
include/tnl/tnlNonce.h
include/tnl/tnlPlatform.h
include/tnl/tnlRPC.h
include/tnl/tnlRandom.h
include/tnl/tnlString.h
include/tnl/tnlSymmetricCipher.h
include/tnl/tnlThread.h
include/tnl/tnlTypes.h
include/tnl/tnlUDP.h
include/tnl/tnlVector.h
lib/libtnl.a
lib/libtnl.so
lib/libtnl.so.1
lib/libtnl_p.a
@dirrm include/tnl