aboutsummaryrefslogtreecommitdiff
path: root/games/orbital_eunuchs_sniper
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-01-21 20:56:10 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-01-21 20:56:10 +0000
commitdac797484c27917b40a1eb3eee036baee8d873ae (patch)
tree8163d0eb37a520813fb9c1b1d387eb57b3bbea5b /games/orbital_eunuchs_sniper
parentaee177aeb56880ed0d70891f2e14cfca9a712947 (diff)
downloadports-dac797484c27917b40a1eb3eee036baee8d873ae.tar.gz
ports-dac797484c27917b40a1eb3eee036baee8d873ae.zip
Notes
Diffstat (limited to 'games/orbital_eunuchs_sniper')
-rw-r--r--games/orbital_eunuchs_sniper/Makefile35
-rw-r--r--games/orbital_eunuchs_sniper/distinfo1
-rw-r--r--games/orbital_eunuchs_sniper/files/patch-configure20
-rw-r--r--games/orbital_eunuchs_sniper/files/patch-src-Makefile.in85
-rw-r--r--games/orbital_eunuchs_sniper/files/patch-src-binds.cpp13
-rw-r--r--games/orbital_eunuchs_sniper/files/patch-src-snipe2d.h21
-rw-r--r--games/orbital_eunuchs_sniper/files/patch-src-snipe2d.in9
-rw-r--r--games/orbital_eunuchs_sniper/files/patch-src-ui.cpp11
-rw-r--r--games/orbital_eunuchs_sniper/pkg-descr8
-rw-r--r--games/orbital_eunuchs_sniper/pkg-plist48
10 files changed, 251 insertions, 0 deletions
diff --git a/games/orbital_eunuchs_sniper/Makefile b/games/orbital_eunuchs_sniper/Makefile
new file mode 100644
index 000000000000..e14d4d951ee8
--- /dev/null
+++ b/games/orbital_eunuchs_sniper/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: Orbital Eunuchs Sniper
+# Date created: 21 Jan 2004
+# Whom: Jean-Yves Lefort <jylefort@brutele.be>
+#
+# $FreeBSD$
+#
+
+PORTNAME= orbital_eunuchs_sniper
+PORTVERSION= 1.29
+CATEGORIES= games
+MASTER_SITES= http://filesingularity.timedoctor.org/
+
+MAINTAINER= jylefort@brutele.be
+COMMENT= An overhead shooting game
+
+USE_SDL= sdl image mixer
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+
+CONFIGURE_ENV= CPPFLAGS="`${SDL_CONFIG} --cflags`" \
+ LDFLAGS="`${SDL_CONFIG} --libs`"
+CONFIGURE_ARGS= --with-games-dir=${PREFIX}/share
+
+PORTDOCS= AUTHORS ChangeLog README TODO readme.txt
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+.for FILE in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/orbital_eunuchs_sniper/distinfo b/games/orbital_eunuchs_sniper/distinfo
new file mode 100644
index 000000000000..df6d08df4716
--- /dev/null
+++ b/games/orbital_eunuchs_sniper/distinfo
@@ -0,0 +1 @@
+MD5 (orbital_eunuchs_sniper-1.29.tar.gz) = 78701333a1fe43b7198d55586b77c46d
diff --git a/games/orbital_eunuchs_sniper/files/patch-configure b/games/orbital_eunuchs_sniper/files/patch-configure
new file mode 100644
index 000000000000..590baa5c8afc
--- /dev/null
+++ b/games/orbital_eunuchs_sniper/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig Wed Jan 21 11:43:15 2004
++++ configure Wed Jan 21 11:43:47 2004
+@@ -6150,17 +6150,6 @@
+
+
+
+-echo $ac_n "ordering crap from http://www.amazon.com/exec/obidos/wishlist/296ST2NHEBO0Z $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 $ac_n ".$ac_c" 1>&6
+-sleep 1
+-echo "$as_me:$LINENO: result: complete!" >&5
+ echo "${ECHO_T} complete!" >&6
+
+ ac_config_files="$ac_config_files Makefile src/Makefile bin/Makefile src/snipe2d"
diff --git a/games/orbital_eunuchs_sniper/files/patch-src-Makefile.in b/games/orbital_eunuchs_sniper/files/patch-src-Makefile.in
new file mode 100644
index 000000000000..4c6c233e91f8
--- /dev/null
+++ b/games/orbital_eunuchs_sniper/files/patch-src-Makefile.in
@@ -0,0 +1,85 @@
+--- src/Makefile.in.orig Wed Jan 21 12:10:25 2004
++++ src/Makefile.in Wed Jan 21 12:25:03 2004
+@@ -52,7 +52,7 @@
+ install_sh_SCRIPT = $(install_sh) -c
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_HEADER = $(INSTALL_DATA)
+-transform = @program_transform_name@
++transform =
+ NORMAL_INSTALL = :
+ PRE_INSTALL = :
+ POST_INSTALL = :
+@@ -87,7 +87,7 @@
+ am__include = @am__include@
+ am__quote = @am__quote@
+ install_sh = @install_sh@
+-pkgdata_PROGRAMS = snipe2d.@CPU_IS@.dynamic snipe2d.@CPU_IS@.static
++pkgdata_PROGRAMS = snipe2d-bin
+ BUILT_SOURCES = snipe2d
+ bin_SCRIPTS = snipe2d
+ snipe2d_common = \
+@@ -118,7 +118,7 @@
+ sexpr/parser.c
+
+
+-snipe2d_@CPU_IS@_dynamic_SOURCES = $(snipe2d_common)
++snipe2d_bin_SOURCES = $(snipe2d_common)
+
+ #snipe2d_@CPU_IS@_static_LDFLAGS = -static
+ snipe2d_@CPU_IS@_static_SOURCES = $(snipe2d_common)
+@@ -126,8 +126,8 @@
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = $(top_builddir)/config.h
+ CONFIG_CLEAN_FILES = snipe2d
+-pkgdata_PROGRAMS = snipe2d.@CPU_IS@.dynamic$(EXEEXT) \
+- snipe2d.@CPU_IS@.static$(EXEEXT)
++pkgdata_PROGRAMS = snipe2d-bin$(EXEEXT)
++
+ PROGRAMS = $(pkgdata_PROGRAMS)
+
+ am__objects_1 = ai.$(OBJEXT) binds.$(OBJEXT) gameover.$(OBJEXT) \
+@@ -136,12 +136,12 @@
+ snipe2d.$(OBJEXT) target.$(OBJEXT) ui.$(OBJEXT) zooms.$(OBJEXT) \
+ sexp.$(OBJEXT) sexp_ops.$(OBJEXT) faststack.$(OBJEXT) \
+ io.$(OBJEXT) parser.$(OBJEXT)
+-am_snipe2d_@CPU_IS@_dynamic_OBJECTS = $(am__objects_1)
+-snipe2d_@CPU_IS@_dynamic_OBJECTS = \
+- $(am_snipe2d_@CPU_IS@_dynamic_OBJECTS)
+-snipe2d_@CPU_IS@_dynamic_LDADD = $(LDADD)
+-snipe2d_@CPU_IS@_dynamic_DEPENDENCIES =
+-snipe2d_@CPU_IS@_dynamic_LDFLAGS =
++am_snipe2d_bin_OBJECTS = $(am__objects_1)
++snipe2d_bin_OBJECTS = \
++ $(am_snipe2d_bin_OBJECTS)
++snipe2d_bin_LDADD = $(LDADD)
++snipe2d_bin_DEPENDENCIES =
++snipe2d_bin_LDFLAGS =
+ am_snipe2d_@CPU_IS@_static_OBJECTS = $(am__objects_1)
+ snipe2d_@CPU_IS@_static_OBJECTS = $(am_snipe2d_@CPU_IS@_static_OBJECTS)
+ snipe2d_@CPU_IS@_static_LDADD = $(LDADD)
+@@ -177,10 +177,10 @@
+ CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
+ -o $@
+ CXXFLAGS = @CXXFLAGS@
+-DIST_SOURCES = $(snipe2d_@CPU_IS@_dynamic_SOURCES) \
++DIST_SOURCES = $(snipe2d_bin_SOURCES) \
+ $(snipe2d_@CPU_IS@_static_SOURCES)
+ DIST_COMMON = Makefile.am Makefile.in snipe2d.in
+-SOURCES = $(snipe2d_@CPU_IS@_dynamic_SOURCES) $(snipe2d_@CPU_IS@_static_SOURCES)
++SOURCES = $(snipe2d_bin_SOURCES) $(snipe2d_@CPU_IS@_static_SOURCES)
+
+ all: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) all-am
+@@ -223,9 +223,9 @@
+ faststack.$(OBJEXT): sexpr/faststack.c
+ io.$(OBJEXT): sexpr/io.c
+ parser.$(OBJEXT): sexpr/parser.c
+-snipe2d.@CPU_IS@.dynamic$(EXEEXT): $(snipe2d_@CPU_IS@_dynamic_OBJECTS) $(snipe2d_@CPU_IS@_dynamic_DEPENDENCIES)
+- @rm -f snipe2d.@CPU_IS@.dynamic$(EXEEXT)
+- $(CXXLINK) $(snipe2d_@CPU_IS@_dynamic_LDFLAGS) $(snipe2d_@CPU_IS@_dynamic_OBJECTS) $(snipe2d_@CPU_IS@_dynamic_LDADD) $(LIBS)
++snipe2d-bin$(EXEEXT): $(snipe2d_bin_OBJECTS) $(snipe2d_bin_DEPENDENCIES)
++ @rm -f snipe2d-bin$(EXEEXT)
++ $(CXXLINK) $(snipe2d_bin_LDFLAGS) $(snipe2d_bin_OBJECTS) $(snipe2d_bin_LDADD) $(LIBS)
+ binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ @$(NORMAL_INSTALL)
diff --git a/games/orbital_eunuchs_sniper/files/patch-src-binds.cpp b/games/orbital_eunuchs_sniper/files/patch-src-binds.cpp
new file mode 100644
index 000000000000..b30596fc69ee
--- /dev/null
+++ b/games/orbital_eunuchs_sniper/files/patch-src-binds.cpp
@@ -0,0 +1,13 @@
+--- src/binds.cpp.orig Wed Jan 21 11:44:39 2004
++++ src/binds.cpp Wed Jan 21 11:44:49 2004
+@@ -6,8 +6,8 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <SDL/SDL_keyboard.h>
+-#include <SDL/SDL_keysym.h>
++#include <SDL_keyboard.h>
++#include <SDL_keysym.h>
+
+ #include "sexpr/sexp.h"
+ #include "binds.h"
diff --git a/games/orbital_eunuchs_sniper/files/patch-src-snipe2d.h b/games/orbital_eunuchs_sniper/files/patch-src-snipe2d.h
new file mode 100644
index 000000000000..2b94e3969a87
--- /dev/null
+++ b/games/orbital_eunuchs_sniper/files/patch-src-snipe2d.h
@@ -0,0 +1,21 @@
+--- src/snipe2d.h.orig Wed Jan 21 11:41:53 2004
++++ src/snipe2d.h Wed Jan 21 11:42:04 2004
+@@ -36,14 +36,14 @@
+ //
+ //#include <windows.h>
+ #include <iostream>
+-#include <linux/limits.h>
++#include <limits.h>
+ #include <stdlib.h>
+ #include <math.h>
+ #include <string.h>
+ #include <libgen.h>
+-#include <SDL/SDL.h>
+-#include <SDL/SDL_image.h>
+-#include <SDL/SDL_mixer.h>
++#include <SDL.h>
++#include <SDL_image.h>
++#include <SDL_mixer.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
diff --git a/games/orbital_eunuchs_sniper/files/patch-src-snipe2d.in b/games/orbital_eunuchs_sniper/files/patch-src-snipe2d.in
new file mode 100644
index 000000000000..66324f19ae74
--- /dev/null
+++ b/games/orbital_eunuchs_sniper/files/patch-src-snipe2d.in
@@ -0,0 +1,9 @@
+--- src/snipe2d.in.orig Wed Jan 21 11:56:07 2004
++++ src/snipe2d.in Wed Jan 21 12:19:02 2004
+@@ -1,4 +1,4 @@
+-#! /bin/bash
++#! /bin/sh
+ prefix=@prefix@
+ cd @datadir@/@PACKAGE@
+-./snipe2d.x86.dynamic $*
++./snipe2d-bin $*
diff --git a/games/orbital_eunuchs_sniper/files/patch-src-ui.cpp b/games/orbital_eunuchs_sniper/files/patch-src-ui.cpp
new file mode 100644
index 000000000000..7e08c9698473
--- /dev/null
+++ b/games/orbital_eunuchs_sniper/files/patch-src-ui.cpp
@@ -0,0 +1,11 @@
+--- src/ui.cpp.orig Wed Jan 21 11:45:37 2004
++++ src/ui.cpp Wed Jan 21 11:45:43 2004
+@@ -2,7 +2,7 @@
+ ui system
+ */
+
+-#include <SDL/SDL.h>
++#include <SDL.h>
+ #include <stdarg.h>
+ #include <stdio.h>
+ #include <stdlib.h>
diff --git a/games/orbital_eunuchs_sniper/pkg-descr b/games/orbital_eunuchs_sniper/pkg-descr
new file mode 100644
index 000000000000..a274825470e1
--- /dev/null
+++ b/games/orbital_eunuchs_sniper/pkg-descr
@@ -0,0 +1,8 @@
+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)!
+
+WWW: http://www.icculus.org/oes/
+
+- Jean-Yves Lefort
+jylefort@brutele.be
diff --git a/games/orbital_eunuchs_sniper/pkg-plist b/games/orbital_eunuchs_sniper/pkg-plist
new file mode 100644
index 000000000000..319ab9eab0ab
--- /dev/null
+++ b/games/orbital_eunuchs_sniper/pkg-plist
@@ -0,0 +1,48 @@
+bin/snipe2d
+share/orbital_eunuchs_sniper/aimap.png
+share/orbital_eunuchs_sniper/audiooff.png
+share/orbital_eunuchs_sniper/audiooffh.png
+share/orbital_eunuchs_sniper/audioon.png
+share/orbital_eunuchs_sniper/audioonh.png
+share/orbital_eunuchs_sniper/binds.cfg
+share/orbital_eunuchs_sniper/camera_in.wav
+share/orbital_eunuchs_sniper/camera_out.wav
+share/orbital_eunuchs_sniper/charseq.png
+share/orbital_eunuchs_sniper/citee2.png
+share/orbital_eunuchs_sniper/easy.png
+share/orbital_eunuchs_sniper/easyh.png
+share/orbital_eunuchs_sniper/fish1.png
+share/orbital_eunuchs_sniper/fish2.png
+share/orbital_eunuchs_sniper/font4x6.png
+share/orbital_eunuchs_sniper/fullscreen.png
+share/orbital_eunuchs_sniper/fullscreenh.png
+share/orbital_eunuchs_sniper/hard.png
+share/orbital_eunuchs_sniper/hardh.png
+share/orbital_eunuchs_sniper/highscores.png
+share/orbital_eunuchs_sniper/highscoresh.png
+share/orbital_eunuchs_sniper/hisfatj1.png
+share/orbital_eunuchs_sniper/hisfatj2.png
+share/orbital_eunuchs_sniper/icculus_logoscreen1.png
+share/orbital_eunuchs_sniper/icculus_logoscreen2.png
+share/orbital_eunuchs_sniper/keys.cfg
+share/orbital_eunuchs_sniper/logoscreen.png
+share/orbital_eunuchs_sniper/medium.png
+share/orbital_eunuchs_sniper/mediumh.png
+share/orbital_eunuchs_sniper/menus.cfg
+share/orbital_eunuchs_sniper/newgame.png
+share/orbital_eunuchs_sniper/newgameh.png
+share/orbital_eunuchs_sniper/oes.ogg
+share/orbital_eunuchs_sniper/oes_link1.png
+share/orbital_eunuchs_sniper/oes_link2.png
+share/orbital_eunuchs_sniper/prefs.png
+share/orbital_eunuchs_sniper/prefsh.png
+share/orbital_eunuchs_sniper/quit.png
+share/orbital_eunuchs_sniper/quith.png
+share/orbital_eunuchs_sniper/recharge.ogg
+share/orbital_eunuchs_sniper/resumegame.png
+share/orbital_eunuchs_sniper/resumegameh.png
+share/orbital_eunuchs_sniper/snipe2d-bin
+share/orbital_eunuchs_sniper/twang.wav
+share/orbital_eunuchs_sniper/window.png
+share/orbital_eunuchs_sniper/windowh.png
+@dirrm share/orbital_eunuchs_sniper