import xscorch 0.2.0

Xscorch is a clone of the classic DOS game, "Scorched Earth". The basic
goal is to annihilate enemy tanks using overpowered guns. Basically, you
buy weapons, you target the enemy by adjusting the angle of your turret
and firing power, and you hope to destroy their tank before they destroy
yours.

network games are still a bit fishy..

ok todd@
This commit is contained in:
jasper 2007-06-06 19:32:25 +00:00
parent 5f50aebee8
commit 4655611bc2
6 changed files with 103 additions and 0 deletions

38
games/xscorch/Makefile Normal file
View File

@ -0,0 +1,38 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/06/06 19:32:25 jasper Exp $
COMMENT= Scorced Earth-clone
DISTNAME= xscorch-0.2.0
CATEGORIES= games
HOMEPAGE= http://www.xscorch.org/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xau Xdmcp Xext Xi c glib gmodule iconv intl m
MASTER_SITES= ${HOMEPAGE}/releases/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
xscorch-0.2.0-64bit.patch.gz \
xscorch-0.2.0-stack-smash.patch.gz
LIB_DEPENDS= mikmod::audio/libmikmod \
gtk.>=1.2,gdk.>=1.2::x11/gtk+
USE_X11= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-x \
--with-gtk \
--without-gnome
post-extract:
cd ${WRKSRC} && patch < ${WRKDIR}/xscorch-0.2.0-64bit.patch
cd ${WRKSRC} && patch < ${WRKDIR}/xscorch-0.2.0-stack-smash.patch
find ${WRKDIST} -name \*.orig -print0 | xargs -0 rm
.include <bsd.port.mk>

15
games/xscorch/distinfo Normal file
View File

@ -0,0 +1,15 @@
MD5 (xscorch-0.2.0-64bit.patch.gz) = AMa15naDrIViSIVHZZpy8w==
MD5 (xscorch-0.2.0-stack-smash.patch.gz) = Q89iKeDwNMI1gF7IpU5nGA==
MD5 (xscorch-0.2.0.tar.gz) = QoYtveHQ6/h74w9+BEYqZg==
RMD160 (xscorch-0.2.0-64bit.patch.gz) = KX/XmjQXqGqW3r02wNXDuxqax4k=
RMD160 (xscorch-0.2.0-stack-smash.patch.gz) = /93wBXxI/TcumdMWCTsYc10KSyY=
RMD160 (xscorch-0.2.0.tar.gz) = JDqX6q3Wspw1TG4P5nkFXAzbU+I=
SHA1 (xscorch-0.2.0-64bit.patch.gz) = SxCfDbvsDSFpQ+j7lu2fLvTjmrk=
SHA1 (xscorch-0.2.0-stack-smash.patch.gz) = yPou/sx8mfI9McNv4Ld9WkDpxqk=
SHA1 (xscorch-0.2.0.tar.gz) = ttNuK2jobh+CjRMSv3eJr9QIU4Y=
SHA256 (xscorch-0.2.0-64bit.patch.gz) = IMC+xBkHu7Vgqai96pVTwuiXK2zbfkWt5pt60QLkaXA=
SHA256 (xscorch-0.2.0-stack-smash.patch.gz) = qjjNUZG2iHdxjsdyEMEw0y+AyfSjz3cL13Orj7iCSUg=
SHA256 (xscorch-0.2.0.tar.gz) = +R69rz0Ry1aB0bzKdUD6s7AmLNC0N1eFEi/fJpzKxoo=
SIZE (xscorch-0.2.0-64bit.patch.gz) = 3122
SIZE (xscorch-0.2.0-stack-smash.patch.gz) = 727
SIZE (xscorch-0.2.0.tar.gz) = 818449

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2007/06/06 19:32:25 jasper Exp $
--- Makefile.in.orig Wed Jun 6 17:26:10 2007
+++ Makefile.in Wed Jun 6 17:26:46 2007
@@ -153,12 +153,12 @@ bin_PROGRAMS = $(GTK_PROGRAM) $(NETWORK_PROGRAM)
xscorch_SOURCES = xscorch.c
-xscorch_LDADD = -lm $(GTK_LIBS) $(LIBMIKMOD_LIBS) sgame/libscorch_game.a sgtk/libscorch_gtk.a sgtk/swidgets/libscorch_widget_gtk.a sai/libscorch_ai.a $(MIKMOD_LD_ADD) $(NETWORK_LD_ADD) sutil/libscorch_util.a sgame/libscorch_game.a libj/jreg/libjreg.a libj/jstr/libjstr.a
+xscorch_LDADD = -lm $(GTK_LIBS) $(LIBMIKMOD_LIBS) sgame/libscorch_game_dup.a sgtk/libscorch_gtk.a sgtk/swidgets/libscorch_widget_gtk.a sai/libscorch_ai.a $(MIKMOD_LD_ADD) $(NETWORK_LD_ADD) sutil/libscorch_util.a sgame/libscorch_game.a libj/jreg/libjreg.a libj/jstr/libjstr.a
xscorch_server_SOURCES = xscorch.c
-xscorch_server_LDADD = -lm $(LIBREADLINE_LIBS) sgame/libscorch_game.a sconsole/libscorch_console.a sai/libscorch_ai.a ssound/libscorch_sound_null.a $(NETWORK_LD_ADD) sutil/libscorch_util.a sgame/libscorch_game.a libj/jreg/libjreg.a libj/jstr/libjstr.a
+xscorch_server_LDADD = -lm $(LIBREADLINE_LIBS) sgame/libscorch_game_dup.a sconsole/libscorch_console.a sai/libscorch_ai.a ssound/libscorch_sound_null.a $(NETWORK_LD_ADD) sutil/libscorch_util.a sgame/libscorch_game.a libj/jreg/libjreg.a libj/jstr/libjstr.a
INCLUDES = -Isgame -Isgtk

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-sgame_Makefile_in,v 1.1.1.1 2007/06/06 19:32:25 jasper Exp $
--- sgame/Makefile.in.orig Wed Jun 6 14:32:03 2007
+++ sgame/Makefile.in Wed Jun 6 14:32:44 2007
@@ -253,6 +253,7 @@ libscorch_game.a: $(libscorch_game_a_OBJECTS) $(libsco
-rm -f libscorch_game.a
$(AR) cru libscorch_game.a $(libscorch_game_a_OBJECTS) $(libscorch_game_a_LIBADD)
$(RANLIB) libscorch_game.a
+ -ln -s libscorch_game.a libscorch_game_dup.a
tags: TAGS

5
games/xscorch/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
Xscorch is a clone of the classic DOS game, "Scorched Earth". The basic
goal is to annihilate enemy tanks using overpowered guns. Basically, you
buy weapons, you target the enemy by adjusting the angle of your turret
and firing power, and you hope to destroy their tank before they destroy
yours.

16
games/xscorch/pkg/PLIST Normal file
View File

@ -0,0 +1,16 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/06/06 19:32:25 jasper Exp $
bin/xscorch
bin/xscorch-server
@man man/man6/xscorch.6
share/xscorch/
share/xscorch/accessories.def
share/xscorch/copying.txt
share/xscorch/images/
share/xscorch/images/xscorch-icon.xpm
share/xscorch/images/xscorch-logo.xpm
share/xscorch/profiles.def
share/xscorch/scorings.def
share/xscorch/sounds/
share/xscorch/sounds/README
share/xscorch/weapons.def
share/xscorch/xscorch.txt