Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2003 11:48:00 +0200
From:      Kirill Ponomarew <ponomarew@oberon.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53194: New port: games/atr3d
Message-ID:  <E19Q2D2-00035T-PP@voodoo.oberon.net>
Resent-Message-ID: <200306110950.h5B9oJvL018802@freefall.freebsd.org>

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

>Number:         53194
>Category:       ports
>Synopsis:       New port: games/atr3d
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 11 02:50:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net 
>Environment:
 
        
>Description:
New port: games/atr3d

3D asteroids-like multiplayer game

>How-To-Repeat:
>Fix:
# 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/atr3d
#	games/atr3d/Makefile
#	games/atr3d/distinfo
#	games/atr3d/files
#	games/atr3d/files/patch-netconfig.h
#	games/atr3d/pkg-descr
#	games/atr3d/pkg-plist
#
echo c - games/atr3d
mkdir -p games/atr3d > /dev/null 2>&1
echo x - games/atr3d/Makefile
sed 's/^X//' >games/atr3d/Makefile << 'END-of-games/atr3d/Makefile'
X# New ports collection makefile for:	atr3d
X# Date created:				11 Jun 2003
X# Whom:					Kirill Ponomarew <ponomarew@oberon.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	atr3d
XPORTVERSION=	0.6
XCATEGORIES=	games
XMASTER_SITES=	ftp://ftp.avoidtheroid.com/pub/${PORTNAME}/
XDISTNAME=	${PORTNAME}_source_${PORTVERSION}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	ponomarew@oberon.net
XCOMMENT=	3D asteroids-like multiplayer game
X
XLIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal
X
XSDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
XUSE_X_PREFIX=	yes
XUSE_GMAKE=	yes
XUSE_MESA=	yes
XGNU_CONFIGURE=	yes
XUSE_REINPLACE=	yes
XCONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
XCONFIGURE_ARGS=	--enable-sound
XCONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
X		SDL_CONFIG="${SDL_CONFIG}"
XUSE_AUTOMAKE_VER=	14
X
XCPPFLAGS=	-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
XLDFLAGS=	-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
X
Xpre-patch:
X	@${PERL} -pi.orig -e 's|^aclocal|${ACLOCAL}|; \
X		s|^autoconf|${AUTOCONF}|; s|^automake|${AUTOMAKE}|' \
X		${WRKSRC}/autogen.sh
X
Xpre-configure:
X	cd ${WRKSRC}; ${SH} autogen.sh
X
Xpost-configure:
X	@${REINPLACE_CMD} -e \
X		's|-lpthread|${PTHREAD_LIBS}|g' \
X		${WRKSRC}/Makefile
X
X.include <bsd.port.mk>
END-of-games/atr3d/Makefile
echo x - games/atr3d/distinfo
sed 's/^X//' >games/atr3d/distinfo << 'END-of-games/atr3d/distinfo'
XMD5 (atr3d_source_0.6.tgz) = 8450f9c0006a6083f7811325ce9d20a5
END-of-games/atr3d/distinfo
echo c - games/atr3d/files
mkdir -p games/atr3d/files > /dev/null 2>&1
echo x - games/atr3d/files/patch-netconfig.h
sed 's/^X//' >games/atr3d/files/patch-netconfig.h << 'END-of-games/atr3d/files/patch-netconfig.h'
X--- netconfig.h.orig	Wed Jun 11 11:20:08 2003
X+++ netconfig.h	Wed Jun 11 11:20:31 2003
X@@ -1,3 +1,5 @@
X+#include <unistd.h>
X+#include <sys/types.h>
X #include <sys/socket.h>
X #include <netinet/in.h>
X #include <arpa/inet.h>
END-of-games/atr3d/files/patch-netconfig.h
echo x - games/atr3d/pkg-descr
sed 's/^X//' >games/atr3d/pkg-descr << 'END-of-games/atr3d/pkg-descr'
XAvoid The Roid 3D is a 3D asteroids-like multiplayer game. The
Xplayer flies around in a three dimensional space, shooting
Xasteroids and other ships while trying to avoid running into
Xany of them or being shot.
X
XWWW: http://www.avoidtheroid.com
END-of-games/atr3d/pkg-descr
echo x - games/atr3d/pkg-plist
sed 's/^X//' >games/atr3d/pkg-plist << 'END-of-games/atr3d/pkg-plist'
Xbin/atr3d
Xshare/atr3d/conf/ATRConfig
Xshare/atr3d/conf/ATRServerConfig
Xshare/atr3d/conf/ATRServerSingleConfig
Xshare/atr3d/conf/scores.dat
Xshare/atr3d/models/a.spec
Xshare/atr3d/models/h.spec
Xshare/atr3d/models/n.spec
Xshare/atr3d/models/nuke.spec
Xshare/atr3d/models/s.spec
Xshare/atr3d/models/ship.spec
Xshare/atr3d/models/shot.spec
Xshare/atr3d/sounds/0.wav
Xshare/atr3d/sounds/1.wav
Xshare/atr3d/sounds/10.wav
Xshare/atr3d/sounds/11.wav
Xshare/atr3d/sounds/12.wav
Xshare/atr3d/sounds/13.wav
Xshare/atr3d/sounds/14.wav
Xshare/atr3d/sounds/15.wav
Xshare/atr3d/sounds/16.wav
Xshare/atr3d/sounds/17.wav
Xshare/atr3d/sounds/18.wav
Xshare/atr3d/sounds/19.wav
Xshare/atr3d/sounds/2.wav
Xshare/atr3d/sounds/20.wav
Xshare/atr3d/sounds/21.wav
Xshare/atr3d/sounds/3.wav
Xshare/atr3d/sounds/4.wav
Xshare/atr3d/sounds/5.wav
Xshare/atr3d/sounds/6.wav
Xshare/atr3d/sounds/7.wav
Xshare/atr3d/sounds/8.wav
Xshare/atr3d/sounds/9.wav
Xshare/atr3d/textures/explosion.rgb
X@dirrm share/atr3d/conf
X@dirrm share/atr3d/models
X@dirrm share/atr3d/sounds
X@dirrm share/atr3d/textures
END-of-games/atr3d/pkg-plist
exit

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19Q2D2-00035T-PP>