import neverball

Tilt the floor to roll a ball through an obstacle course before time
runs out. Neverball is part puzzle game, part action game, and entirely
a test of skill.

Also found here is Neverputt, a hot-seat multiplayer miniature golf game
using the physics and graphics of Neverball.

feedback & ok ajacoutot@
This commit is contained in:
simon 2008-03-30 13:52:10 +00:00
parent ede1fbc0be
commit afd5e63cec
6 changed files with 1409 additions and 0 deletions

56
games/neverball/Makefile Normal file
View File

@ -0,0 +1,56 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/03/30 13:52:10 simon Exp $
COMMENT= tilt the floor to roll a ball through an obstacle course
V= 20080115
DISTNAME= neverball-$V
CATEGORIES= games
HOMEPAGE= http://icculus.org/neverball/
MASTER_SITES= http://openbsd.fi/distfiles/
MAINTAINER= Antti Harri <iku@openbsd.fi>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= GL SDL c m pthread z
LIB_DEPENDS= ogg::audio/libogg \
vorbis,vorbisfile::audio/libvorbis \
jpeg::graphics/jpeg \
png::graphics/png \
SDL_ttf::devel/sdl-ttf
MODULES= devel/gettext
USE_GMAKE= Yes
NO_REGRESS= Yes
MAKE_FLAGS= CPPFLAGS="-I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -logg -lvorbis" \
INTL_LIBS="-lintl -liconv"
pre-configure:
perl -pi -e 's,\./data,${PREFIX}/share/neverball/data,' \
${WRKSRC}/share/base_config.h
perl -pi -e 's,\./locale,${PREFIX}/share/locale,' \
${WRKSRC}/share/base_config.h
perl -pi -e 's,^version=".*",version=$V,' \
${WRKSRC}/scripts/version.sh
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} neverball neverputt ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/neverball \
${PREFIX}/share/doc/neverball
cd ${WRKSRC} && find data ! \( -name .svn -type d -prune \) -type f \
| pax -rw ${PREFIX}/share/neverball
cd ${WRKSRC} && find locale ! \( -name .svn -type d -prune \) -type f \
| pax -rw ${PREFIX}/share
cd ${WRKSRC} && ${INSTALL_DATA} COPYING README doc/AUTHORS doc/MANUAL \
${PREFIX}/share/doc/neverball
.include <bsd.port.mk>

5
games/neverball/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (neverball-20080115.tar.gz) = 0q98WI5lOLrMfgng+yTN9w==
RMD160 (neverball-20080115.tar.gz) = ojvVMME0v50oGlDe5QDcXPiktfg=
SHA1 (neverball-20080115.tar.gz) = WmHgO+LP+XHmEnqpZR10JEkHe40=
SHA256 (neverball-20080115.tar.gz) = 7qWX2LmAq/uAZVn+nNxNdIytcF55WyeCZd5WslT5S/g=
SIZE (neverball-20080115.tar.gz) = 41691118

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2008/03/30 13:52:10 simon Exp $
--- Makefile.orig Sat Mar 29 10:03:42 2008
+++ Makefile Sat Mar 29 10:03:49 2008
@@ -20,7 +20,7 @@ ifeq ($(ENABLE_WII),1)
CFLAGS := -O2
else
#CFLAGS := -Wall -g -ansi -pedantic
- CFLAGS := -Wall -O2 -ansi -pedantic
+ CFLAGS += -Wall -ansi -pedantic
endif
#------------------------------------------------------------------------------

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-share_sync_c,v 1.1.1.1 2008/03/30 13:52:10 simon Exp $
--- share/sync.c.orig Tue Jan 15 11:35:56 2008
+++ share/sync.c Tue Jan 15 11:37:44 2008
@@ -36,7 +36,7 @@ static int search(const char *haystack, const char *ne
#endif
/*---------------------------------------------------------------------------*/
-#ifdef __linux__
+#if defined (__linux__) || defined (__OpenBSD__)
#include <GL/glx.h>

View File

@ -0,0 +1,6 @@
Tilt the floor to roll a ball through an obstacle course before time
runs out. Neverball is part puzzle game, part action game, and entirely
a test of skill.
Also found here is Neverputt, a hot-seat multiplayer miniature golf game
using the physics and graphics of Neverball.

1318
games/neverball/pkg/PLIST Normal file

File diff suppressed because it is too large Load Diff