mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
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
This commit is contained in:
parent
1ee9cd3694
commit
643ca56057
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69620
@ -165,6 +165,7 @@
|
||||
SUBDIR += ishido
|
||||
SUBDIR += jetpack
|
||||
SUBDIR += jfk
|
||||
SUBDIR += jumpnbump
|
||||
SUBDIR += jzip
|
||||
SUBDIR += kdegames3
|
||||
SUBDIR += klondike
|
||||
|
52
games/jumpnbump/Makefile
Normal file
52
games/jumpnbump/Makefile
Normal file
@ -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>
|
1
games/jumpnbump/distinfo
Normal file
1
games/jumpnbump/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (jumpnbump-1.40.tar.gz) = 2e57aae06b3d3534354f36dd888ad276
|
26
games/jumpnbump/files/patch-Makefile
Normal file
26
games/jumpnbump/files/patch-Makefile
Normal file
@ -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
|
9
games/jumpnbump/files/patch-jnbmenu.pre
Normal file
9
games/jumpnbump/files/patch-jnbmenu.pre
Normal file
@ -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
|
13
games/jumpnbump/files/patch-modify::Makefile
Normal file
13
games/jumpnbump/files/patch-modify::Makefile
Normal file
@ -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
|
13
games/jumpnbump/files/patch-sdl::Makefile
Normal file
13
games/jumpnbump/files/patch-sdl::Makefile
Normal file
@ -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
|
1
games/jumpnbump/pkg-comment
Normal file
1
games/jumpnbump/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A fun multiplayer game with cute fluffy bunnies and bloody explosions
|
15
games/jumpnbump/pkg-descr
Normal file
15
games/jumpnbump/pkg-descr
Normal file
@ -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
|
15
games/jumpnbump/pkg-plist
Normal file
15
games/jumpnbump/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user