aboutsummaryrefslogtreecommitdiff
path: root/games/atr3d
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-06-14 19:03:21 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-06-14 19:03:21 +0000
commit872ee29b5f08f747a88a4c094eceee55de0f02db (patch)
treea186abce41d4016693f9d8cdeb6a862434f2bd70 /games/atr3d
parent6ea44a46bdf1d77132ed0be98a13e3a557441219 (diff)
downloadports-872ee29b5f08f747a88a4c094eceee55de0f02db.tar.gz
ports-872ee29b5f08f747a88a4c094eceee55de0f02db.zip
Notes
Diffstat (limited to 'games/atr3d')
-rw-r--r--games/atr3d/Makefile51
-rw-r--r--games/atr3d/distinfo1
-rw-r--r--games/atr3d/files/patch-netconfig.h8
-rw-r--r--games/atr3d/pkg-descr6
-rw-r--r--games/atr3d/pkg-plist39
5 files changed, 105 insertions, 0 deletions
diff --git a/games/atr3d/Makefile b/games/atr3d/Makefile
new file mode 100644
index 000000000000..fae80dfa0c93
--- /dev/null
+++ b/games/atr3d/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: atr3d
+# Date created: 11 Jun 2003
+# Whom: Kirill Ponomarew <ponomarew@oberon.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= atr3d
+PORTVERSION= 0.6
+CATEGORIES= games
+MASTER_SITES= ftp://ftp.avoidtheroid.com/pub/${PORTNAME}/
+DISTNAME= ${PORTNAME}_source_${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ponomarew@oberon.net
+COMMENT= 3D asteroids-like multiplayer game
+
+LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal
+
+SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_MESA= yes
+GNU_CONFIGURE= yes
+USE_REINPLACE= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --enable-sound
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
+ SDL_CONFIG="${SDL_CONFIG}"
+USE_AUTOMAKE_VER= 14
+
+CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
+
+pre-patch:
+ @${PERL} -pi.orig -e 's|^aclocal|${ACLOCAL}|; \
+ s|^autoconf|${AUTOCONF}|; s|^automake|${AUTOMAKE}|' \
+ ${WRKSRC}/autogen.sh
+
+pre-configure:
+ cd ${WRKSRC}; ${SH} autogen.sh
+
+post-configure:
+ @${REINPLACE_CMD} -e \
+ 's|-lpthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
diff --git a/games/atr3d/distinfo b/games/atr3d/distinfo
new file mode 100644
index 000000000000..792d97607fd3
--- /dev/null
+++ b/games/atr3d/distinfo
@@ -0,0 +1 @@
+MD5 (atr3d_source_0.6.tgz) = 8450f9c0006a6083f7811325ce9d20a5
diff --git a/games/atr3d/files/patch-netconfig.h b/games/atr3d/files/patch-netconfig.h
new file mode 100644
index 000000000000..db523ec87f05
--- /dev/null
+++ b/games/atr3d/files/patch-netconfig.h
@@ -0,0 +1,8 @@
+--- netconfig.h.orig Wed Jun 11 11:20:08 2003
++++ netconfig.h Wed Jun 11 11:20:31 2003
+@@ -1,3 +1,5 @@
++#include <unistd.h>
++#include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
diff --git a/games/atr3d/pkg-descr b/games/atr3d/pkg-descr
new file mode 100644
index 000000000000..b2bd5c22c980
--- /dev/null
+++ b/games/atr3d/pkg-descr
@@ -0,0 +1,6 @@
+Avoid The Roid 3D is a 3D asteroids-like multiplayer game. The
+player flies around in a three dimensional space, shooting
+asteroids and other ships while trying to avoid running into
+any of them or being shot.
+
+WWW: http://www.avoidtheroid.com
diff --git a/games/atr3d/pkg-plist b/games/atr3d/pkg-plist
new file mode 100644
index 000000000000..c833c3b7a284
--- /dev/null
+++ b/games/atr3d/pkg-plist
@@ -0,0 +1,39 @@
+bin/atr3d
+share/atr3d/conf/ATRConfig
+share/atr3d/conf/ATRServerConfig
+share/atr3d/conf/ATRServerSingleConfig
+share/atr3d/conf/scores.dat
+share/atr3d/models/a.spec
+share/atr3d/models/h.spec
+share/atr3d/models/n.spec
+share/atr3d/models/nuke.spec
+share/atr3d/models/s.spec
+share/atr3d/models/ship.spec
+share/atr3d/models/shot.spec
+share/atr3d/sounds/0.wav
+share/atr3d/sounds/1.wav
+share/atr3d/sounds/10.wav
+share/atr3d/sounds/11.wav
+share/atr3d/sounds/12.wav
+share/atr3d/sounds/13.wav
+share/atr3d/sounds/14.wav
+share/atr3d/sounds/15.wav
+share/atr3d/sounds/16.wav
+share/atr3d/sounds/17.wav
+share/atr3d/sounds/18.wav
+share/atr3d/sounds/19.wav
+share/atr3d/sounds/2.wav
+share/atr3d/sounds/20.wav
+share/atr3d/sounds/21.wav
+share/atr3d/sounds/3.wav
+share/atr3d/sounds/4.wav
+share/atr3d/sounds/5.wav
+share/atr3d/sounds/6.wav
+share/atr3d/sounds/7.wav
+share/atr3d/sounds/8.wav
+share/atr3d/sounds/9.wav
+share/atr3d/textures/explosion.rgb
+@dirrm share/atr3d/conf
+@dirrm share/atr3d/models
+@dirrm share/atr3d/sounds
+@dirrm share/atr3d/textures