diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2002-11-07 00:31:24 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2002-11-07 00:31:24 +0000 |
commit | 643ca560579ceb8e72ed4760302bcfee4445bc43 (patch) | |
tree | bda93b94d837405182c7945791c6e24f41be9ca5 /games | |
parent | Update 1.5.1 -> 1.6.0 (diff) |
Add games/jumpnbump
A fun multiplayer game with cute fluffy bunnies, green grass,
and horrible bloody explosions.
PR: 43344
Submitted by: Gurkan Sengun <gurkan@linuks.mine.nu>
Approved by: pat
Notes
Notes:
svn path=/head/; revision=69620
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/jumpnbump/Makefile | 52 | ||||
-rw-r--r-- | games/jumpnbump/distinfo | 1 | ||||
-rw-r--r-- | games/jumpnbump/files/patch-Makefile | 26 | ||||
-rw-r--r-- | games/jumpnbump/files/patch-jnbmenu.pre | 9 | ||||
-rw-r--r-- | games/jumpnbump/files/patch-modify::Makefile | 13 | ||||
-rw-r--r-- | games/jumpnbump/files/patch-sdl::Makefile | 13 | ||||
-rw-r--r-- | games/jumpnbump/pkg-comment | 1 | ||||
-rw-r--r-- | games/jumpnbump/pkg-descr | 15 | ||||
-rw-r--r-- | games/jumpnbump/pkg-plist | 15 |
10 files changed, 146 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 1922208f3ec7..1d7e0784aa6e 100644 --- a/games/Makefile +++ b/games/Makefile @@ -165,6 +165,7 @@ SUBDIR += ishido SUBDIR += jetpack SUBDIR += jfk + SUBDIR += jumpnbump SUBDIR += jzip SUBDIR += kdegames3 SUBDIR += klondike diff --git a/games/jumpnbump/Makefile b/games/jumpnbump/Makefile new file mode 100644 index 000000000000..e801064625e2 --- /dev/null +++ b/games/jumpnbump/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: jumpnbump +# Date created: 23 September 2002 +# Whom: Alessandro Gatti <a.gatti@tiscali.it> +# +# $FreeBSD$ +# + +PORTNAME= jumpnbump +PORTVERSION= 1.40 +CATEGORIES= games +MASTER_SITES= http://www.jumpbump.mine.nu/port/ \ + http://www.vlaadworld.net/jumpnbump/ \ + http://jumpnbump.linuxsys.de/ + +MAINTAINER= gurkan@linuks.mine.nu + +LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 \ + SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer + +.if !defined (WITHOUT_TCL) +RUN_DEPENDS+= wish8.0:${PORTSDIR}/x11-toolkits/tk80 +PLIST_SUB += WITH_TCL="@comment " +.endif + +MAN6= jumpnbump.6 + +.if !defined (WITHOUT_TCL) +pre-everything: + @${ECHO_MSG} "Define WITHOUT_TCL to disable the X11 frontend." +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/jumpnbump ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/gobpack ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/jnbpack ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/jnbunpack ${PREFIX}/bin/ + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/data/jumpbump.dat ${DATADIR}/ +.if !defined(WITHOUT_TCL) + ${INSTALL_SCRIPT} ${WRKSRC}/jnbmenu.tcl ${PREFIX}/bin/jnbmenu +.endif +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/jumpnbump.6 ${MANPREFIX}/man/man6/ + ${INSTALL_MAN} ${WRKSRC}/jumpnbump.html ${DOCSDIR} +.for i in jumpnbump_levelmaking.htm level.pcx making1.gif making2.gif \ + making3.gif pack.gif + ${INSTALL_MAN} ${WRKSRC}/levelmaking/$i ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/games/jumpnbump/distinfo b/games/jumpnbump/distinfo new file mode 100644 index 000000000000..7b677628d4af --- /dev/null +++ b/games/jumpnbump/distinfo @@ -0,0 +1 @@ +MD5 (jumpnbump-1.40.tar.gz) = 2e57aae06b3d3534354f36dd888ad276 diff --git a/games/jumpnbump/files/patch-Makefile b/games/jumpnbump/files/patch-Makefile new file mode 100644 index 000000000000..50e9b91f0cdb --- /dev/null +++ b/games/jumpnbump/files/patch-Makefile @@ -0,0 +1,26 @@ +--- Makefile.orig Sun Sep 22 12:03:26 2002 ++++ Makefile Mon Nov 4 21:28:25 2002 +@@ -1,8 +1,8 @@ +-SDL_CFLAGS = `sdl-config --cflags` +-SDL_LIBS = `sdl-config --libs` +-CFLAGS = -Wall -O2 -ffast-math -funroll-loops -Dstricmp=strcasecmp \ +- -Dstrnicmp=strncasecmp -DUSE_SDL -DNDEBUG -I. $(SDL_CFLAGS) -DUSE_NET +-LIBS = -lm $(SDL_LIBS) -lSDL_mixer -lSDL_net ++SDL_CFLAGS = `sdl11-config --cflags` ++SDL_LIBS = `sdl11-config --libs` ++CFLAGS += -Wall -ffast-math -funroll-loops -Dstricmp=strcasecmp \ ++ -Dstrnicmp=strncasecmp -DUSE_SDL -DNDEBUG -I. $(SDL_CFLAGS) ++LIBS += -lm $(SDL_LIBS) -lSDL_mixer + SDL_TARGET = sdl.a + MODIFY_TARGET = gobpack jnbpack jnbunpack + OBJS = fireworks.o main.o menu.o +@@ -30,7 +30,8 @@ + sed -e "s#%%PREFIX%%#$(PREFIX)#g" < globals.pre > globals.h + + jnbmenu.tcl: jnbmenu.pre +- sed -e "s#%%PREFIX%%#$(PREFIX)#g" < jnbmenu.pre > jnbmenu.tcl ++ sed -e "s#%%PREFIX%%#$(PREFIX)#g; \ ++ s#%%LOCALBASE%%#${LOCALBASE}#g" < jnbmenu.pre > jnbmenu.tcl + + data: jnbpack + cd data && make diff --git a/games/jumpnbump/files/patch-jnbmenu.pre b/games/jumpnbump/files/patch-jnbmenu.pre new file mode 100644 index 000000000000..6e21a3c2a07a --- /dev/null +++ b/games/jumpnbump/files/patch-jnbmenu.pre @@ -0,0 +1,9 @@ +--- jnbmenu.pre.orig Tue Oct 22 20:14:28 2002 ++++ jnbmenu.pre Tue Oct 22 20:14:45 2002 +@@ -1,5 +1,4 @@ +-#!/usr/bin/wish +-#!/usr/bin/wish8.0 ++#!%%LOCALBASE%%/bin/wish8.0 + ############################################################################# + # Visual Tcl v1.20 Project + # Author : Philippe Brochard diff --git a/games/jumpnbump/files/patch-modify::Makefile b/games/jumpnbump/files/patch-modify::Makefile new file mode 100644 index 000000000000..43b74d512573 --- /dev/null +++ b/games/jumpnbump/files/patch-modify::Makefile @@ -0,0 +1,13 @@ +--- modify/Makefile.orig Sun Sep 22 21:03:26 2002 ++++ modify/Makefile Tue Oct 22 19:33:49 2002 +@@ -1,8 +1,8 @@ +-CFLAGS = -Wall -ansi -pedantic -O2 -ffast-math -funroll-loops \ ++CFLAGS += -Wall -ansi -pedantic -ffast-math -funroll-loops \ + -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNDEBUG \ +- -I. -I.. -DUSE_NET +-LIBS = -lm ++ -I. -I.. ++LIBS += -lm + SRCS = gobpack.c jnbpack.c jnbunpack.c + OBJS = gobpack.o jnbpack.o jnbunpack.o + TARGETS = ../gobpack ../jnbpack ../jnbunpack diff --git a/games/jumpnbump/files/patch-sdl::Makefile b/games/jumpnbump/files/patch-sdl::Makefile new file mode 100644 index 000000000000..20c05c45793c --- /dev/null +++ b/games/jumpnbump/files/patch-sdl::Makefile @@ -0,0 +1,13 @@ +--- sdl/Makefile.orig Sun Sep 22 21:03:26 2002 ++++ sdl/Makefile Tue Oct 22 19:35:05 2002 +@@ -1,8 +1,8 @@ +-SDL_CFLAGS = `sdl-config --cflags` +-CFLAGS = -Wall -ansi -pedantic -O2 -ffast-math -funroll-loops \ ++SDL_CFLAGS = `sdl11-config --cflags` ++CFLAGS += -Wall -ansi -pedantic -ffast-math -funroll-loops \ + -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNDEBUG \ +- -I. -I.. $(SDL_CFLAGS) -DUSE_SDL -DUSE_NET ++ -I. -I.. $(SDL_CFLAGS) -DUSE_SDL + + OBJS = gfx.o interrpt.o sound.o input.o + TARGET = ../sdl.a diff --git a/games/jumpnbump/pkg-comment b/games/jumpnbump/pkg-comment new file mode 100644 index 000000000000..5107a73ee2ef --- /dev/null +++ b/games/jumpnbump/pkg-comment @@ -0,0 +1 @@ +A fun multiplayer game with cute fluffy bunnies and bloody explosions diff --git a/games/jumpnbump/pkg-descr b/games/jumpnbump/pkg-descr new file mode 100644 index 000000000000..eebff4d16750 --- /dev/null +++ b/games/jumpnbump/pkg-descr @@ -0,0 +1,15 @@ +This is a port of a multiplayer-only DOS game where the players are bunnies, +and the goal is to jump on the other bunnies, destroying them in a bloody +explosion. This game also has a screensaver mode, which is a parody of the +classic xscreensaver pyro hack, except that bunnies explode instead of +fireworks. + +Network support is currently broken, but the authors threaten to fix it +in a future release. + +Hundreds of alternate levels are available on the website. + +WWW: http://www.jumpbump.mine.nu/ + +- Gurkan +gurkan@linuks.mine.nu diff --git a/games/jumpnbump/pkg-plist b/games/jumpnbump/pkg-plist new file mode 100644 index 000000000000..6645503e70ef --- /dev/null +++ b/games/jumpnbump/pkg-plist @@ -0,0 +1,15 @@ +bin/jumpnbump +bin/gobpack +bin/jnbpack +bin/jnbunpack +share/jumpnbump/jumpbump.dat +%%WITH_TCL%%bin/jnbmenu +%%PORTDOCS%%share/doc/jumpnbump/jumpnbump.html +%%PORTDOCS%%share/doc/jumpnbump/jumpnbump_levelmaking.htm +%%PORTDOCS%%share/doc/jumpnbump/level.pcx +%%PORTDOCS%%share/doc/jumpnbump/making1.gif +%%PORTDOCS%%share/doc/jumpnbump/making2.gif +%%PORTDOCS%%share/doc/jumpnbump/making3.gif +%%PORTDOCS%%share/doc/jumpnbump/pack.gif +@dirrm share/jumpnbump +@dirrm share/doc/jumpnbump |