Import afternoonstalker-1.0; Maintained by Lurene Grenier <lurene@menagerie.tf>

Afternoon Stalker is a clone of Mattel's 1981 offering, Night Stalker.
This commit is contained in:
pvalchev 2002-02-28 05:34:00 +00:00
parent aad3762657
commit 8472b9cdec
6 changed files with 94 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/02/28 05:34:00 pvalchev Exp $
COMMENT= "Night Stalker clone for X"
VERSION= 1.0
DISTNAME= afternoonstalker-${VERSION}
CATEGORIES= games
NEED_VERSION= 1.504
HOMEPAGE= http://www3.sympatico.ca/sarrazip/dev/afternoonstalker.html
MAINTAINER= Lurene Grenier <lurene@menagerie.tf>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
AUTOCONF_NEW= Yes
MASTER_SITES= http://www3.sympatico.ca/sarrazip/dev/
BUILD_DEPENDS= automake::devel/automake
LIB_DEPENDS= gengameng.4.0::devel/gengameng
USE_X11= Yes
CONFIGURE_STYLE= autoconf
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (afternoonstalker-1.0.tar.gz) = bfc0d20579ab02c44f3db08f3f8a102a
RMD160 (afternoonstalker-1.0.tar.gz) = f4f05e2084f61d2f29cacc7c75511a21d8f616c5
SHA1 (afternoonstalker-1.0.tar.gz) = f10d270c46287177638eecb8aba8a51bf2d965cd

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_AfternoonStalkerEngine_h,v 1.1.1.1 2002/02/28 05:34:00 pvalchev Exp $
--- src/AfternoonStalkerEngine.h.orig Mon Feb 25 17:25:30 2002
+++ src/AfternoonStalkerEngine.h Mon Feb 25 17:26:00 2002
@@ -34,7 +34,7 @@ AfternoonStalkerEngine.h - A robot-killi
class RobotSprite;
-#include <stdint.h>
+#include <inttypes.h>
#include <string>

View File

@ -0,0 +1,29 @@
$OpenBSD: patch-src_sdlmain_cpp,v 1.1.1.1 2002/02/28 05:34:00 pvalchev Exp $
--- src/sdlmain.cpp.orig Tue Feb 26 11:16:44 2002
+++ src/sdlmain.cpp Tue Feb 26 11:18:49 2002
@@ -27,9 +27,24 @@
#include <time.h>
#include <stdio.h>
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__OpenBSD__)
#include <getopt.h>
+#elif defined(__OpenBSD__)
+#undef __GNUG__
+extern int getopt_long __P((int __argc, char *const *__argv, const char *__shortopts, const struct option *__longopts, int *__longind));
+struct option {
+ char *name;
+ int has_arg;
+ int *flag;
+ int val;
+};
+# define no_argument 0
+# define required_argument 1
+# define optional_argument 2
#endif
+
+
+
#include <string>

View File

@ -0,0 +1,4 @@
Afternoon Stalker is a clone of Mattel's 1981 offering, Night Stalker.
This version has "ridiculous sound effects!".
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,16 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/02/28 05:34:00 pvalchev Exp $
bin/afternoonstalker
man/man6/afternoonstalker.6
share/afternoonstalker/level1.set
share/pixmaps/afternoonstalker.png
share/sounds/afternoonstalker/bat-killed.wav
share/sounds/afternoonstalker/gun-pickup.wav
share/sounds/afternoonstalker/new-life.wav
share/sounds/afternoonstalker/player-bullet.wav
share/sounds/afternoonstalker/player-hit.wav
share/sounds/afternoonstalker/robot-bullet.wav
share/sounds/afternoonstalker/robot-hit.wav
share/sounds/afternoonstalker/shooting-blanks.wav
share/sounds/afternoonstalker/spider-killed.wav
@dirrm share/sounds/afternoonstalker
@dirrm share/afternoonstalker