summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2016-07-24 15:43:50 +0000
committerkamil <kamil@pkgsrc.org>2016-07-24 15:43:50 +0000
commitf73363ede26718706bf7055e1ab6f45ef48b77f3 (patch)
tree11dcfeeafeee185820d3529c71ba0ef2dfbf6e41 /games
parentbacf5bf3b0ce9f2a7b722337a25263eacc5f075b (diff)
downloadpkgsrc-f73363ede26718706bf7055e1ab6f45ef48b77f3.tar.gz
Import armagetronad-0.2.8.3.3 as games/armagetronad
Armagetron Advanced is a multiplayer game in 3D that attempts to emulate and expand on the light cycle sequence from the movie Tron. Tron was an arcade game based on the movie of the same name, release by Disney in 1982. The original game consisted of 4 sub-games, the only one of concern is the 'Light Cycles' one, in which the player uses a left/right joystick to control a 'Light Cycle' which leaves a wall behind it wherever the cycle it goes, turning only at 90 degree angles. The player must then get the AI to crash into their wall while avoiding hitting the AI's own wall themselves. Those were the humble beginnings of Armagetron Advanced's game play, which has now blossomed into 16 player mayhem, with highly advanced AI, network game play, and of course all in a 3D environment. Originally packaged in pkgsrc-wip by: - Adam Hoka - Thomas Klausner - David Sainty - Aleksej Saushev - Sevan Janiyan and - myself.
Diffstat (limited to 'games')
-rw-r--r--games/armagetronad/DESCR12
-rw-r--r--games/armagetronad/Makefile40
-rw-r--r--games/armagetronad/Makefile.common36
-rw-r--r--games/armagetronad/PLIST96
-rw-r--r--games/armagetronad/distinfo6
5 files changed, 190 insertions, 0 deletions
diff --git a/games/armagetronad/DESCR b/games/armagetronad/DESCR
new file mode 100644
index 00000000000..08199383fd8
--- /dev/null
+++ b/games/armagetronad/DESCR
@@ -0,0 +1,12 @@
+Armagetron Advanced is a multiplayer game in 3D that attempts to emulate
+and expand on the light cycle sequence from the movie Tron.
+
+Tron was an arcade game based on the movie of the same name, release by
+Disney in 1982. The original game consisted of 4 sub-games, the only one of
+concern is the 'Light Cycles' one, in which the player uses a left/right
+joystick to control a 'Light Cycle' which leaves a wall behind it wherever
+the cycle it goes, turning only at 90 degree angles. The player must then get
+the AI to crash into their wall while avoiding hitting the AI's own wall
+themselves. Those were the humble beginnings of Armagetron Advanced's
+game play, which has now blossomed into 16 player mayhem, with highly
+advanced AI, network game play, and of course all in a 3D environment.
diff --git a/games/armagetronad/Makefile b/games/armagetronad/Makefile
new file mode 100644
index 00000000000..f8f1eae4b20
--- /dev/null
+++ b/games/armagetronad/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2016/07/24 15:43:50 kamil Exp $
+#
+
+.include "Makefile.common"
+
+PKGNAME= ${DISTNAME:S/.src//}
+COMMENT= Tron clone in 3D with advanced gameplay and multiplayer
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+
+# Disable server, build client
+CONFIGURE_ARGS+= --disable-dedicated
+
+# pkgsrc specific handling of configuration
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+PKG_SYSCONFSUBDIR= armagetronad
+BUILD_DEFS+= PKG_SYSCONFBASE
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
+INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR}
+
+MAKE_DIRS+= ${PKG_SYSCONFDIR}/examples
+MAKE_DIRS+= ${PKG_SYSCONFDIR}/examples/cvs_test
+
+.for f in aiplayers.cfg default.cfg master.srv rc.config settings.cfg settings_authentication.cfg settings_dedicated.cfg settings_visual.cfg subcultures.srv
+CONF_FILES+= ${EGDIR}/armagetronad/${f} ${PKG_SYSCONFDIR}/${f}
+.endfor
+
+.for f in breakfast_in_hell.cfg death_zone.cfg fortress_soccer.cfg single_use_turbo.cfg teamsumo.cfg
+CONF_FILES+= ${EGDIR}/armagetronad/examples/${f} ${PKG_SYSCONFDIR}/examples/${f}
+.endfor
+
+.for f in fortress_complete.cfg fortress_physics.cfg fortress_politics.cfg fortress_scoring.cfg sumo_complete.cfg
+CONF_FILES+= ${EGDIR}/armagetronad/examples/cvs_test/${f} ${PKG_SYSCONFDIR}/examples/cvs_test/${f}
+.endfor
+
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/SDL_image/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/armagetronad/Makefile.common b/games/armagetronad/Makefile.common
new file mode 100644
index 00000000000..1bc420d45ed
--- /dev/null
+++ b/games/armagetronad/Makefile.common
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile.common,v 1.1 2016/07/24 15:43:50 kamil Exp $
+#
+# used by games/armagetronad/Makefile
+# used by games/armagetronad-server/Makefile
+
+DISTNAME= armagetronad-0.2.8.3.3.src
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=armagetronad/}
+
+HOMEPAGE= http://www.armagetronad.org/
+LICENSE= gnu-gpl-v2
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S/.src//}
+
+DISTINFO_FILE= ${.CURDIR}/../../games/armagetronad/distinfo
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= bash gmake
+REPLACE_PYTHON+= language/update.py
+
+SUBST_CLASSES+= bash
+SUBST_MESSAGE.bash= Set proper BASH path.
+SUBST_STAGE.bash= pre-configure
+SUBST_FILES.bash= batch/Makefile.am
+SUBST_FILES.bash+= batch/Makefile.in
+SUBST_SED.bash= -e 's,`which bash`,${BASH},'
+
+CONFIGURE_ARGS+= --disable-sysinstall
+CONFIGURE_ARGS+= --disable-uninstall
+CONFIGURE_ARGS+= --disable-useradd
+# This sanitizes paths
+CONFIGURE_ARGS+= --disable-games
+
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
diff --git a/games/armagetronad/PLIST b/games/armagetronad/PLIST
new file mode 100644
index 00000000000..2024cdaed8e
--- /dev/null
+++ b/games/armagetronad/PLIST
@@ -0,0 +1,96 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/24 15:43:50 kamil Exp $
+bin/armagetronad
+share/armagetronad/desktop/armagetronad.desktop
+share/armagetronad/desktop/icons/large/armagetronad.png
+share/armagetronad/desktop/icons/medium/armagetronad.png
+share/armagetronad/desktop/icons/small/armagetronad.png
+share/armagetronad/language/american.txt
+share/armagetronad/language/british.txt
+share/armagetronad/language/deutsch.txt
+share/armagetronad/language/english_base.txt
+share/armagetronad/language/english_base_notranslate.txt
+share/armagetronad/language/french.txt
+share/armagetronad/language/languages.txt
+share/armagetronad/language/languages.txt.in
+share/armagetronad/language/polish.txt
+share/armagetronad/language/polish_transliterated.txt
+share/armagetronad/language/spanish.txt
+share/armagetronad/language/update.py
+share/armagetronad/models/cycle_body.mod
+share/armagetronad/models/cycle_front.mod
+share/armagetronad/models/cycle_rear.mod
+share/armagetronad/resource/included/AATeam/map-0.2.8.0.dtd
+share/armagetronad/resource/included/AATeam/map-0.2.8.0_rc4.dtd
+share/armagetronad/resource/included/Anonymous/README
+share/armagetronad/resource/included/Anonymous/polygon/README
+share/armagetronad/resource/included/Anonymous/polygon/regular/40-gon-0.2.aamap.xml
+share/armagetronad/resource/included/Anonymous/polygon/regular/README
+share/armagetronad/resource/included/Anonymous/polygon/regular/diamond-1.0.2.aamap.xml
+share/armagetronad/resource/included/Anonymous/polygon/regular/square-1.0.1.aamap.xml
+share/armagetronad/resource/included/Your_mom/clever/inaktek-0.7.2.aamap.xml
+share/armagetronad/resource/included/Your_mom/clever/repeat-0.3.2.aamap.xml
+share/armagetronad/resource/included/Z-Man/fortress/for_old_clients-0.1.0.aamap.xml
+share/armagetronad/resource/included/Z-Man/fortress/fourfold_for_old_clients-0.1.0.aamap.xml
+share/armagetronad/resource/included/Z-Man/fortress/sumo_4x4-0.1.1.aamap.xml
+share/armagetronad/resource/included/Z-Man/fortress/sumo_8x2-0.1.0.aamap.xml
+share/armagetronad/resource/included/Z-Man/fortress/zonetest-0.1.0.aamap.xml
+share/armagetronad/resource/included/map-0.1-exp.dtd
+share/armagetronad/resource/included/map-0.1.dtd
+share/armagetronad/resource/included/map-0.2.8_beta3.dtd
+share/armagetronad/scripts/relocate
+share/armagetronad/scripts/sysinstall
+share/armagetronad/sound/cyclrun.wav
+share/armagetronad/sound/expl.wav
+share/armagetronad/textures/KGN_logo.png
+share/armagetronad/textures/cycle_body.png
+share/armagetronad/textures/cycle_wheel.png
+share/armagetronad/textures/dir_wall.png
+share/armagetronad/textures/floor.png
+share/armagetronad/textures/floor_a.png
+share/armagetronad/textures/floor_b.png
+share/armagetronad/textures/font.png
+share/armagetronad/textures/font_extra.png
+share/armagetronad/textures/font_s.png
+share/armagetronad/textures/icon.png
+share/armagetronad/textures/rim_wall.png
+share/armagetronad/textures/shadow.png
+share/armagetronad/textures/sky.png
+share/armagetronad/textures/title.jpg
+share/doc/armagetronad/html/bugs.html
+share/doc/armagetronad/html/changelog.html
+share/doc/armagetronad/html/commands.html
+share/doc/armagetronad/html/compile.html
+share/doc/armagetronad/html/config.html
+share/doc/armagetronad/html/faq.html
+share/doc/armagetronad/html/index.html
+share/doc/armagetronad/html/install_linux.html
+share/doc/armagetronad/html/install_macosx.html
+share/doc/armagetronad/html/install_result.html
+share/doc/armagetronad/html/install_windows.html
+share/doc/armagetronad/html/net/index.html
+share/doc/armagetronad/html/net/lower.html
+share/doc/armagetronad/html/net/middle.html
+share/doc/armagetronad/html/net/upper.html
+share/doc/armagetronad/html/network.html
+share/doc/armagetronad/html/readme_macosx.html
+share/doc/armagetronad/html/todo.html
+share/doc/armagetronad/html/versions.html
+share/examples/armagetronad/armagetronad/aiplayers.cfg
+share/examples/armagetronad/armagetronad/default.cfg
+share/examples/armagetronad/armagetronad/examples/breakfast_in_hell.cfg
+share/examples/armagetronad/armagetronad/examples/cvs_test/fortress_complete.cfg
+share/examples/armagetronad/armagetronad/examples/cvs_test/fortress_physics.cfg
+share/examples/armagetronad/armagetronad/examples/cvs_test/fortress_politics.cfg
+share/examples/armagetronad/armagetronad/examples/cvs_test/fortress_scoring.cfg
+share/examples/armagetronad/armagetronad/examples/cvs_test/sumo_complete.cfg
+share/examples/armagetronad/armagetronad/examples/death_zone.cfg
+share/examples/armagetronad/armagetronad/examples/fortress_soccer.cfg
+share/examples/armagetronad/armagetronad/examples/single_use_turbo.cfg
+share/examples/armagetronad/armagetronad/examples/teamsumo.cfg
+share/examples/armagetronad/armagetronad/master.srv
+share/examples/armagetronad/armagetronad/rc.config
+share/examples/armagetronad/armagetronad/settings.cfg
+share/examples/armagetronad/armagetronad/settings_authentication.cfg
+share/examples/armagetronad/armagetronad/settings_dedicated.cfg
+share/examples/armagetronad/armagetronad/settings_visual.cfg
+share/examples/armagetronad/armagetronad/subcultures.srv
diff --git a/games/armagetronad/distinfo b/games/armagetronad/distinfo
new file mode 100644
index 00000000000..41e1bf304e7
--- /dev/null
+++ b/games/armagetronad/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/07/24 15:43:50 kamil Exp $
+
+SHA1 (armagetronad-0.2.8.3.3.src.tar.gz) = f27657dfcddce681915d48f55d7dde1959167d4a
+RMD160 (armagetronad-0.2.8.3.3.src.tar.gz) = 251c2253ff956207544b9dba6fd233630ed85efd
+SHA512 (armagetronad-0.2.8.3.3.src.tar.gz) = b83d109107887b41b8f26c3709c50e730bc4bdc30eac247002cfab661bece9b6af9e1e9808a2295df6ad38c99bb519d12e0ea7bbaef0ce0615e2d814ca69b04e
+Size (armagetronad-0.2.8.3.3.src.tar.gz) = 2230775 bytes