Orbital Eunuchs Sniper is an overhead shooting game. You (the Eunuch on

the orbital laser platform) are tasked with protecting the VIPs (blue)
from the terrorists (red)!

OK phessler@, kili@
This commit is contained in:
edd 2009-10-11 21:50:14 +00:00
parent 1ac2ce94ce
commit b372524dd9
8 changed files with 159 additions and 0 deletions

39
games/snipe2d/Makefile Normal file
View File

@ -0,0 +1,39 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/10/11 21:50:14 edd Exp $
COMMENT = overhead shooting game
V = 1.30
DISTNAME = orbital_eunuchs_sniper-${V}
PKGNAME = snipe2d-${V}
CATEGORIES = games
HOMEPAGE = http://icculus.org/oes/
MAINTAINER = Edd Barrett <edd@openbsd.org>
# zlib-a-like - see COPYING in sources
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += c m pthread stdc++
MASTER_SITES = http://icculus.org/oes/
LIB_DEPENDS = SDL.>=8::devel/sdl \
SDL_image.>=2::devel/sdl-image \
SDL_mixer.>=3::devel/sdl-mixer
USE_X11 = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV += LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib \
-pthread" CPPFLAGS=-I${LOCALBASE}/include
post-extract:
rm ${WRKDIST}/Makefile.orig
.include <bsd.port.mk>

5
games/snipe2d/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (orbital_eunuchs_sniper-1.30.tar.gz) = i3HN/YNe6rHZdMoOMvPp1g==
RMD160 (orbital_eunuchs_sniper-1.30.tar.gz) = YBTb21VnBUdjNJImxGQSrGZXYao=
SHA1 (orbital_eunuchs_sniper-1.30.tar.gz) = Z/XOyWF5+qvv5HXL6gw7RfC198I=
SHA256 (orbital_eunuchs_sniper-1.30.tar.gz) = TJyQkYPScwnLln9k/vE/jGnxyanVWb/7hwRdIQWe5wo=
SIZE (orbital_eunuchs_sniper-1.30.tar.gz) = 4056847

View File

@ -0,0 +1,29 @@
$OpenBSD: patch-configure,v 1.1.1.1 2009/10/11 21:50:14 edd Exp $
--- configure.orig Thu Oct 19 05:38:43 2006
+++ configure Sun Oct 11 22:56:54 2009
@@ -6774,22 +6774,12 @@ _ACEOF
#These should be automagically determined somehow.
#CPU Instruction Set. Should be automagic.
-CPU_IS=`uname -m`
+CPU_IS=`arch -s`
-echo $ac_n "ordering crap from http://www.amazon.com/gp/registry/296ST2NHEBO0Z" 1>&6
-sleep 1
-echo $ac_n ".$ac_c" 1>&6
-sleep 1
-echo $ac_n ".$ac_c" 1>&6
-sleep 1
-echo $ac_n ".$ac_c" 1>&6
-sleep 1
-echo $ac_n ".$ac_c" 1>&6
-sleep 1
-echo "$as_me:$LINENO: result: complete!" >&5
-echo "${ECHO_T} complete!" >&6
+echo $ac_n "*NOT* ordering crap from http://www.amazon.com/gp/registry/296ST2NHEBO0Z" 1>&6
+echo "${ECHO_T} yah right?!!" >&6
ac_config_files="$ac_config_files Makefile src/Makefile bin/Makefile src/snipe2d"

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_prefs_cpp,v 1.1.1.1 2009/10/11 21:50:14 edd Exp $
--- src/prefs.cpp.orig Sun Oct 11 20:09:26 2009
+++ src/prefs.cpp Sun Oct 11 20:10:01 2009
@@ -9,7 +9,7 @@
#include "binds.h"
/* default web browser. */
-#define WWWBROWSER "mozilla"
+#define WWWBROWSER "true"
extern PREFS gPrefs;
struct passwd *pw_ent = 0;

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_snipe2d_cpp,v 1.1.1.1 2009/10/11 21:50:14 edd Exp $
--- src/snipe2d.cpp.orig Sun Oct 11 20:10:17 2009
+++ src/snipe2d.cpp Sun Oct 11 20:10:30 2009
@@ -1589,7 +1589,7 @@ oes_uisignal (oesui_t *gui, oesui_signal_t *sig)
}
else if (0 == strcmp(signame, "url-oes"))
{
-#define WEBBROWSER mozilla
+#define WEBBROWSER true
/* http://www.icculus.org/oes/ */
oes_web("http://www.icculus.org/oes/");
}

