Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2009 05:52:48 GMT
From:      Stas Timokhin <stast@bsdportal.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/139560: New port: games/opensonic
Message-ID:  <200910130552.n9D5qmlt029111@www.freebsd.org>
Resent-Message-ID: <200910130600.n9D60AFV031457@freefall.freebsd.org>

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

>Number:         139560
>Category:       ports
>Synopsis:       New port: games/opensonic
>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:   Tue Oct 13 06:00:10 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Stas Timokhin
>Release:        
>Organization:
None
>Environment:
>Description:
This port require two new ports:
http://www.freebsd.org/cgi/query-pr.cgi?pr=139557
http://www.freebsd.org/cgi/query-pr.cgi?pr=139558
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	opensonic
#	opensonic/Makefile
#	opensonic/distinfo
#	opensonic/pkg-plist
#	opensonic/files
#	opensonic/files/patch-CMakeLists.txt
#	opensonic/pkg-descr
#
echo c - opensonic
mkdir -p opensonic > /dev/null 2>&1
echo x - opensonic/Makefile
sed 's/^X//' >opensonic/Makefile << '42ba7822d410d96c823386d730f3b81d'
X# New ports collection makefile for: games/opensonic
X# Date created:		27 Aug 2009
X# Whom:			Stas Timokhin <stast@bsdportal.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	opensonic
XPORTVERSION=	0.1.2
XCATEGORIES=	games
XMASTER_SITES=	SF/opensnc/Open%20Sonic/${PORTVERSION}
XDISTNAME=	opensnc-src${PORTVERSION}
X
XMAINTAINER=	stast@bsdportal.ru
XCOMMENT=	Game based on the "Sonic the Hedgehog" universe
X
XUSE_CMAKE=	yes
XCMAKE_ENV+=	OPENSNC_ALLEGRO_LIBS="`allegro-config --libs`" OPENSNC_ALLEGRO_VERSION="`allegro-config --version`"
X
XCFLAGS+=	-I${LOCALBASE}/include
XMAKE_ENV+=	CFLAGS="${CFLAGS}"
X
XBUILD_DEPENDS+=	${LOCALBASE}/lib/libaldmb.a:${PORTSDIR}/audio/dumb-allegro \
X		alpng>=1.3:${PORTSDIR}/graphics/alpng
XRUN_DEPENDS+=	${LOCALBASE}/lib/libaldmb.a:${PORTSDIR}/audio/dumb-allegro \
X		alpng>=1.3:${PORTSDIR}/graphics/alpng
XLIB_DEPENDS+=	alleg.42:${PORTSDIR}/devel/allegro \
X		ogg.6:${PORTSDIR}/audio/libogg \
X		vorbis.4:${PORTSDIR}/audio/libvorbis
X
X.include <bsd.port.mk>
42ba7822d410d96c823386d730f3b81d
echo x - opensonic/distinfo
sed 's/^X//' >opensonic/distinfo << '06f8cbdd7940e5fe54e6aa7ec9bb62c1'
XMD5 (opensnc-src0.1.2.tar.gz) = eba7dc42f6b82edff038bae706331dfb
XSHA256 (opensnc-src0.1.2.tar.gz) = 9171ee123556f6600fb2b4198f75b7b252d5159e3714666e3589f17b6a76b1a5
XSIZE (opensnc-src0.1.2.tar.gz) = 4392887
06f8cbdd7940e5fe54e6aa7ec9bb62c1
echo x - opensonic/pkg-plist
sed 's/^X//' >opensonic/pkg-plist << '7d5cc9cb2e3b3818dd4ca810ca25d9e6'
X%%DATADIR%%/opensonic
X%%DATADIR%%/opensonic_launcher
X%%DATADIR%%/license.txt
X%%DATADIR%%/readme.html
X%%DATADIR%%/config/sprite.def
X%%DATADIR%%/gui/vscroll.tga
X%%DATADIR%%/gui/gui.dat
X%%DATADIR%%/gui/button_disabled.tga
X%%DATADIR%%/gui/buttonhi.tga
X%%DATADIR%%/gui/slider.tga
X%%DATADIR%%/gui/dialog.tga
X%%DATADIR%%/gui/logo.tga
X%%DATADIR%%/gui/scrollbar.tga
X%%DATADIR%%/gui/button1.tga
X%%DATADIR%%/gui/buttonpress.tga
X%%DATADIR%%/gui/radio.tga
X%%DATADIR%%/gui/textbox.tga
X%%DATADIR%%/gui/checkbox.tga
X%%DATADIR%%/gui/listbox.tga
X%%DATADIR%%/images/animals.png
X%%DATADIR%%/images/checkpoint_orb.png
X%%DATADIR%%/images/sourcecode.png
X%%DATADIR%%/images/squarebg.png
X%%DATADIR%%/images/island.png
X%%DATADIR%%/images/gui.png
X%%DATADIR%%/images/intro.png
X%%DATADIR%%/images/font.png
X%%DATADIR%%/images/spring_pads.png
X%%DATADIR%%/images/baddies.png
X%%DATADIR%%/images/prototype2.png
X%%DATADIR%%/images/icon.png
X%%DATADIR%%/images/player.png
X%%DATADIR%%/images/island3.png
X%%DATADIR%%/images/prototype1.png
X%%DATADIR%%/images/ring_shields.png
X%%DATADIR%%/images/island2.png
X%%DATADIR%%/images/title.png
X%%DATADIR%%/images/items.png
X%%DATADIR%%/images/boss.png
X%%DATADIR%%/images/null.png
X%%DATADIR%%/images/ocean2.png
X%%DATADIR%%/images/ocean.png
X%%DATADIR%%/levels/prototype.lev
X%%DATADIR%%/levels/tutorial_1.lev
X%%DATADIR%%/levels/exotic_3.lev
X%%DATADIR%%/levels/blue_ocean_2.lev
X%%DATADIR%%/levels/tutorial_2.lev
X%%DATADIR%%/levels/exotic_1.lev
X%%DATADIR%%/levels/blue_ocean_3m.lev
X%%DATADIR%%/levels/exotic_3m.lev
X%%DATADIR%%/levels/blue_ocean_2m.lev
X%%DATADIR%%/levels/testzone.lev
X%%DATADIR%%/levels/blue_ocean_1m.lev
X%%DATADIR%%/levels/blue_ocean_1.lev
X%%DATADIR%%/levels/exotic_2.lev
X%%DATADIR%%/levels/exotic_2m.lev
X%%DATADIR%%/levels/blue_ocean_3.lev
X%%DATADIR%%/levels/exotic_1m.lev
X%%DATADIR%%/licenses/2xsai.txt
X%%DATADIR%%/licenses/Allegro.txt
X%%DATADIR%%/licenses/lexgui.txt
X%%DATADIR%%/licenses/DUMB.txt
X%%DATADIR%%/licenses/logg.txt
X%%DATADIR%%/licenses/AllegroPNG.txt
X%%DATADIR%%/musics/ocean.it
X%%DATADIR%%/musics/boss.it
X%%DATADIR%%/musics/tutorial.it
X%%DATADIR%%/musics/invencible.it
X%%DATADIR%%/musics/credits.txt
X%%DATADIR%%/musics/speed.it
X%%DATADIR%%/musics/endofquest.it
X%%DATADIR%%/musics/exotic.it
X%%DATADIR%%/musics/title.ogg
X%%DATADIR%%/quests/master.png
X%%DATADIR%%/quests/tutorial.qst
X%%DATADIR%%/quests/tutorial.png
X%%DATADIR%%/quests/master.qst
X%%DATADIR%%/samples/door2.wav
X%%DATADIR%%/samples/deny.wav
X%%DATADIR%%/samples/destroypop.wav
X%%DATADIR%%/samples/fire.wav
X%%DATADIR%%/samples/cash.wav
X%%DATADIR%%/samples/teleporter.wav
X%%DATADIR%%/samples/bigshot.wav
X%%DATADIR%%/samples/switch.wav
X%%DATADIR%%/samples/checkpoint.wav
X%%DATADIR%%/samples/fire2.wav
X%%DATADIR%%/samples/brake.wav
X%%DATADIR%%/samples/credits.txt
X%%DATADIR%%/samples/shield.wav
X%%DATADIR%%/samples/break.wav
X%%DATADIR%%/samples/bumper.wav
X%%DATADIR%%/samples/spindash2.wav
X%%DATADIR%%/samples/select.wav
X%%DATADIR%%/samples/choose.wav
X%%DATADIR%%/samples/ringless.wav
X%%DATADIR%%/samples/bosshit.wav
X%%DATADIR%%/samples/shot.wav
X%%DATADIR%%/samples/floorfall.wav
X%%DATADIR%%/samples/return.wav
X%%DATADIR%%/samples/bigring.wav
X%%DATADIR%%/samples/ringcount.wav
X%%DATADIR%%/samples/scratch.wav
X%%DATADIR%%/samples/ring.wav
X%%DATADIR%%/samples/door1.wav
X%%DATADIR%%/samples/1up.ogg
X%%DATADIR%%/samples/endsign.wav
X%%DATADIR%%/samples/death.wav
X%%DATADIR%%/samples/spring.wav
X%%DATADIR%%/samples/tfly1.wav
X%%DATADIR%%/samples/puff.wav
X%%DATADIR%%/samples/touch2.wav
X%%DATADIR%%/samples/jump.wav
X%%DATADIR%%/samples/touch.wav
X%%DATADIR%%/samples/tfly2.wav
X%%DATADIR%%/samples/spikes.wav
X%%DATADIR%%/samples/spin.wav
X%%DATADIR%%/samples/goal.wav
X%%DATADIR%%/samples/glasses.wav
X%%DATADIR%%/samples/spindash1.wav
X%%DATADIR%%/screenshots/screenshots.txt
X%%DATADIR%%/themes/island3.brk
X%%DATADIR%%/themes/island.brk
X%%DATADIR%%/themes/ocean2b.bg
X%%DATADIR%%/themes/oceanb.bg
X%%DATADIR%%/themes/ocean.bg
X%%DATADIR%%/themes/ocean2.brk
X%%DATADIR%%/themes/ocean.brk
X%%DATADIR%%/themes/island.bg
X%%DATADIR%%/themes/prototype.bg
X%%DATADIR%%/themes/prototype.brk
X%%DATADIR%%/themes/island2.bg
X%%DATADIR%%/themes/island2.brk
X%%DATADIR%%/themes/island3.bg
X%%DATADIR%%/themes/ocean2.bg
X%%DATADIR%%/languages/english.lng
X%%DATADIR%%/languages/espanol.lng
X%%DATADIR%%/languages/francais.lng
X%%DATADIR%%/languages/ptbr.lng
X@dirrm %%DATADIR%%/languages
X@dirrm %%DATADIR%%/themes
X@dirrm %%DATADIR%%/screenshots
X@dirrm %%DATADIR%%/samples
X@dirrm %%DATADIR%%/musics
X@dirrm %%DATADIR%%/licenses
X@dirrm %%DATADIR%%/images
X@dirrm %%DATADIR%%/gui
X@dirrm %%DATADIR%%/levels
X@dirrm %%DATADIR%%/config
X@dirrm %%DATADIR%%/quests
X@dirrm %%DATADIR%%
7d5cc9cb2e3b3818dd4ca810ca25d9e6
echo c - opensonic/files
mkdir -p opensonic/files > /dev/null 2>&1
echo x - opensonic/files/patch-CMakeLists.txt
sed 's/^X//' >opensonic/files/patch-CMakeLists.txt << '3d005e164c002f7b8df78d4ec14292de'
X--- CMakeLists.txt.orig	2009-08-27 15:41:05.000000000 +0700
X+++ CMakeLists.txt	2009-08-27 15:42:45.000000000 +0700
X@@ -248,7 +248,7 @@
X 
X # Installing on *nix
X IF(UNIX)
X-  SET(GAME_INSTALL_DIR "/usr/share/opensonic")
X+  SET(GAME_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/opensonic")
X   SET(GAME_FINAL_DIR "/usr/bin")
X 
X   INSTALL(CODE "MESSAGE(\"Installing Open Sonic ${GAME_VERSION}... Make sure you have root privileges.\")")
3d005e164c002f7b8df78d4ec14292de
echo x - opensonic/pkg-descr
sed 's/^X//' >opensonic/pkg-descr << 'f7ac9e06be6fbbb956ab1500e41cbbeb'
XGame based on the "Sonic the Hedgehog" universe.
XIt introduces a different style of gameplay called cooperative play, 
Xin which it's possible to control 3 characters simultaneously. 
XUnlike most similar games, Open Sonic provides a greater level of interaction 
Xbetween the player and the levels. It's more than just a jump'n'run; 
Xthe user must come up with some strategy in order to get through the levels.
X
XWWW: http://opensnc.sourceforge.net
f7ac9e06be6fbbb956ab1500e41cbbeb
exit



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



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