Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2002 21:26:26 +0200 (CEST)
From:      Thierry Thomas <thierry@pompo.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41693: New port: games/pinball - an OpenGL pinball game
Message-ID:  <20020815192626.55F027600@graf.pompo.net>

next in thread | raw e-mail | index | archive | help

>Number:         41693
>Category:       ports
>Synopsis:       New port: games/pinball - an OpenGL pinball game
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 15 12:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Sat Jul 27 17:13:53 CEST 2002 root@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386


	
>Description:
	It is still an alpha version, but now FreeBSD can really compete
	with Windows ;-)

>How-To-Repeat:
	N/A.

>Fix:

	Execute the following shar file:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/games/pinball
#	/usr/ports/games/pinball/files
#	/usr/ports/games/pinball/files/patch-base_Private.h
#	/usr/ports/games/pinball/files/patch-test_load.cpp
#	/usr/ports/games/pinball/files/patch-configure
#	/usr/ports/games/pinball/files/patch-README
#	/usr/ports/games/pinball/distinfo
#	/usr/ports/games/pinball/pkg-message
#	/usr/ports/games/pinball/pkg-descr
#	/usr/ports/games/pinball/pkg-comment
#	/usr/ports/games/pinball/Makefile
#	/usr/ports/games/pinball/pkg-plist
#
echo c - /usr/ports/games/pinball
mkdir -p /usr/ports/games/pinball > /dev/null 2>&1
echo c - /usr/ports/games/pinball/files
mkdir -p /usr/ports/games/pinball/files > /dev/null 2>&1
echo x - /usr/ports/games/pinball/files/patch-base_Private.h
sed 's/^X//' >/usr/ports/games/pinball/files/patch-base_Private.h << 'END-of-/usr/ports/games/pinball/files/patch-base_Private.h'
X--- base/Private.h.orig	Mon May 20 10:07:10 2002
X+++ base/Private.h	Wed Aug 14 00:02:47 2002
X@@ -20,10 +20,10 @@
X #include <GL/glx.h>
X #include <GL/glut.h>
X 
X-#include <SDL/SDL.h>
X+#include <SDL.h>
X #if EM_THREADS
X #warning using sdl threads
X-#include <SDL/SDL_thread.h>
X+#include <SDL_thread.h>
X #endif
X 
X #ifdef HAVE_CONFIG_H
END-of-/usr/ports/games/pinball/files/patch-base_Private.h
echo x - /usr/ports/games/pinball/files/patch-test_load.cpp
sed 's/^X//' >/usr/ports/games/pinball/files/patch-test_load.cpp << 'END-of-/usr/ports/games/pinball/files/patch-test_load.cpp'
X--- ./test/load.cpp.orig	Tue Apr 23 11:35:01 2002
X+++ ./test/load.cpp	Wed Aug 14 00:04:14 2002
X@@ -10,7 +10,7 @@
X #include "KeyRotBehavior.h"
X #include "Keyboard.h"
X #include "Shape3DUtil.h"
X-#include "SDL/SDL.h"
X+#include "SDL.h"
X 
X /** Main */
X int main(int argc, char *argv[]) {
END-of-/usr/ports/games/pinball/files/patch-test_load.cpp
echo x - /usr/ports/games/pinball/files/patch-configure
sed 's/^X//' >/usr/ports/games/pinball/files/patch-configure << 'END-of-/usr/ports/games/pinball/files/patch-configure'
X--- configure.orig	Thu Jun 13 16:33:08 2002
X+++ configure	Wed Aug 14 00:25:01 2002
X@@ -532,8 +532,8 @@
X 
X 
X 
X-CFLAGS="-O2"
X-CXXFLAGS="-O2"
X+#CFLAGS="-O2"
X+#CXXFLAGS="-O2"
X 
X 
X 
END-of-/usr/ports/games/pinball/files/patch-configure
echo x - /usr/ports/games/pinball/files/patch-README
sed 's/^X//' >/usr/ports/games/pinball/files/patch-README << 'END-of-/usr/ports/games/pinball/files/patch-README'
X--- README.orig	Thu May 23 14:42:29 2002
X+++ README	Wed Aug 14 00:55:30 2002
X@@ -6,26 +6,17 @@
X Installing and Running
X ======================
X 
X-TAR.GZ
X-------
X-Install with the usual:
X-configure
X+Port
X+----
X+Installed with the usual:
X make 
X make install
X 
X The make install step has to be performed as root user. The default
X-locatation of the game is /usr/local/bin and /usr/local/share/pinball
X-for the data files. The game is started with 'pinball'. You may leave 
X-out the 'make install' but in such case you must start the game from the
X-game directory by typing './src/pinball -data data'.
X+locatation of the game is /usr/X11R6/bin and /usr/X11R6/share/pinball
X+for the data files. The game is started with 'pinball'.
X 
X-To save some space you can do a 'make clean' after installation (only
X-works if you do the 'make install'.
X-
X-RPM
X----
X-
X-rpm -U pinball-0.x.x-x.rpm       as root.
X+To save some space you can do a 'make clean' after installation.
X 
X Keys
X ====
END-of-/usr/ports/games/pinball/files/patch-README
echo x - /usr/ports/games/pinball/distinfo
sed 's/^X//' >/usr/ports/games/pinball/distinfo << 'END-of-/usr/ports/games/pinball/distinfo'
XMD5 (pinball-0.0.7.tar.gz) = a7c9e89a2b0214ee16bbbb0df1f769bd
END-of-/usr/ports/games/pinball/distinfo
echo x - /usr/ports/games/pinball/pkg-message
sed 's/^X//' >/usr/ports/games/pinball/pkg-message << 'END-of-/usr/ports/games/pinball/pkg-message'
X*****************************************************************************
X
X pinball has been installed in %%PREFIX%%/bin.
X
X Remark: if run under KDE/artsd, launch it as
X         `artsdsp pinball' (else you'll get /dev/dsp is busy!).
X
X*****************************************************************************
END-of-/usr/ports/games/pinball/pkg-message
echo x - /usr/ports/games/pinball/pkg-descr
sed 's/^X//' >/usr/ports/games/pinball/pkg-descr << 'END-of-/usr/ports/games/pinball/pkg-descr'
XEmilia Pinball is a free OpenGL pinball game.
X
XWWW: http://pinball.sourceforge.net/
END-of-/usr/ports/games/pinball/pkg-descr
echo x - /usr/ports/games/pinball/pkg-comment
sed 's/^X//' >/usr/ports/games/pinball/pkg-comment << 'END-of-/usr/ports/games/pinball/pkg-comment'
XEmilia Pinball is a free OpenGL pinball game
END-of-/usr/ports/games/pinball/pkg-comment
echo x - /usr/ports/games/pinball/Makefile
sed 's/^X//' >/usr/ports/games/pinball/Makefile << 'END-of-/usr/ports/games/pinball/Makefile'
X# New ports collection makefile for:	pinball
X# Date created:		Tue 13 aug 2002 22:46:02 CEST
X# Whom:			thierry@pompo.net
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pinball
XPORTVERSION=	0.0.7
XCATEGORIES=	games
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	thierry@pompo.net
X
XBUILD_DEPENDS=	${SDL_CONFIG}:${PORTSDIR}/devel/sdl12
XLIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png	\
X		SDL-1.1.4:${PORTSDIR}/devel/sdl12
X
XUSE_X_PREFIX=	yes
XHAS_CONFIGURE=	yes
XUSE_MESA=	yes
X
XCONFIGURE_ARGS=	--prefix=${PREFIX}
XCONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
X		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib" \
X		SDL_CONFIG="${SDL_CONFIG}"
XSDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
X
XDOCS=		README
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for FILE in ${DOCS}
X	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
X.endfor
X	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
X.endif
X	@${ECHO_MSG}
X	@${CAT} ${PKGMESSAGE} | ${SED} -e "s:%%PREFIX%%:${PREFIX}:g"
X	@${ECHO_MSG}
X
X.include <bsd.port.mk>
END-of-/usr/ports/games/pinball/Makefile
echo x - /usr/ports/games/pinball/pkg-plist
sed 's/^X//' >/usr/ports/games/pinball/pkg-plist << 'END-of-/usr/ports/games/pinball/pkg-plist'
Xbin/pinball
X%%PORTDOCS%%share/doc/pinball/README
Xshare/pinball/arm_le_co.emi
Xshare/pinball/flip.wav
Xshare/pinball/grid.emi
Xshare/pinball/arm_le.emi
Xshare/pinball/grid_long.emi
Xshare/pinball/arm_ri_co.emi
Xshare/pinball/floor2.png
Xshare/pinball/grid_tex_co.emi
Xshare/pinball/arm_ri.emi
Xshare/pinball/floor.emi
Xshare/pinball/grid_tex.emi
Xshare/pinball/tablestd.emi
Xshare/pinball/ball_co.emi
Xshare/pinball/floor.jpg
Xshare/pinball/head_co.emi
Xshare/pinball/tbltruck_co.emi
Xshare/pinball/bumper_co.emi
Xshare/pinball/flush.wav
Xshare/pinball/head.emi
Xshare/pinball/bumper.emi
Xshare/pinball/linux.png
Xshare/pinball/tbltruck.emi
Xshare/pinball/bumper_sh.emi
Xshare/pinball/lock.wav
Xshare/pinball/tbltruck_lo.emi
Xshare/pinball/bump.wav
Xshare/pinball/tbltruck_vi.emi
Xshare/pinball/font_34.png
Xshare/pinball/tiles.png
Xshare/pinball/evil.wav
Xshare/pinball/formats.txt
Xshare/pinball/topgrid.emi
Xshare/pinball/fart.wav
Xshare/pinball/nudge.wav
Xshare/pinball/fjong.wav
Xshare/pinball/grid_big.emi
Xshare/pinball/pinballnew.pbl
X%%PORTDOCS%%@dirrm share/doc/pinball
X@dirrm share/pinball
END-of-/usr/ports/games/pinball/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020815192626.55F027600>