View File

@ -0,0 +1,8 @@
$OpenBSD: patch-src_snipe2d_in,v 1.1.1.1 2009/10/11 21:50:14 edd Exp $
--- src/snipe2d.in.orig Sun Oct 11 19:55:35 2009
+++ src/snipe2d.in Sun Oct 11 19:55:41 2009
@@ -1,3 +1,3 @@
-#! /bin/bash
+#!/bin/sh
prefix=@prefix@
@datadir@/@PACKAGE_NAME@/snipe2d.@CPU_IS@.dynamic $*

3
games/snipe2d/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
Orbital Eunuchs Sniper is an overhead shooting game. You (the Eunuch on
the orbital laser platform) are tasked with protecting the VIPs (blue)
from the terrorists (red)!

51
games/snipe2d/pkg/PLIST Normal file
View File

@ -0,0 +1,51 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/10/11 21:50:14 edd Exp $
bin/snipe2d
share/games/
share/games/orbital_eunuchs_sniper/
share/games/orbital_eunuchs_sniper/aimap.png
share/games/orbital_eunuchs_sniper/audiooff.png
share/games/orbital_eunuchs_sniper/audiooffh.png
share/games/orbital_eunuchs_sniper/audioon.png
share/games/orbital_eunuchs_sniper/audioonh.png
share/games/orbital_eunuchs_sniper/binds.cfg
share/games/orbital_eunuchs_sniper/camera_in.wav
share/games/orbital_eunuchs_sniper/camera_out.wav
share/games/orbital_eunuchs_sniper/charseq.png
share/games/orbital_eunuchs_sniper/citee2.png
share/games/orbital_eunuchs_sniper/easy.png
share/games/orbital_eunuchs_sniper/easyh.png
share/games/orbital_eunuchs_sniper/fish1.png
share/games/orbital_eunuchs_sniper/fish2.png
share/games/orbital_eunuchs_sniper/font4x6.png
share/games/orbital_eunuchs_sniper/fullscreen.png
share/games/orbital_eunuchs_sniper/fullscreenh.png
share/games/orbital_eunuchs_sniper/hard.png
share/games/orbital_eunuchs_sniper/hardh.png
share/games/orbital_eunuchs_sniper/highscores.png
share/games/orbital_eunuchs_sniper/highscoresh.png
share/games/orbital_eunuchs_sniper/hisfatj1.png
share/games/orbital_eunuchs_sniper/hisfatj2.png
share/games/orbital_eunuchs_sniper/icculus_logoscreen1.png
share/games/orbital_eunuchs_sniper/icculus_logoscreen2.png
share/games/orbital_eunuchs_sniper/keys.cfg
share/games/orbital_eunuchs_sniper/logoscreen.png
share/games/orbital_eunuchs_sniper/medium.png
share/games/orbital_eunuchs_sniper/mediumh.png
share/games/orbital_eunuchs_sniper/menus.cfg
share/games/orbital_eunuchs_sniper/newgame.png
share/games/orbital_eunuchs_sniper/newgameh.png
share/games/orbital_eunuchs_sniper/oes.ogg
share/games/orbital_eunuchs_sniper/oes_link1.png
share/games/orbital_eunuchs_sniper/oes_link2.png
share/games/orbital_eunuchs_sniper/prefs.png
share/games/orbital_eunuchs_sniper/prefsh.png
share/games/orbital_eunuchs_sniper/quit.png
share/games/orbital_eunuchs_sniper/quith.png
share/games/orbital_eunuchs_sniper/recharge.ogg
share/games/orbital_eunuchs_sniper/resumegame.png
share/games/orbital_eunuchs_sniper/resumegameh.png
@bin share/games/orbital_eunuchs_sniper/snipe2d.${MACHINE_ARCH}.dynamic
share/games/orbital_eunuchs_sniper/snipe2d.${MACHINE_ARCH}.static
share/games/orbital_eunuchs_sniper/twang.wav
share/games/orbital_eunuchs_sniper/window.png
share/games/orbital_eunuchs_sniper/windowh.png