ports/75186: New port games/wormux and patch for devel/clanlib-devel

Anton Yudin toha at toha.org.ua
Fri Dec 17 12:50:23 UTC 2004


>Number:         75186
>Category:       ports
>Synopsis:       New port games/wormux and patch for devel/clanlib-devel
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 17 12:50:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Anton Yudin
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD pandemonium 5.3-STABLE FreeBSD 5.3-STABLE #0: Sun Nov 14 19:08:07 EET 2004 root at pandemonium:/obj/obj/usr/src/sys/NKERNEL i386


	
>Description:
	New port games/wormux.

--->8---
Almost everyone has heard of the Worms(R) series of games, developed by Team17.
Worms was created in 1990, the goal of the game consisting of a several teams of
"worms" fighting to the death on a 2D map. Wormux is heavily influenced by all
games in this genre, including Scorched Earth and Liero.

Wormux is free software clone of this game concept. Though currently under heavy
development, it is already very playable, with lots of weapons (Dynamite,
Baseball Bat, Teleportation, etc.). There are also lots of maps available for
your battling pleasure! Wormux takes the genre to the next level, with great
customisation options leading to great gameplay. There is a wide selection of
teams, from the Aliens to the Chickens. Also, new battlefields can be downloaded
from the Internet, making strategy an important part of each battle.
--->8---

	This port requires devel/clanlib-devel. But there is unresolved
	symbol in libclanGL.so. This is path for devel/clanlib-devel.

patch for libclanGL.so, name file patch-Sources::GL::GLX::display_window_opengl.cpp and put in devel/libclan-devel/files

*** Sources/GL/GLX/display_window_opengl.cpp.original	Thu Dec 16 20:52:50 2004
--- Sources/GL/GLX/display_window_opengl.cpp	Thu Dec 16 20:53:41 2004
***************
*** 375,389 ****
  		
        if (access(pathname, R_OK) == 0)
  		{
! 			try
  			{
              get_ic()->add_joystick(CL_InputDevice(new CL_InputDevice_LinuxJoystick(pathname)));
  			} 
  			catch (CL_Error& err)
  			{
  				CL_Log::log("debug", "Joystick Error: %1", err.message);
! 				done = true;
! 			}
  		}
  		else
  		{
--- 375,391 ----
  		
        if (access(pathname, R_OK) == 0)
  		{
! /*			try
  			{
+ 
              get_ic()->add_joystick(CL_InputDevice(new CL_InputDevice_LinuxJoystick(pathname)));
  			} 
  			catch (CL_Error& err)
  			{
  				CL_Log::log("debug", "Joystick Error: %1", err.message);
! */				done = true;
! /*			}
! */
  		}
  		else
  		{

>How-To-Repeat:
>Fix:

	Use new port.
Shar:

# 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:
#
#	games/wormux
#	games/wormux/Makefile
#	games/wormux/distinfo
#	games/wormux/pkg-descr
#
echo c - games/wormux
mkdir -p games/wormux > /dev/null 2>&1
echo x - games/wormux/Makefile
sed 's/^X//' >games/wormux/Makefile << 'END-of-games/wormux/Makefile'
X# Ports collection makefile for:  wormux
X# Date created:			  Thu Dec 16 18:46:55 EET 2004
X# Whom:				  Anton Yudin <toha at FreeBSD.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	wormux
XPORTVERSION=	0.5.0
XCATEGORIES=	games
XMASTER_SITES=	http://download.gna.org/wormux/
XDISTNAME=	${PORTNAME}-src-${PORTVERSION}
X
XMAINTAINER=	toha at toha.org.ua
XCOMMENT=	Wormux game
X
XUSE_BZIP2=	yes
XUSE_SDL=	sdl
XUSE_GETTEXT=	yes
X
XLIB_DEPENDS+=	clanGUI-0.7:${PORTSDIR}/devel/clanlib-devel
XLIB_DEPENDS+=	xml\\+\\+-1.0.1:${PORTSDIR}/textproc/libxml++
X
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib -lintl"
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
XPLIST_FILES=	bin/wormux
X
XCONFIGURE_ARGS+=--prefix=${PREFIX}
XGNU_CONFIGURE=yes
X
X.include <bsd.port.pre.mk>
X
Xpost-install:
X.for dir in ${PREFIX}/share/${PORTNAME}
X	@${FIND} ${dir} ! -type d | \
X		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
X	@${FIND} ${dir} -type d | ${SORT} -r | \
X		${SED} 's,^${PREFIX}/, at dirrm ,' >> ${TMPPLIST}
X.endfor
X
X.include <bsd.port.post.mk>
END-of-games/wormux/Makefile
echo x - games/wormux/distinfo
sed 's/^X//' >games/wormux/distinfo << 'END-of-games/wormux/distinfo'
XMD5 (wormux-src-0.5.0.tar.bz2) = e09c8a699da7a3a60e0c379b75986573
XSIZE (wormux-src-0.5.0.tar.bz2) = 18787309
END-of-games/wormux/distinfo
echo x - games/wormux/pkg-descr
sed 's/^X//' >games/wormux/pkg-descr << 'END-of-games/wormux/pkg-descr'
XAlmost everyone has heard of the Worms(R) series of games, developed by Team17.
XWorms was created in 1990, the goal of the game consisting of a several teams of
X"worms" fighting to the death on a 2D map. Wormux is heavily influenced by all
Xgames in this genre, including Scorched Earth and Liero.
X
XWormux is free software clone of this game concept. Though currently under heavy
Xdevelopment, it is already very playable, with lots of weapons (Dynamite,
XBaseball Bat, Teleportation, etc.). There are also lots of maps available for
Xyour battling pleasure! Wormux takes the genre to the next level, with great
Xcustomisation options leading to great gameplay. There is a wide selection of
Xteams, from the Aliens to the Chickens. Also, new battlefields can be downloaded
Xfrom the Internet, making strategy an important part of each battle.
X
XWWW: http://www.wormux.org/
END-of-games/wormux/pkg-descr
exit


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



More information about the freebsd-ports-bugs mailing list