Import of pkgsrc-2014Q1
This commit is contained in:
3
net/SDL2_net/DESCR
Normal file
3
net/SDL2_net/DESCR
Normal file
@@ -0,0 +1,3 @@
|
||||
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.
|
||||
24
net/SDL2_net/Makefile
Normal file
24
net/SDL2_net/Makefile
Normal file
@@ -0,0 +1,24 @@
|
||||
# $NetBSD: Makefile,v 1.2 2014/02/03 08:59:33 rodent Exp $
|
||||
|
||||
DISTNAME= SDL2_net-2.0.0
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.libsdl.org/projects/SDL_net/release/
|
||||
|
||||
MAINTAINER= rodent@NetBSD.org
|
||||
HOMEPAGE= http://www.libsdl.org/projects/SDL_net/
|
||||
COMMENT= Small sample cross-platform networking library
|
||||
LICENSE= zlib
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LIBTOOL= yes
|
||||
USE_TOOLS+= pkg-config
|
||||
USE_LANGUAGES= c c++
|
||||
|
||||
PKGCONFIG_OVERRIDE+= SDL2_net.pc.in
|
||||
|
||||
.include "options.mk"
|
||||
|
||||
LDFLAGS.SunOS+= -lsocket -lnsl
|
||||
|
||||
.include "../../devel/SDL2/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
4
net/SDL2_net/PLIST
Normal file
4
net/SDL2_net/PLIST
Normal file
@@ -0,0 +1,4 @@
|
||||
@comment $NetBSD: PLIST,v 1.1 2014/02/02 15:56:29 rodent Exp $
|
||||
include/SDL2/SDL_net.h
|
||||
lib/libSDL2_net.la
|
||||
lib/pkgconfig/SDL2_net.pc
|
||||
5
net/SDL2_net/distinfo
Normal file
5
net/SDL2_net/distinfo
Normal file
@@ -0,0 +1,5 @@
|
||||
$NetBSD: distinfo,v 1.1 2014/02/02 15:56:29 rodent Exp $
|
||||
|
||||
SHA1 (SDL2_net-2.0.0.tar.gz) = c7cf473b3adada23171df9f92b3117052eac69fa
|
||||
RMD160 (SDL2_net-2.0.0.tar.gz) = dab3e92b2995903c79d5800369690ea0bd9b8b50
|
||||
Size (SDL2_net-2.0.0.tar.gz) = 345724 bytes
|
||||
20
net/SDL2_net/options.mk
Normal file
20
net/SDL2_net/options.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
# $NetBSD: options.mk,v 1.1 2014/02/02 15:56:29 rodent Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.SDL2_net
|
||||
PKG_SUPPORTED_OPTIONS= static tests
|
||||
PKG_SUGGESTED_OPTIONS+= static
|
||||
|
||||
.include "../../mk/bsd.options.mk"
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mstatic)
|
||||
CONFIGURE_ARGS+= --enable-static=yes
|
||||
.else
|
||||
CONFIGURE_ARGS+= --enable-static=no
|
||||
.endif
|
||||
|
||||
.if !empty(PKG_OPTIONS:Mtests)
|
||||
.include "../../graphics/GUIlib/buildlink3.mk"
|
||||
CONFIGURE_ARGS+= --enable-gui=yes
|
||||
.else
|
||||
CONFIGURE_ARGS+= --enable-gui=no --disable-sdltest
|
||||
.endif
|
||||
Reference in New Issue
Block a user