aboutsummaryrefslogtreecommitdiff
path: root/net/libtnl
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2006-02-18 00:23:57 +0000
committerAaron Dalton <aaron@FreeBSD.org>2006-02-18 00:23:57 +0000
commit300b5df8c3647880b32a7c039fffa602e9384751 (patch)
tree9191886b034d7fc1528c762b71c82079ece3b61e /net/libtnl
parent1afed7cc8da801ffb0bc77b2d47cf4d42cd312b6 (diff)
downloadports-300b5df8c3647880b32a7c039fffa602e9384751.tar.gz
ports-300b5df8c3647880b32a7c039fffa602e9384751.zip
Notes
Diffstat (limited to 'net/libtnl')
-rw-r--r--net/libtnl/Makefile28
-rw-r--r--net/libtnl/distinfo3
-rw-r--r--net/libtnl/files/Makefile.bsd67
-rw-r--r--net/libtnl/pkg-descr14
-rw-r--r--net/libtnl/pkg-plist38
5 files changed, 150 insertions, 0 deletions
diff --git a/net/libtnl/Makefile b/net/libtnl/Makefile
new file mode 100644
index 000000000000..bb78ac4df78b
--- /dev/null
+++ b/net/libtnl/Makefile
@@ -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>
diff --git a/net/libtnl/distinfo b/net/libtnl/distinfo
new file mode 100644
index 000000000000..4e3c604c63e8
--- /dev/null
+++ b/net/libtnl/distinfo
@@ -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
diff --git a/net/libtnl/files/Makefile.bsd b/net/libtnl/files/Makefile.bsd
new file mode 100644
index 000000000000..7c048d07a416
--- /dev/null
+++ b/net/libtnl/files/Makefile.bsd
@@ -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>
+
diff --git a/net/libtnl/pkg-descr b/net/libtnl/pkg-descr
new file mode 100644
index 000000000000..628e7fece6d8
--- /dev/null
+++ b/net/libtnl/pkg-descr
@@ -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
diff --git a/net/libtnl/pkg-plist b/net/libtnl/pkg-plist
new file mode 100644
index 000000000000..3c72c696b680
--- /dev/null
+++ b/net/libtnl/pkg-plist
@@ -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