Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2006 13:37:57 +0300 (MSK)
From:      Igor Pokrovsky <ip@doom.homeunix.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/92195: New port: games/gillo Players are cars throwing a magnetic fuzzy ball into a goal
Message-ID:  <200601231037.k0NAbvJ0016487@doom.homeunix.org>
Resent-Message-ID: <200601231050.k0NAo2B5084754@freefall.freebsd.org>

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

>Number:         92195
>Category:       ports
>Synopsis:       New port: games/gillo Players are cars throwing a magnetic fuzzy ball into a goal
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 23 10:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Igor Pokrovsky
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 4.11-STABLE FreeBSD 4.11-STABLE #0: Thu Dec 15 07:51:52 MSK 2005 root@doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL-p3 i386


	
>Description:
Two player game in a 3D ellipsoid playground. Players are cars with a
magnetic director, able to attract or reject a ball in order to throw
it through a goal placed in the center of the playing field. It sounds
easy... but remember that reality is fuzzy!

WWW:	http://sourceforge.net/projects/gillo
	
>How-To-Repeat:
	
>Fix:

	

--- gillo.shar begins here ---
# 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:
#
#	gillo
#	gillo/pkg-plist
#	gillo/pkg-descr
#	gillo/distinfo
#	gillo/Makefile
#	gillo/files
#	gillo/files/patch-Jamfile
#	gillo/files/patch-Jamrules
#	gillo/files/patch-src_Jamfile
#
echo c - gillo
mkdir -p gillo > /dev/null 2>&1
echo x - gillo/pkg-plist
sed 's/^X//' >gillo/pkg-plist << 'END-of-gillo/pkg-plist'
Xbin/gillo3
X%%DATADIR%%/attract.rgb
X%%DATADIR%%/balleffectblue.rgb
X%%DATADIR%%/balleffectred.rgb
X%%DATADIR%%/boing.wav
X%%DATADIR%%/car_1.ac
X%%DATADIR%%/car_texture_1.rgb
X%%DATADIR%%/cv_arr_left.rgb
X%%DATADIR%%/cv_arr_right.rgb
X%%DATADIR%%/cv_back.rgb
X%%DATADIR%%/cv_four_pic.rgb
X%%DATADIR%%/cv_four_pic_2.rgb
X%%DATADIR%%/cv_four_text.rgb
X%%DATADIR%%/cv_ok.rgb
X%%DATADIR%%/cv_omni_pic.rgb
X%%DATADIR%%/cv_omni_pic_2.rgb
X%%DATADIR%%/cv_omni_text.rgb
X%%DATADIR%%/end.wav
X%%DATADIR%%/endtie.wav
X%%DATADIR%%/field.ac
X%%DATADIR%%/field.rgb
X%%DATADIR%%/field_out.ac
X%%DATADIR%%/fourcar_choice.rgb
X%%DATADIR%%/game1.mod
X%%DATADIR%%/gillo.rgb
X%%DATADIR%%/goal.bmp
X%%DATADIR%%/goal.wav
X%%DATADIR%%/goal_area.rgb
X%%DATADIR%%/goal_center.rgb
X%%DATADIR%%/goalbluesplash.rgb
X%%DATADIR%%/goalkeeper.rgb
X%%DATADIR%%/goalkeeperfur.rgb
X%%DATADIR%%/goalredsplash.rgb
X%%DATADIR%%/menu.mod
X%%DATADIR%%/menu.rgb
X%%DATADIR%%/menusel.rgb
X%%DATADIR%%/menusel.wav
X%%DATADIR%%/oddball.rgb
X%%DATADIR%%/omnicar_1.ac
X%%DATADIR%%/omnicar_2.ac
X%%DATADIR%%/omnicar_choice.rgb
X%%DATADIR%%/omnicar_texture_1.rgb
X%%DATADIR%%/omnicar_texture_2.rgb
X%%DATADIR%%/overlay.rgb
X%%DATADIR%%/p1winssplash.rgb
X%%DATADIR%%/p2winssplash.rgb
X%%DATADIR%%/paritysplash.rgb
X%%DATADIR%%/pbadd.rgb
X%%DATADIR%%/pbadd.wav
X%%DATADIR%%/pbdeflate.wav
X%%DATADIR%%/pbinflate.rgb
X%%DATADIR%%/pbinflate.wav
X%%DATADIR%%/pcinvert.rgb
X%%DATADIR%%/pginvert.wav
X%%DATADIR%%/pgrotator.rgb
X%%DATADIR%%/pgrotator.wav
X%%DATADIR%%/picker.ac
X%%DATADIR%%/picker_texture.rgb
X%%DATADIR%%/possessioncursor.rgb
X%%DATADIR%%/powershoot.wav
X%%DATADIR%%/pwrup.rgb
X%%DATADIR%%/pwrupnew.wav
X%%DATADIR%%/repulse.rgb
X%%DATADIR%%/scorebarblue.rgb
X%%DATADIR%%/scorebarred.rgb
X%%DATADIR%%/tiegoal.wav
X%%DATADIR%%/tiegoalsplash.rgb
X%%DATADIR%%/timer.rgb
X%%DATADIR%%/timerbar.rgb
X%%DATADIR%%/training.mod
X%%DATADIR%%/wheelstripes.rgb
X%%DATADIR%%/zzap.wav
X@dirrm %%DATADIR%%
END-of-gillo/pkg-plist
echo x - gillo/pkg-descr
sed 's/^X//' >gillo/pkg-descr << 'END-of-gillo/pkg-descr'
XTwo player game in a 3D ellipsoid playground. Players are cars with a
Xmagnetic director, able to attract or reject a ball in order to throw
Xit through a goal placed in the center of the playing field. It sounds
Xeasy... but remember that reality is fuzzy!
X
XWWW:	http://sourceforge.net/projects/gillo
END-of-gillo/pkg-descr
echo x - gillo/distinfo
sed 's/^X//' >gillo/distinfo << 'END-of-gillo/distinfo'
XMD5 (gillo-1.0beta1-src.tar.bz2) = 46a90dfac61fe608b63454d811f4a202
XSHA256 (gillo-1.0beta1-src.tar.bz2) = fc2d0d7b3f1a05e9b84a3647e4300a632a9b35edfe869fabb92449e209fa4376
XSIZE (gillo-1.0beta1-src.tar.bz2) = 4819095
END-of-gillo/distinfo
echo x - gillo/Makefile
sed 's/^X//' >gillo/Makefile << 'END-of-gillo/Makefile'
X# New ports collection makefile for: gillo
X# Date created:		23 Jan 2006
X# Whom:			Igor Pokrovsky <ip@doom.homeunix.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gillo
XPORTVERSION=	1.0b1
XCATEGORIES=	games
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	${PORTNAME}-1.0beta1-src
X
XMAINTAINER=	ip@doom.homeunix.org
XCOMMENT=	Players are cars throwing a magnetic fuzzy ball into a goal
X
XBUILD_DEPENDS=	${JAM}:${PORTSDIR}/devel/jam \
X		${X11BASE}/lib/libode.a:${PORTSDIR}/devel/ode \
X		${X11BASE}/lib/libplibsg.a:${PORTSDIR}/x11-toolkits/plib
X
XUSE_BZIP2=	yes
XUSE_GL=		yes
XUSE_SDL=	yes
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
XJAM?=		${LOCALBASE}/bin/jam
X
Xpost-patch:
X	@${REINPLACE_CMD} -i '' -e 's|SDL/||g' ${WRKSRC}/src/*
X	@${REINPLACE_CMD} -e 's|%%SDL_CFLAGS%%|`${SDL_CONFIG} --cflags`|' \
X		${WRKSRC}/Jamrules
X	@${REINPLACE_CMD} -e 's|%%SDL_LDFLAGS%%|`${SDL_CONFIG} --libs`|' \
X		${WRKSRC}/src/Jamfile
X
Xdo-build:
X	cd ${WRKSRC} && ${SETENV} "C++=${CC}" "X11BASE=${X11BASE}" \
X		"CFLAGS=${CFLAGS} -DDATADIR=\\\"${PREFIX}/share\\\"" \
X	${JAM} -dx -sPREFIX=${PREFIX}
X
Xdo-install:
X	cd ${WRKSRC} && ${JAM} -dx -sPREFIX=${PREFIX} install
X
X.include <bsd.port.mk>
END-of-gillo/Makefile
echo c - gillo/files
mkdir -p gillo/files > /dev/null 2>&1
echo x - gillo/files/patch-Jamfile
sed 's/^X//' >gillo/files/patch-Jamfile << 'END-of-gillo/files/patch-Jamfile'
X--- Jamfile.orig
X+++ Jamfile
X@@ -2,5 +2,3 @@
X 
X SubInclude TOP src ;
X SubInclude TOP data ;
X-
X-InstallFile $(DOCDIR) : README AUTHORS COPYING ;
END-of-gillo/files/patch-Jamfile
echo x - gillo/files/patch-Jamrules
sed 's/^X//' >gillo/files/patch-Jamrules << 'END-of-gillo/files/patch-Jamrules'
X--- Jamrules.orig
X+++ Jamrules
X@@ -5,8 +5,9 @@
X DATADIR = $(PREFIX)/share/gillo ; 
X DOCDIR  = $(PREFIX)/share/doc/gillo ; 
X 
X-CCFLAGS  += -DENABLE_BINRELOC ;
X-if $(DEBUG) { CCFLAGS += -g -O0 -DDEBUG ; }
X-else CCFLAGS += -O3 ;
X+CCFLAGS  += $(CFLAGS) %%SDL_CFLAGS%% ;
X+HDRS = $(X11BASE)/include ;
X+#if $(DEBUG) { CCFLAGS += -g -O0 -DDEBUG ; }
X+#else CCFLAGS += -O3 ;
X C++FLAGS += $(CCFLAGS) ;
X #LINKFLAGS += -static ;
END-of-gillo/files/patch-Jamrules
echo x - gillo/files/patch-src_Jamfile
sed 's/^X//' >gillo/files/patch-src_Jamfile << 'END-of-gillo/files/patch-src_Jamfile'
X--- src/Jamfile.orig
X+++ src/Jamfile
X@@ -2,6 +2,6 @@
X 
X Main gillo3 : camera.cpp cameraball.cpp cameratrack.cpp car.cpp context.cpp cube.cpp entity.cpp event.cpp field.cpp game.cpp goal.cpp goalkeeper.cpp img.cpp main.cpp menu.cpp omnicar.cpp overlay.cpp player.cpp pwrup.cpp rect.cpp simpleball.cpp sound.cpp video.cpp viewport.cpp prefix.c iballpicker.cpp ;
X 
X-LINKLIBS on gillo3 =  -lpthread -lGL -lGLU -lSDL -lode -lplibssgaux -lplibssg -lplibsg -lplibul -lplibsl ;
X+LINKLIBS on gillo3 =  -lGL -lGLU -lode -lplibssgaux -lplibssg -lplibsg -lplibul -lplibsl -L$(X11BASE)/lib %%SDL_LDFLAGS%% ;
X 
X InstallBin $(BINDIR) : gillo3$(SUFEXE) ;
END-of-gillo/files/patch-src_Jamfile
exit
--- gillo.shar ends here ---


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



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