Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Oct 2005 14:47:17 +0800 (KRAST)
From:      Andrew I Baznikin <dikiy@scn.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/87304: New port: devel/raknet networking library
Message-ID:  <200510120647.j9C6lHib033960@dikiy.ranetka.ru>
Resent-Message-ID: <200510120650.j9C6oKCg042661@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         87304
>Category:       ports
>Synopsis:       New port: devel/raknet networking library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 12 06:50:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andrew I Baznikin
>Release:        FreeBSD 5.4-RELEASE-p3 i386
>Organization:
Andrew I Baznikin
>Environment:
>Description:
>From official site:
"A free networking API that provides reliable UDP and high level networking
constructs on Windows, Linux, and Unix."
"It allows any application to communicate with other applications that also
use it, whether that be on the same computer, over a LAN, or over the internet.
Although RakNet can be used for any networked application, it was developed
specifically for rapid development of online games and the addition of
multiplayer to single player games."
>How-To-Repeat:
>Fix:

--- report begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	./
#	./Makefile
#	./distinfo
#	./pkg-plist
#	./pkg-descr
#
echo c - ./
mkdir -p ./ > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:   raknet
X# Date created:        11 october 2005
X# Whom:            dikiy
X
X# $FreeBSD$
X
XPORTNAME=	raknet
XPORTVERSION=	2.0.13
XCATEGORIES=	devel net
XMASTER_SITES=	http://www.rakkarsoft.com/
XMASTER_SITE_SUBDIR=	raknet/downloads
XDISTNAME=	RakNet
X
XMAINTAINER=	dikiy@scn.ru
XCOMMENT=	Networking API that provides reliable UDP prmary for online games
X
X#BUILD_DEPENDS=  pkg-config:${PORTSDIR}/devel/pkgconfig
X
XUSE_ZIP=	yes
XWRKSRC=		${WRKDIR}
X
X##GNU_CONFIGURE=	yes
X##USE_GMAKE=	yes
X
XUSE_REINPLACE=		yes
XINSTALLS_SHLIB=		yes
X
X#CFLAGS+=	-I${LOCALBASE}/include
X#LDFLAGS+=	-L${LOCALBASE}/lib
X
XVERSION_OK=`${EGREP} "VERSION += +2\.0\.13$\" ${WRKSRC}/makefile.defs`
X.if defined(${VERSION_OK})
XFORBIDDEN=	"Port is outdated"
X.endif
X
Xpost-patch:
X	@${FIND} ${WRKSRC}/Include -name CVS -delete
X	@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" ${WRKSRC}/makefile.defs
X	${REINPLACE_CMD} -e "s|rm -f|#rm -f|g" ${WRKSRC}/Makefile
X	@for _F in `${FIND} ${WRKSRC} -iregex '[^ ]*/makefile.*'`; do \
X		${AWK} 'gsub( /\r/, "" )' $${_F} > $${_F}.awk.tmp; \
X		${MV} $${_F}.awk.tmp $${_F}; \
X	done
X	@${MKDIR} ${WRKSRC}/Lib/linux
X	@${LN} -s ${WRKSRC}/Lib ${WRKSRC}/lib
X
Xpost-install:
X	${LN} -sf ${PREFIX}/lib/libraknet.so.2.0.13 ${PREFIX}/lib/libraknet.so.0
X	${LN} -sf ${PREFIX}/lib/librakvoice.so.2.0.13 ${PREFIX}/lib/librakvoice.so.0
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (RakNet.zip) = 12bb14695909bf7622903048dc4ce56e
XSize (RakNet.zip) = 8125494
END-of-./distinfo
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xinclude/raknet/AES128.h
Xinclude/raknet/ArrayList.h
Xinclude/raknet/AsynchronousFileIO.h
Xinclude/raknet/Autopatcher/Autopatcher.h
Xinclude/raknet/Autopatcher/DownloadableFileDescriptor.h
Xinclude/raknet/BigTypes.h
Xinclude/raknet/BinarySearchTree.h
Xinclude/raknet/BitStream.h
Xinclude/raknet/CheckSum.h
Xinclude/raknet/ClientContextStruct.h
Xinclude/raknet/DataBlockEncryptor.h
Xinclude/raknet/DistributedNetworkObject.h
Xinclude/raknet/DistributedNetworkObjectHeader.h
Xinclude/raknet/DistributedNetworkObjectManager.h
Xinclude/raknet/DistributedNetworkObjectStub.h
Xinclude/raknet/EncodeClassName.h
Xinclude/raknet/ExtendedOverlappedPool.h
Xinclude/raknet/GetTime.h
Xinclude/raknet/HuffmanEncodingTree.h
Xinclude/raknet/HuffmanEncodingTreeFactory.h
Xinclude/raknet/HuffmanEncodingTreeNode.h
Xinclude/raknet/InternalPacket.h
Xinclude/raknet/InternalPacketPool.h
Xinclude/raknet/LinkedList.h
Xinclude/raknet/MTUSize.h
Xinclude/raknet/Multiplayer.h
Xinclude/raknet/NetworkObject.h
Xinclude/raknet/NetworkTypes.h
Xinclude/raknet/PacketEnumerations.h
Xinclude/raknet/PacketPool.h
Xinclude/raknet/PacketPriority.h
Xinclude/raknet/Queue.h
Xinclude/raknet/QueueLinkedList.h
Xinclude/raknet/RPCNode.h
Xinclude/raknet/RSACrypt.h
Xinclude/raknet/RakClient.h
Xinclude/raknet/RakClientInterface.h
Xinclude/raknet/RakNetStatistics.h
Xinclude/raknet/RakNetworkFactory.h
Xinclude/raknet/RakPeer.h
Xinclude/raknet/RakPeerInterface.h
Xinclude/raknet/RakServer.h
Xinclude/raknet/RakServerInterface.h
Xinclude/raknet/RakVoice/RakVoice.h
Xinclude/raknet/RakVoice/RakVoiceFactory.h
Xinclude/raknet/RakVoice/RakVoiceInterface.h
Xinclude/raknet/Rand.h
Xinclude/raknet/ReliabilityLayer.h
Xinclude/raknet/SHA1.h
Xinclude/raknet/SimpleMutex.h
Xinclude/raknet/SocketLayer.h
Xinclude/raknet/StringCompressor.h
Xinclude/raknet/Types.h
Xlib/libraknet.so
Xlib/libraknet.so.0
Xlib/libraknet.so.2.0.13
Xlib/librakvoice.so
Xlib/librakvoice.so.0
Xlib/librakvoice.so.2.0.13
X@dirrm include/raknet/RakVoice
X@dirrm include/raknet/Autopatcher
X@dirrm include/raknet
END-of-./pkg-plist
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XA free networking API that provides reliable UDP and high level networking
Xconstructs. Although RakNet can be used for any networked application, it
Xwas developed specifically for rapid development of online games and the
Xaddition of multiplayer to single player games.
X
XWWW: http://www.rakkarsoft.com/
END-of-./pkg-descr
exit
--- report ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510120647.j9C6lHib033960>