Import/update to warmux 11.04.1, from Daniel Levai.
This is the same port as games/wormux and will update it, as upstream was renamed. Have the mascots of your favorite free software battle in the Warmux arena. Using dynamite, grenades, baseball bat and others bazookas,... exterminate your opponent in a 2D toon style scenery and a funny environment.
This commit is contained in:
parent
c0c39c7681
commit
98d5694d99
40
games/warmux/Makefile
Normal file
40
games/warmux/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/05/30 09:14:11 landry Exp $
|
||||
|
||||
COMMENT= free software clone of Worms(R) game concept
|
||||
|
||||
DISTNAME= warmux-11.04.1
|
||||
WRKDIST= ${WRKDIR}/warmux-11.04
|
||||
CATEGORIES= games
|
||||
|
||||
HOMEPAGE= http://wormux.org
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= SDL X11 c m png pthread stdc++ SDL_gfx SDL_image \
|
||||
SDL_mixer SDL_net SDL_ttf curl>=5 xml2
|
||||
|
||||
MASTER_SITES= http://download.gna.org/warmux/ \
|
||||
http://download.gna.org/warmux/archive/
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
RUN_DEPENDS= devel/desktop-file-utils
|
||||
LIB_DEPENDS= devel/sdl-gfx \
|
||||
devel/sdl-image \
|
||||
devel/sdl-mixer \
|
||||
devel/sdl-net \
|
||||
devel/sdl-ttf \
|
||||
net/curl \
|
||||
textproc/libxml
|
||||
|
||||
MODULES= devel/gettext
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -DSIZE_T_FIXEDPOINT_METHODS ${CFLAGS}" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
MKDIR_P='mkdir -p'
|
||||
CONFIGURE_ARGS+= --enable-servers
|
||||
USE_GROFF = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
5
games/warmux/distinfo
Normal file
5
games/warmux/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (warmux-11.04.1.tar.bz2) = Jv9lxDqbtho/BSnJi5Q+NQ==
|
||||
RMD160 (warmux-11.04.1.tar.bz2) = ut0FXQ4Q42TPoUCnbznsCVbGdMA=
|
||||
SHA1 (warmux-11.04.1.tar.bz2) = N12+tDpWoEfapPzqSamAL0swh5U=
|
||||
SHA256 (warmux-11.04.1.tar.bz2) = eJxPNT5MXOCiq6LoKGHT/Q5SGLx22NoaMy8sexsn5O4=
|
||||
SIZE (warmux-11.04.1.tar.bz2) = 110083622
|
11
games/warmux/patches/patch-lib_warmux_net_network_cpp
Normal file
11
games/warmux/patches/patch-lib_warmux_net_network_cpp
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-lib_warmux_net_network_cpp,v 1.1.1.1 2011/05/30 09:14:11 landry Exp $
|
||||
--- lib/warmux/net/network.cpp.orig Wed May 25 15:08:02 2011
|
||||
+++ lib/warmux/net/network.cpp Wed May 25 15:08:14 2011
|
||||
@@ -35,6 +35,7 @@
|
||||
# define connect net_connect
|
||||
# define setsockopt net_setsockopt
|
||||
# else
|
||||
+# include <sys/types.h>
|
||||
# include <sys/socket.h>
|
||||
# include <netdb.h>
|
||||
# include <netinet/in.h>
|
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-tools_servers_index_server_net_data_cpp,v 1.1.1.1 2011/05/30 09:14:11 landry Exp $
|
||||
--- tools/servers/index_server/net_data.cpp.orig Thu Apr 28 21:03:12 2011
|
||||
+++ tools/servers/index_server/net_data.cpp Wed May 25 15:06:37 2011
|
||||
@@ -248,7 +248,7 @@ bool NetData::SendInt(const int &nbr)
|
||||
unsigned int u_nbr = *((unsigned int*)&nbr);
|
||||
packet = htonl(u_nbr);
|
||||
|
||||
- if ( send(fd, &packet, sizeof(packet), MSG_NOSIGNAL) != sizeof(packet) ) {
|
||||
+ if ( send(fd, &packet, sizeof(packet), 0) != sizeof(packet) ) {
|
||||
PRINT_ERROR;
|
||||
return false;
|
||||
}
|
||||
@@ -263,7 +263,7 @@ bool NetData::SendStr(const std::string &full_str)
|
||||
if (!SendInt((int)full_str.size()))
|
||||
return false;
|
||||
|
||||
- if ( send(fd, full_str.c_str(), full_str.size(), MSG_NOSIGNAL) != ssize_t(full_str.size()) ) {
|
||||
+ if ( send(fd, full_str.c_str(), full_str.size(), 0) != ssize_t(full_str.size()) ) {
|
||||
PRINT_ERROR;
|
||||
return false;
|
||||
}
|
4
games/warmux/pkg/DESCR
Normal file
4
games/warmux/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
Have the mascots of your favorite free software battle in the Warmux
|
||||
arena. Using dynamite, grenades, baseball bat and others bazookas,...
|
||||
exterminate your opponent in a 2D toon style scenery and a funny
|
||||
environment.
|
1739
games/warmux/pkg/PLIST
Normal file
1739
games/warmux/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user