mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Add sdl_net - a small sample cross-platform networking library.
This commit is contained in:
parent
560f2229d8
commit
886612c43d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32898
@ -226,6 +226,7 @@
|
||||
SUBDIR += samba
|
||||
SUBDIR += scotty
|
||||
SUBDIR += scotty3
|
||||
SUBDIR += sdl_net
|
||||
SUBDIR += sendfile
|
||||
SUBDIR += sharity-light
|
||||
SUBDIR += slirp
|
||||
|
31
net/sdl_net/Makefile
Normal file
31
net/sdl_net/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# New ports collection makefile for: sdl_net
|
||||
# Date created: 20 September 2000
|
||||
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= sdl_net
|
||||
PORTVERSION= 1.1.1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.devolution.com/~slouken/SDL/projects/SDL_net/src/
|
||||
DISTNAME= SDL_net-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sobomax@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= SDL-1.0.2:${PORTSDIR}/devel/sdl \
|
||||
GUI.0:${PORTSDIR}/graphics/guilib
|
||||
|
||||
USE_LIBTOOL= yes
|
||||
USE_GMAKE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
post-extract:
|
||||
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
||||
's|-release \$$\(LT_RELEASE\)||g'
|
||||
|
||||
post-configure:
|
||||
@${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
|
||||
${WRKSRC}/libtool
|
||||
|
||||
.include <bsd.port.mk>
|
1
net/sdl_net/distinfo
Normal file
1
net/sdl_net/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (SDL_net-1.1.1.tar.gz) = fc85251bad967f056c41fe2709088801
|
14
net/sdl_net/files/patch-aa
Normal file
14
net/sdl_net/files/patch-aa
Normal file
@ -0,0 +1,14 @@
|
||||
--- SDLnetsys.h.orig Sun Jul 2 02:28:47 2000
|
||||
+++ SDLnetsys.h Wed Sep 20 18:42:27 2000
|
||||
@@ -41,6 +41,11 @@
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#ifndef __BEOS__
|
||||
+#ifdef __FreeBSD__
|
||||
+#include <sys/types.h>
|
||||
+#include <sys/socket.h>
|
||||
+#include <netinet/in.h>
|
||||
+#endif /* FreeBSD */
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
#include <netinet/in.h>
|
1
net/sdl_net/pkg-comment
Normal file
1
net/sdl_net/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A small sample cross-platform networking library
|
5
net/sdl_net/pkg-descr
Normal file
5
net/sdl_net/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
This is a small sample cross-platform networking library, with a sample chat
|
||||
client and server application. The chat client uses the GUIlib GUI framework
|
||||
library.
|
||||
|
||||
WWW: http://www.devolution.com/~slouken/SDL/projects/SDL_net/
|
4
net/sdl_net/pkg-plist
Normal file
4
net/sdl_net/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
include/SDL/SDL_net.h
|
||||
lib/libSDL_net.a
|
||||
lib/libSDL_net.so
|
||||
lib/libSDL_net.so.0
|
Loading…
Reference in New Issue
Block a user