summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/afternoonstalker/Makefile11
-rw-r--r--games/afternoonstalker/distinfo5
-rw-r--r--games/afternoonstalker/files/patch-src__sdlmain.cpp10
-rw-r--r--games/afternoonstalker/pkg-plist4
4 files changed, 23 insertions, 7 deletions
diff --git a/games/afternoonstalker/Makefile b/games/afternoonstalker/Makefile
index 73f6ec897259..0af8045b1672 100644
--- a/games/afternoonstalker/Makefile
+++ b/games/afternoonstalker/Makefile
@@ -6,15 +6,15 @@
#
PORTNAME= afternoonstalker
-PORTVERSION= 1.0.3
-PORTREVISION= 2
+PORTVERSION= 1.1.1
CATEGORIES= games
MASTER_SITES= http://www3.sympatico.ca/sarrazip/dev/
MAINTAINER= ports@FreeBSD.org
COMMENT= A clone of the 1981 Night Stalker video game
-LIB_DEPENDS= gengameng.4:${PORTSDIR}/devel/gengameng
+LIB_DEPENDS= gengameng.4:${PORTSDIR}/devel/gengameng \
+ flatzebra-0.1.2:${PORTSDIR}/devel/flatzebra
USE_SDL= mixer sdl
USE_GETOPT_LONG= yes
@@ -25,12 +25,13 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN6= afternoonstalker.6
+DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
+PORTDOCS= AUTHORS COPYING INSTALL NEWS README THANKS TODO
+
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
post-patch:
- ${REINPLACE_CMD} "s@SDL/@SDL11/@g" ${WRKSRC}/configure \
- ${WRKSRC}/src/SoundMixer.h
${REINPLACE_CMD} "s@sounds/..PACKAGE.@afternoonstalker/sounds@g" \
${WRKSRC}/src/Makefile.in
diff --git a/games/afternoonstalker/distinfo b/games/afternoonstalker/distinfo
index 5c4374a72615..c425c02d4570 100644
--- a/games/afternoonstalker/distinfo
+++ b/games/afternoonstalker/distinfo
@@ -1,2 +1,3 @@
-MD5 (afternoonstalker-1.0.3.tar.gz) = e554056cff26ef9e48f915ff76cf1ef3
-SIZE (afternoonstalker-1.0.3.tar.gz) = 177785
+MD5 (afternoonstalker-1.1.1.tar.gz) = 09a6c7204a38c621dacc6a858f5abb19
+SHA256 (afternoonstalker-1.1.1.tar.gz) = 7c0c2829968ec1673d798ec412cd65620a2856aefe92c1f7c2f8cac3fb0010ca
+SIZE (afternoonstalker-1.1.1.tar.gz) = 193895
diff --git a/games/afternoonstalker/files/patch-src__sdlmain.cpp b/games/afternoonstalker/files/patch-src__sdlmain.cpp
new file mode 100644
index 000000000000..12e58cd5cf69
--- /dev/null
+++ b/games/afternoonstalker/files/patch-src__sdlmain.cpp
@@ -0,0 +1,10 @@
+--- src/sdlmain.cpp.orig Tue Oct 18 13:24:24 2005
++++ src/sdlmain.cpp Tue Oct 18 13:25:35 2005
+@@ -27,6 +27,7 @@
+ #include <time.h>
+ #include <stdio.h>
+
++#undef HAVE_GETOPT_LONG
+ #ifdef HAVE_GETOPT_LONG
+ #include <getopt.h>
+ #endif
diff --git a/games/afternoonstalker/pkg-plist b/games/afternoonstalker/pkg-plist
index 3ced70907c63..ee4fb4652711 100644
--- a/games/afternoonstalker/pkg-plist
+++ b/games/afternoonstalker/pkg-plist
@@ -1,6 +1,8 @@
bin/afternoonstalker
share/afternoonstalker/level1.set
+share/afternoonstalker/level2.set
share/afternoonstalker/sounds/bat-killed.wav
+share/afternoonstalker/sounds/bomb-explodes.wav
share/afternoonstalker/sounds/gun-pickup.wav
share/afternoonstalker/sounds/new-life.wav
share/afternoonstalker/sounds/player-bullet.wav
@@ -9,5 +11,7 @@ share/afternoonstalker/sounds/robot-bullet.wav
share/afternoonstalker/sounds/robot-hit.wav
share/afternoonstalker/sounds/shooting-blanks.wav
share/afternoonstalker/sounds/spider-killed.wav
+share/pixmaps/afternoonstalker.png
+share/applications/afternoonstalker.desktop
@dirrm share/afternoonstalker/sounds
@dirrm share/afternoonstalker