diff --git a/games/afternoonstalker/Makefile b/games/afternoonstalker/Makefile new file mode 100644 index 00000000000..3e2dca51fef --- /dev/null +++ b/games/afternoonstalker/Makefile @@ -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 + +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 diff --git a/games/afternoonstalker/distinfo b/games/afternoonstalker/distinfo new file mode 100644 index 00000000000..4d4df0e2ef1 --- /dev/null +++ b/games/afternoonstalker/distinfo @@ -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 diff --git a/games/afternoonstalker/patches/patch-src_AfternoonStalkerEngine_h b/games/afternoonstalker/patches/patch-src_AfternoonStalkerEngine_h new file mode 100644 index 00000000000..a39afb324b1 --- /dev/null +++ b/games/afternoonstalker/patches/patch-src_AfternoonStalkerEngine_h @@ -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 ++#include + + #include + diff --git a/games/afternoonstalker/patches/patch-src_sdlmain_cpp b/games/afternoonstalker/patches/patch-src_sdlmain_cpp new file mode 100644 index 00000000000..0d4ce050b8b --- /dev/null +++ b/games/afternoonstalker/patches/patch-src_sdlmain_cpp @@ -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 + #include + +-#ifdef __GNUG__ ++#if defined(__GNUG__) && !defined(__OpenBSD__) + #include ++#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 + diff --git a/games/afternoonstalker/pkg/DESCR b/games/afternoonstalker/pkg/DESCR new file mode 100644 index 00000000000..171cb421984 --- /dev/null +++ b/games/afternoonstalker/pkg/DESCR @@ -0,0 +1,4 @@ +Afternoon Stalker is a clone of Mattel's 1981 offering, Night Stalker. +This version has "ridiculous sound effects!". + +WWW: ${HOMEPAGE} diff --git a/games/afternoonstalker/pkg/PLIST b/games/afternoonstalker/pkg/PLIST new file mode 100644 index 00000000000..bcee14f0cd7 --- /dev/null +++ b/games/afternoonstalker/pkg/PLIST @@ -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