ports/113693: [NEW PORT] games/windstille: Classic 2d jump-n-shoot game

Dmitry Marakasov amdmi3 at amdmi3.ru
Thu Jun 14 20:30:03 UTC 2007


>Number:         113693
>Category:       ports
>Synopsis:       [NEW PORT] games/windstille: Classic 2d jump-n-shoot game
>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:   Thu Jun 14 20:30:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE-p12 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Tue Jan 16 23:12:21 MSK 2007 amdmi3 at hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
In Windstille the player will be placed in a foreign alien world
and has to find its way back into safety. Special focus will be on
getting the foreign world and the players character itself believable.
Exploration will be more needed than plain shoot action, even so
the players-character will be equipped with a multifunctional
war-suit, so he will be far from defenseless. The game will have
slow placed explore and seak sequences as well as more rough section
that will feature fast shoot and jump action. The game world should
be presented in a consistent state, enemies once destroyed should
not respawn automatically. The player is free to go forward and
backward in the world as long as the level design allows it.

WWW: http://windstille.berlios.de
>How-To-Repeat:
>Fix:

--- windstille-0.3.0.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:
#
#	windstille
#	windstille/Makefile
#	windstille/pkg-descr
#	windstille/pkg-plist
#	windstille/distinfo
#	windstille/files
#	windstille/files/patch-SConstruct
#	windstille/files/patch-lib-SConscript
#	windstille/files/patch-src-SConstruct
#	windstille/files/patch-src-tinygettext-tinygettext.cpp
#	windstille/files/patch-tools-SConscript
#
echo c - windstille
mkdir -p windstille > /dev/null 2>&1
echo x - windstille/Makefile
sed 's/^X//' >windstille/Makefile << 'END-of-windstille/Makefile'
X# New ports collection makefile for:	windstille
X# Date created:		14 Jun 2007
X# Whom:			Dmitry Marakasov <amdmi3 at amdmi3.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	windstille
XPORTVERSION=	0.3.0
XCATEGORIES=	games
XMASTER_SITES=	${MASTER_SITE_BERLIOS}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	amdmi3 at amdmi3.ru
XCOMMENT=	Classic 2D jump-n-shoot game
X
XLIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
X		physfs-1.0.1:${PORTSDIR}/devel/physfs \
X		ogg.5:${PORTSDIR}/audio/libogg \
X		vorbis.3:${PORTSDIR}/audio/libvorbis \
X		png.5:${PORTSDIR}/graphics/png
X
XUSE_BZIP2=	yes
XUSE_SCONS=	yes
XUSE_GL=		yes
XUSE_SDL=	sdl image
XUSE_BISON=	yes
X
Xpost-patch:
X.for f in particles/deform_drawer.cpp windstille_main.cpp objects/shockwave.cpp
X	@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/src/${f}
X.endfor
X	@${REINPLACE_CMD} -e 's|PHYSFS_getBaseDir()|""|' ${WRKSRC}/src/windstille_main.cpp
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/windstille ${PREFIX}/bin
X	${MKDIR} ${DATADIR}
X	@(cd ${WRKSRC}/data && ${COPYTREE_SHARE} \* ${DATADIR})
X
X.include <bsd.port.mk>
END-of-windstille/Makefile
echo x - windstille/pkg-descr
sed 's/^X//' >windstille/pkg-descr << 'END-of-windstille/pkg-descr'
XIn Windstille the player will be placed in a foreign alien world
Xand has to find its way back into safety. Special focus will be on
Xgetting the foreign world and the players character itself believable.
XExploration will be more needed than plain shoot action, even so
Xthe players-character will be equipped with a multifunctional
Xwar-suit, so he will be far from defenseless. The game will have
Xslow placed explore and seak sequences as well as more rough section
Xthat will feature fast shoot and jump action. The game world should
Xbe presented in a consistent state, enemies once destroyed should
Xnot respawn automatically. The player is free to go forward and
Xbackward in the world as long as the level design allows it.
X
XWWW: http://windstille.berlios.de
END-of-windstille/pkg-descr
echo x - windstille/pkg-plist
sed 's/^X//' >windstille/pkg-plist << 'END-of-windstille/pkg-plist'
Xbin/windstille
X%%DATADIR%%/Jamfile
X%%DATADIR%%/addcolor.scm
X%%DATADIR%%/controller/gamepad.scm
X%%DATADIR%%/controller/gamepad2.scm
X%%DATADIR%%/controller/keyboard.scm
X%%DATADIR%%/coroutine.rb
X%%DATADIR%%/fonts/COPYRIGHT.TXT
X%%DATADIR%%/fonts/Vera.ttf
X%%DATADIR%%/fonts/VeraMoBd.ttf
X%%DATADIR%%/fonts/VeraMono.ttf
X%%DATADIR%%/game.rb
X%%DATADIR%%/game.scm
X%%DATADIR%%/helper.scm
X%%DATADIR%%/images/.cvsignore
X%%DATADIR%%/images/404.png
X%%DATADIR%%/images/arrow.png
X%%DATADIR%%/images/arrow.sprite
X%%DATADIR%%/images/black.png
X%%DATADIR%%/images/bomb.png
X%%DATADIR%%/images/bomb1.png
X%%DATADIR%%/images/bombhighlight.png
X%%DATADIR%%/images/bomblight.png
X%%DATADIR%%/images/caustic/01.png
X%%DATADIR%%/images/caustic/02.png
X%%DATADIR%%/images/caustic/03.png
X%%DATADIR%%/images/caustic/04.png
X%%DATADIR%%/images/caustic/05.png
X%%DATADIR%%/images/caustic/06.png
X%%DATADIR%%/images/caustic/07.png
X%%DATADIR%%/images/caustic/08.png
X%%DATADIR%%/images/caustic/09.png
X%%DATADIR%%/images/caustic/10.png
X%%DATADIR%%/images/caustic/11.png
X%%DATADIR%%/images/caustic/12.png
X%%DATADIR%%/images/caustic/13.png
X%%DATADIR%%/images/caustic/14.png
X%%DATADIR%%/images/caustic/15.png
X%%DATADIR%%/images/caustic/16.png
X%%DATADIR%%/images/caustic/17.png
X%%DATADIR%%/images/caustic/18.png
X%%DATADIR%%/images/caustic/19.png
X%%DATADIR%%/images/caustic/20.png
X%%DATADIR%%/images/caustic/21.png
X%%DATADIR%%/images/caustic/22.png
X%%DATADIR%%/images/caustic/23.png
X%%DATADIR%%/images/caustic/24.png
X%%DATADIR%%/images/caustic/25.png
X%%DATADIR%%/images/caustic/26.png
X%%DATADIR%%/images/caustic/27.png
X%%DATADIR%%/images/caustic/28.png
X%%DATADIR%%/images/caustic/29.png
X%%DATADIR%%/images/caustic/30.png
X%%DATADIR%%/images/caustic/31.png
X%%DATADIR%%/images/caustic/32.png
X%%DATADIR%%/images/colltest.png
X%%DATADIR%%/images/colltest2.png
X%%DATADIR%%/images/controldialog.png
X%%DATADIR%%/images/energy_bar.png
X%%DATADIR%%/images/exit.png
X%%DATADIR%%/images/explolight.png
X%%DATADIR%%/images/explosion.png
X%%DATADIR%%/images/flashlighthighlight.png
X%%DATADIR%%/images/flashlighthighlight.sprite
X%%DATADIR%%/images/flashlightlight.png
X%%DATADIR%%/images/flashlightlight.sprite
X%%DATADIR%%/images/greychess.png
X%%DATADIR%%/images/groundset.png
X%%DATADIR%%/images/groundset2.png
X%%DATADIR%%/images/hedgehog.png
X%%DATADIR%%/images/hedgehog1.png
X%%DATADIR%%/images/hedgehog_die1.png
X%%DATADIR%%/images/hedgehog_die2.png
X%%DATADIR%%/images/hedgehog_die3.png
X%%DATADIR%%/images/hedgehog_die4.png
X%%DATADIR%%/images/hedgehog_die5.png
X%%DATADIR%%/images/hedgehog_highlight.png
X%%DATADIR%%/images/hedgehog_light.png
X%%DATADIR%%/images/industrialset.png
X%%DATADIR%%/images/inventory/flashlight.png
X%%DATADIR%%/images/inventory/granate.png
X%%DATADIR%%/images/inventory/keycard.png
X%%DATADIR%%/images/inventory/pda.png
X%%DATADIR%%/images/inventory/slot.png
X%%DATADIR%%/images/inventory/slot.sprite
X%%DATADIR%%/images/inventory/slothighlight.png
X%%DATADIR%%/images/inventory/slothighlight.sprite
X%%DATADIR%%/images/inventory/stone.png
X%%DATADIR%%/images/laserpointer.png
X%%DATADIR%%/images/laserpointer.sprite
X%%DATADIR%%/images/laserpointer_light.png
X%%DATADIR%%/images/laserpointer_light.sprite
X%%DATADIR%%/images/light.png
X%%DATADIR%%/images/light1.png
X%%DATADIR%%/images/light2.png
X%%DATADIR%%/images/light3.png
X%%DATADIR%%/images/light3.sprite
X%%DATADIR%%/images/logo.png
X%%DATADIR%%/images/logo_black.png
X%%DATADIR%%/images/logo_large.png
X%%DATADIR%%/images/menu_background.jpg
X%%DATADIR%%/images/nightvision.png
X%%DATADIR%%/images/noise.png
X%%DATADIR%%/images/noise2.png
X%%DATADIR%%/images/noise3.png
X%%DATADIR%%/images/objects/apartmentlamp.png
X%%DATADIR%%/images/objects/apartmentlamp.sprite
X%%DATADIR%%/images/objects/apartmentlamp_highlight.png
X%%DATADIR%%/images/objects/apartmentlamp_highlight.sprite
X%%DATADIR%%/images/objects/apartmentlamp_light.png
X%%DATADIR%%/images/objects/apartmentlamp_light.sprite
X%%DATADIR%%/images/objects/bar.png
X%%DATADIR%%/images/objects/box.png
X%%DATADIR%%/images/objects/box.sprite
X%%DATADIR%%/images/objects/cabinet.png
X%%DATADIR%%/images/objects/elevatordoor.png
X%%DATADIR%%/images/objects/elevatordoor_left.png
X%%DATADIR%%/images/objects/elevatordoor_right.png
X%%DATADIR%%/images/objects/northernstar.svg
X%%DATADIR%%/images/objects/northernstarjoinnow.png
X%%DATADIR%%/images/objects/painting1.png
X%%DATADIR%%/images/objects/painting1.sprite
X%%DATADIR%%/images/objects/painting2.png
X%%DATADIR%%/images/objects/painting2.sprite
X%%DATADIR%%/images/objects/painting3.png
X%%DATADIR%%/images/objects/painting3.sprite
X%%DATADIR%%/images/objects/painting4.png
X%%DATADIR%%/images/objects/plant.png
X%%DATADIR%%/images/objects/showerdoors.png
X%%DATADIR%%/images/objects/vrdoor-color.png
X%%DATADIR%%/images/objects/vrdoor-color.sprite
X%%DATADIR%%/images/objects/vrdoor-highlight.png
X%%DATADIR%%/images/objects/vrdoor-highlight.sprite
X%%DATADIR%%/images/particles/deform.png
X%%DATADIR%%/images/particles/deform2.png
X%%DATADIR%%/images/particles/fire_light.png
X%%DATADIR%%/images/particles/smoke.png
X%%DATADIR%%/images/particles/smoke2.png
X%%DATADIR%%/images/particles/snow.png
X%%DATADIR%%/images/particles/snow.xcf
X%%DATADIR%%/images/particles/snow2.png
X%%DATADIR%%/images/planet.jpg
X%%DATADIR%%/images/planet.sprite
X%%DATADIR%%/images/portrait.png
X%%DATADIR%%/images/portraits/barrobot.png
X%%DATADIR%%/images/portraits/bob.png
X%%DATADIR%%/images/portraits/jane.png
X%%DATADIR%%/images/portraits/monster.png
X%%DATADIR%%/images/portraits/powersuit.png
X%%DATADIR%%/images/portraits/sophie.png
X%%DATADIR%%/images/portraits/worker.png
X%%DATADIR%%/images/portraits/yagor.png
X%%DATADIR%%/images/spider_mine.png
X%%DATADIR%%/images/spider_mine.sprite
X%%DATADIR%%/images/streetlamp-highlight.png
X%%DATADIR%%/images/streetlamp-highlight.sprite
X%%DATADIR%%/images/streetlamp-light.png
X%%DATADIR%%/images/streetlamp-light.sprite
X%%DATADIR%%/images/streetlamp.png
X%%DATADIR%%/images/streetlamp.sprite
X%%DATADIR%%/images/textures/water.png
X%%DATADIR%%/images/tiles/apartment-background.png
X%%DATADIR%%/images/tiles/apartment-foreground.png
X%%DATADIR%%/images/tiles/bluestone.png
X%%DATADIR%%/images/tiles/forestground.png
X%%DATADIR%%/images/tiles/groundset.png
X%%DATADIR%%/images/tiles/industrial.png
X%%DATADIR%%/images/tiles/notile.png
X%%DATADIR%%/images/tiles/tile23.png
X%%DATADIR%%/images/tiles/tile40.png
X%%DATADIR%%/images/tiles/tile41.png
X%%DATADIR%%/images/tiles/tile42.png
X%%DATADIR%%/images/tiles/tile43.png
X%%DATADIR%%/images/tiles/tile44.png
X%%DATADIR%%/images/tiles/tile45.png
X%%DATADIR%%/images/tiles/tile46.png
X%%DATADIR%%/images/tiles/virtualreality-background.png
X%%DATADIR%%/images/tiles/virtualreality-foreground.png
X%%DATADIR%%/images/tiles/virtualreality-highlight.png
X%%DATADIR%%/images/titlescreen.png
X%%DATADIR%%/images/unknown.png
X%%DATADIR%%/images/verdana11_blue.png
X%%DATADIR%%/images/verdana32_blue.png
X%%DATADIR%%/images/verdana32_blueh.png
X%%DATADIR%%/images/verdana48_blue.png
X%%DATADIR%%/images/verdana48_blueh.png
X%%DATADIR%%/images/virtualreality-background.png
X%%DATADIR%%/images/virtualreality-highlight.png
X%%DATADIR%%/images/virtualreality.png
X%%DATADIR%%/images/wallpaper.png
X%%DATADIR%%/images/watersplash.png
X%%DATADIR%%/levels/apartment.wst
X%%DATADIR%%/levels/bluestone.wst
X%%DATADIR%%/levels/forest.wst
X%%DATADIR%%/levels/industrial.wst
X%%DATADIR%%/levels/intro.nut
X%%DATADIR%%/levels/intro.wst
X%%DATADIR%%/levels/newformat2.nut
X%%DATADIR%%/levels/newformat2.wst
X%%DATADIR%%/levels/virtualreality.wst
X%%DATADIR%%/locale/de.po
X%%DATADIR%%/models/characters/bob/bob.wsprite
X%%DATADIR%%/models/characters/bob/body.png
X%%DATADIR%%/models/characters/bob/head.png
X%%DATADIR%%/models/characters/jane/jane.wsprite
X%%DATADIR%%/models/characters/jane/suit2-texture.png
X%%DATADIR%%/models/characters/jane/texture1.png
X%%DATADIR%%/models/characters/monster/monster.wsprite
X%%DATADIR%%/models/characters/monster/monstertexture.png
X%%DATADIR%%/models/characters/powersuit/powersuit.wsprite
X%%DATADIR%%/models/characters/powersuit/powersuittexture.png
X%%DATADIR%%/models/characters/sophie/headtexture.png
X%%DATADIR%%/models/characters/sophie/sophie.wsprite
X%%DATADIR%%/models/characters/sophie/sophietexture.png
X%%DATADIR%%/models/characters/spider/spider.wsprite
X%%DATADIR%%/models/characters/spider/spidertexture.png
X%%DATADIR%%/models/characters/vrdummy/vrdummy.wsprite
X%%DATADIR%%/models/characters/vrdummy/vrdummytexture.png
X%%DATADIR%%/models/characters/yagor/clothtexture.png
X%%DATADIR%%/models/characters/yagor/facetexture.png
X%%DATADIR%%/models/characters/yagor/yagor.wsprite
X%%DATADIR%%/models/objects/barrobot/barrobotsprite.png
X%%DATADIR%%/models/objects/grenade/grenade.wsprite
X%%DATADIR%%/models/objects/grenade/grenadetexture.png
X%%DATADIR%%/models/objects/pistol/pistol.wsprite
X%%DATADIR%%/models/objects/pistol/pistoltexture.png
X%%DATADIR%%/models/vehicles/shuttle/shuttle.wsprite
X%%DATADIR%%/models/vehicles/train/texture.png
X%%DATADIR%%/models/vehicles/train/train.wsprite
X%%DATADIR%%/music/Windstille_Ralph_Weinert.ogg
X%%DATADIR%%/music/jingle.ogg
X%%DATADIR%%/music/nightfall.ogg
X%%DATADIR%%/music/silence_wip.ogg
X%%DATADIR%%/music/techdemo.ogg
X%%DATADIR%%/particlesystems/deform.particles
X%%DATADIR%%/particlesystems/fire.particles
X%%DATADIR%%/scripts/apartment/barrobot.nut
X%%DATADIR%%/scripts/apartment/init.nut
X%%DATADIR%%/scripts/apartment/yagor.nut
X%%DATADIR%%/scripts/init.nut
X%%DATADIR%%/scripts/init_script_vars.nut
X%%DATADIR%%/scripts/newformat2/bob.nut
X%%DATADIR%%/scripts/newformat2/frank.nut
X%%DATADIR%%/scripts/windstille.nut
X%%DATADIR%%/shader/blacknwhite.frag
X%%DATADIR%%/shader/particledeform.frag
X%%DATADIR%%/shader/shockwave.frag
X%%DATADIR%%/shader/shockwave2.frag
X%%DATADIR%%/shader/simple.frag
X%%DATADIR%%/shader/wooble.frag
X%%DATADIR%%/sounds/README
X%%DATADIR%%/sounds/elevator.ogg
X%%DATADIR%%/sounds/fizzle.wav
X%%DATADIR%%/sounds/menu_change.wav
X%%DATADIR%%/sounds/menu_click.wav
X%%DATADIR%%/sounds/speech/vr_intro.ogg
X%%DATADIR%%/sounds/steps_dirt.ogg
X%%DATADIR%%/tiles.scm
X%%DATADIR%%/windstille.scm
X%%DATADIR%%/windstille.scr
X at dirrm %%DATADIR%%/sounds/speech
X at dirrm %%DATADIR%%/sounds
X at dirrm %%DATADIR%%/shader
X at dirrm %%DATADIR%%/scripts/newformat2
X at dirrm %%DATADIR%%/scripts/apartment
X at dirrm %%DATADIR%%/scripts
X at dirrm %%DATADIR%%/particlesystems
X at dirrm %%DATADIR%%/music
X at dirrm %%DATADIR%%/models/weapons
X at dirrm %%DATADIR%%/models/vehicles/train
X at dirrm %%DATADIR%%/models/vehicles/shuttle
X at dirrm %%DATADIR%%/models/vehicles
X at dirrm %%DATADIR%%/models/objects/pistol
X at dirrm %%DATADIR%%/models/objects/grenade
X at dirrm %%DATADIR%%/models/objects/barrobot
X at dirrm %%DATADIR%%/models/objects
X at dirrm %%DATADIR%%/models/characters/yagor
X at dirrm %%DATADIR%%/models/characters/vrdummy
X at dirrm %%DATADIR%%/models/characters/spider
X at dirrm %%DATADIR%%/models/characters/sophie
X at dirrm %%DATADIR%%/models/characters/powersuit
X at dirrm %%DATADIR%%/models/characters/monster
X at dirrm %%DATADIR%%/models/characters/jane
X at dirrm %%DATADIR%%/models/characters/bob
X at dirrm %%DATADIR%%/models/characters
X at dirrm %%DATADIR%%/models
X at dirrm %%DATADIR%%/locale
X at dirrm %%DATADIR%%/levels
X at dirrm %%DATADIR%%/images/tiles
X at dirrm %%DATADIR%%/images/textures
X at dirrm %%DATADIR%%/images/portraits
X at dirrm %%DATADIR%%/images/particles
X at dirrm %%DATADIR%%/images/objects
X at dirrm %%DATADIR%%/images/inventory
X at dirrm %%DATADIR%%/images/caustic
X at dirrm %%DATADIR%%/images
X at dirrm %%DATADIR%%/fonts
X at dirrm %%DATADIR%%/controller
X at dirrm %%DATADIR%%
END-of-windstille/pkg-plist
echo x - windstille/distinfo
sed 's/^X//' >windstille/distinfo << 'END-of-windstille/distinfo'
XMD5 (windstille-0.3.0.tar.bz2) = 8957c343fbc9d89217b00a36dd19acfd
XSHA256 (windstille-0.3.0.tar.bz2) = e1cdef80ace70a6be7beceb60e7c2d2f81860eb4262e5df88f8ecda9aee1f7e4
XSIZE (windstille-0.3.0.tar.bz2) = 11926694
END-of-windstille/distinfo
echo c - windstille/files
mkdir -p windstille/files > /dev/null 2>&1
echo x - windstille/files/patch-SConstruct
sed 's/^X//' >windstille/files/patch-SConstruct << 'END-of-windstille/files/patch-SConstruct'
X--- SConstruct.orig	Thu Jun 14 15:59:31 2007
X+++ SConstruct	Thu Jun 14 16:03:28 2007
X@@ -99,7 +99,11 @@
X     return output
X 
X 
X-conf_env = Environment()
X+conf_env = Environment(**ARGUMENTS)
X+conf_env.Replace(CCFLAGS = conf_env['CCFLAGS'].split())
X+conf_env.Replace(CXXFLAGS = conf_env['CXXFLAGS'].split())
X+conf_env.Replace(CPPPATH = conf_env['CPPPATH'].split())
X+conf_env.Replace(LIBPATH = conf_env['LIBPATH'].split())
X conf = Configure(conf_env, custom_tests = { 'Check32bit' : Check32bit })
X if conf.Check32bit() == "64bit":
X   conf.env.Append(CXXFLAGS="-D_SQ64")
END-of-windstille/files/patch-SConstruct
echo x - windstille/files/patch-lib-SConscript
sed 's/^X//' >windstille/files/patch-lib-SConscript << 'END-of-windstille/files/patch-lib-SConscript'
X--- lib/SConscript.orig	Wed Jun 13 01:08:12 2007
X+++ lib/SConscript	Thu Jun 14 15:47:44 2007
X@@ -4,15 +4,16 @@
X 
X Import('conf_env')
X 
X-glew_env = Environment(CPPPATH = ['glew'], CXXFLAGS = ['-g', '-DDEBUG'])
X+glew_env = conf_env.Copy()
X+glew_env.Append(CPPPATH = ['glew'])
X 
X glew = glew_env.Library('glew',
X             glob.glob('glew/*.c') +
X             glob.glob('glew/*.h'))
X 
X-squirrel_env = Environment(CPPPATH = ['SQUIRREL2/include'],
X-             CXXFLAGS = ["-fno-rtti", "-g", "-DDEBUG"])
X-squirrel_env.Append(CXXFLAGS = conf_env['CXXFLAGS'])
X+squirrel_env = conf_env.Copy()
X+squirrel_env.Append(CPPPATH = ['SQUIRREL2/include'],
X+			CXXFLAGS = ["-fno-rtti"])
X 
X squirrel_env.Library('squirrel',
X             glob.glob('SQUIRREL2/squirrel/*.cpp') +
END-of-windstille/files/patch-lib-SConscript
echo x - windstille/files/patch-src-SConstruct
sed 's/^X//' >windstille/files/patch-src-SConstruct << 'END-of-windstille/files/patch-src-SConstruct'
X--- src/SConscript.orig	Wed Jun 13 07:04:35 2007
X+++ src/SConscript	Thu Jun 14 15:51:17 2007
X@@ -26,11 +26,10 @@
X 
X Import('conf_env')
X 
X-env = Environment(CC = 'gcc',
X-                  CXX = 'g++',
X-                  CXXFLAGS = ['-O0', '-Wall', '-Werror', '-g', '-DDEBUG'] + conf_env['CXXFLAGS'])
X-
X-env.Append(CXXFLAGS = conf_env['CXXFLAGS'])
X+env = conf_env.Copy()
X+env.Append(LIBS    = ['GL', 'GLU', 'squirrel', 'physfs', 'SDL_image', 'openal', 'glew', 'ogg', 'vorbis', 'vorbisfile', 'png'])
X+env.Append(LIBPATH = ['../lib/'] )
X+env.Append(CPPPATH = ['.', '..', '../lib/SQUIRREL2/include/', '../lib/glew'])
X 
X # env.Copy(LIBS = ['a', 'b'])
X 
X@@ -184,9 +183,6 @@
X 'sprite3d/sprite3d.cpp',
X 'tinygettext/gettext.cpp',
X 'tinygettext/tinygettext.cpp'
X-],
X-LIBS    = ['GL', 'GLU', 'squirrel', 'physfs', 'SDL_image', 'openal', 'glew', 'ogg', 'vorbis', 'vorbisfile', 'png'] + env['LIBS'],
X-LIBPATH = ['../lib/'],
X-CPPPATH = env['CPPPATH'] + ['.', '..', '../lib/SQUIRREL2/include/', '../lib/glew'])
X+])
X 
X # EOF #
END-of-windstille/files/patch-src-SConstruct
echo x - windstille/files/patch-src-tinygettext-tinygettext.cpp
sed 's/^X//' >windstille/files/patch-src-tinygettext-tinygettext.cpp << 'END-of-windstille/files/patch-src-tinygettext-tinygettext.cpp'
X--- src/tinygettext/tinygettext.cpp.orig	Sat Jul  2 19:58:07 2005
X+++ src/tinygettext/tinygettext.cpp	Thu Jun 14 16:12:51 2007
X@@ -50,7 +50,7 @@
X   strcpy(in_orig, text.c_str());
X 
X   char* out = out_orig;
X-  ICONV_CONST char* in  = in_orig;
X+  const char* in  = in_orig;
X   size_t out_len_temp = out_len; // iconv is counting down the bytes it has
X                                  // written from this...
X 
END-of-windstille/files/patch-src-tinygettext-tinygettext.cpp
echo x - windstille/files/patch-tools-SConscript
sed 's/^X//' >windstille/files/patch-tools-SConscript << 'END-of-windstille/files/patch-tools-SConscript'
X--- tools/SConscript.orig	Thu Jun 22 19:15:05 2006
X+++ tools/SConscript	Fri Jun 15 00:09:36 2007
X@@ -2,9 +2,14 @@
X 
X import glob
X 
X-env = Environment(CPPPATH=['../..'],
X-                  CXXFILESUFFIX = ".cpp",
X-                  YACCFLAGS=['-d', '--no-lines'])
X+Import('conf_env')
X+
X+env = conf_env.Copy()
X+env.Append(CPPPATH=['../..'])
X+env.Replace(CXXFILESUFFIX = ".cpp")
X+env.Replace(YACCFLAGS = ['-d', '--no-lines'])
X+env.Replace(YACC = 'bison')
X+
X miniswig = env.Program('miniswig/miniswig',
X                        ['miniswig/parser.yy',
X                         'miniswig/lexer.ll',
END-of-windstille/files/patch-tools-SConscript
exit
--- windstille-0.3.0.shar ends here ---


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



More information about the freebsd-ports-bugs mailing list