From amdmi3@amdmi3.ru  Fri Apr 18 23:50:57 2008
Return-Path: <amdmi3@amdmi3.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7C5D01065675
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 18 Apr 2008 23:50:55 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from cp65.agava.net (cp65.agava.net [89.108.66.215])
	by mx1.freebsd.org (Postfix) with ESMTP id 11B6F8FC16
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 18 Apr 2008 23:50:55 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from [213.148.20.85] (helo=hive.panopticon)
	by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.63 (FreeBSD))
	(envelope-from <amdmi3@amdmi3.ru>)
	id 1Jn0R7-000C0z-Tt
	for FreeBSD-gnats-submit@freebsd.org; Sat, 19 Apr 2008 03:56:10 +0400
Received: from hades.panopticon (hades.panopticon [192.168.0.32])
	by hive.panopticon (Postfix) with ESMTP id 8018DB80F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 19 Apr 2008 03:50:29 +0400 (MSD)
Received: by hades.panopticon (Postfix, from userid 1000)
	id 06BFA17031; Sat, 19 Apr 2008 03:50:53 +0400 (MSD)
Message-Id: <20080418235053.06BFA17031@hades.panopticon>
Date: Sat, 19 Apr 2008 03:50:53 +0400 (MSD)
From: Dmitry Marakasov <amdmi3@amdmi3.ru>
Reply-To: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] games/stransball2: A sequel to Transball and Transball 2 THRUST-type games
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         122896
>Category:       ports
>Synopsis:       [NEW PORT] games/stransball2: A sequel to Transball and Transball 2 THRUST-type games
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 19 00:00:02 UTC 2008
>Closed-Date:    Mon Apr 28 08:46:52 UTC 2008
>Last-Modified:  Mon Apr 28 08:50:03 UTC 2008
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RELEASE FreeBSD 7.0-RELEASE #5: Fri Mar 14 14:26:43 MSK 2008 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
"Super Transball 2" is the sequel of "Transball" and "Transball 2",
Inspired in THRUST type of games (and concretely in ZARA THRUSTA
for the Amiga 500). In each level of Transball, the goal is to find
the SPHERE, capture it and carry it to the upper part of the level.
The main obstacle is the gravity, that impulses you towards the
ground. But many other obstacles, canons, tanks, doors, etc. will
try to make difficult your journey...

WWW: http://www.braingames.getput.com/stransball2/default.asp
>How-To-Repeat:
>Fix:

--- stransball2-1.5.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:
#
#	stransball2
#	stransball2/Makefile
#	stransball2/pkg-descr
#	stransball2/pkg-plist
#	stransball2/distinfo
#	stransball2/files
#	stransball2/files/patch-sources-Makefile
#	stransball2/files/patch-sources-main.cpp
#
echo c - stransball2
mkdir -p stransball2 > /dev/null 2>&1
echo x - stransball2/Makefile
sed 's/^X//' >stransball2/Makefile << 'END-of-stransball2/Makefile'
X# New ports collection makefile for:	stransball2
X# Date created:		07 Apr 2008
X# Whom:			Dmitry Marakasov <amdmi3@amdmi3.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	stransball2
XPORTVERSION=	1.5
XCATEGORIES=	games
XMASTER_SITES=	http://www.amdmi3.ru/distfiles/ \
X		http://braingames.bugreport.nl/stransball2/
XDISTNAME=	${PORTNAME}-v${PORTVERSION:C/\.//}-linux
X
XMAINTAINER=	amdmi3@amdmi3.ru
XCOMMENT=	A sequel to Transball and Transball 2 THRUST-type games
X
XLIB_DEPENDS=	SGE.0:${PORTSDIR}/devel/sdl_sge
X
XUSE_ZIP=	yes
XUSE_GMAKE=	yes
XUSE_SDL=	sdl image mixer sound
XMAKE_ENV=	CXX="${CXX}"
X
XBUILD_WRKSRC=	${WRKSRC}/sources
X
XPORTDOCS=	readme.txt
X
Xpost-extract:
X	@${RM} -f ${WRKSRC}/sound/WS_FTP.LOG
X
Xpost-patch:
X	@${FIND} ${BUILD_WRKSRC} -name '*.cpp' | ${XARGS} ${REINPLACE_CMD} \
X		-e 's|demos/|${DATADIR}/&|g; s|graphics/|${DATADIR}/&|g; \
X		s|maps/|${DATADIR}/&|g; s|sound/|${DATADIR}/&|g; \
X	       	s|"maps"|"${DATADIR}/maps"|g'
X
Xdo-install:
X	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/stransball2 ${PREFIX}/bin
X	${MKDIR} ${DATADIR}
X	cd ${WRKSRC} && ${COPYTREE_SHARE} 'graphics sound maps demos' ${DATADIR}
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for f in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-stransball2/Makefile
echo x - stransball2/pkg-descr
sed 's/^X//' >stransball2/pkg-descr << 'END-of-stransball2/pkg-descr'
X"Super Transball 2" is the sequel of "Transball" and "Transball 2",
XInspired in THRUST type of games (and concretely in ZARA THRUSTA
Xfor the Amiga 500). In each level of Transball, the goal is to find
Xthe SPHERE, capture it and carry it to the upper part of the level.
XThe main obstacle is the gravity, that impulses you towards the
Xground. But many other obstacles, canons, tanks, doors, etc. will
Xtry to make difficult your journey...
X
XWWW: http://www.braingames.getput.com/stransball2/default.asp
END-of-stransball2/pkg-descr
echo x - stransball2/pkg-plist
sed 's/^X//' >stransball2/pkg-plist << 'END-of-stransball2/pkg-plist'
Xbin/stransball2
X%%DATADIR%%/demos/demo1.rpl
X%%DATADIR%%/demos/demo2.rpl
X%%DATADIR%%/demos/demo3.rpl
X%%DATADIR%%/demos/demo4.rpl
X%%DATADIR%%/graphics/brain.pcx
X%%DATADIR%%/graphics/font3.pcx
X%%DATADIR%%/graphics/tiles-mask.pcx
X%%DATADIR%%/graphics/tiles.pcx
X%%DATADIR%%/graphics/tittle.pcx
X%%DATADIR%%/maps/canons.map
X%%DATADIR%%/maps/map1.map
X%%DATADIR%%/maps/map10.map
X%%DATADIR%%/maps/map11.map
X%%DATADIR%%/maps/map12.map
X%%DATADIR%%/maps/map13.map
X%%DATADIR%%/maps/map14.map
X%%DATADIR%%/maps/map2.map
X%%DATADIR%%/maps/map3.map
X%%DATADIR%%/maps/map4.map
X%%DATADIR%%/maps/map5.map
X%%DATADIR%%/maps/map6.map
X%%DATADIR%%/maps/map7.map
X%%DATADIR%%/maps/map8.map
X%%DATADIR%%/maps/map9.map
X%%DATADIR%%/maps/sample-pack.lp
X%%DATADIR%%/maps/sample-pack/WS_FTP.LOG
X%%DATADIR%%/maps/sample-pack/directional.map
X%%DATADIR%%/maps/sample-pack/directional2.map
X%%DATADIR%%/maps/sample-pack/heavy-snow.map
X%%DATADIR%%/maps/second-assault.lp
X%%DATADIR%%/maps/second-assault/WS_FTP.LOG
X%%DATADIR%%/maps/second-assault/sa-map1.map
X%%DATADIR%%/maps/second-assault/sa-map2.map
X%%DATADIR%%/maps/second-assault/sa-map3.map
X%%DATADIR%%/maps/second-assault/sa-map4.map
X%%DATADIR%%/maps/second-assault/sa-map5.map
X%%DATADIR%%/maps/second-assault/sa-map6.map
X%%DATADIR%%/maps/second-assault/sa-map7.map
X%%DATADIR%%/maps/second-assault/sa-map8.map
X%%DATADIR%%/maps/transball.lp
X%%DATADIR%%/sound/enemyhit.wav
X%%DATADIR%%/sound/explosion.wav
X%%DATADIR%%/sound/fuel.wav
X%%DATADIR%%/sound/shipshot.wav
X%%DATADIR%%/sound/shot.wav
X%%DATADIR%%/sound/start.wav
X%%DATADIR%%/sound/switch.wav
X%%DATADIR%%/sound/takeball.wav
X%%DATADIR%%/sound/thrust.wav
X@dirrm %%DATADIR%%/sound
X@dirrm %%DATADIR%%/maps/second-assault
X@dirrm %%DATADIR%%/maps/sample-pack
X@dirrm %%DATADIR%%/maps
X@dirrm %%DATADIR%%/graphics
X@dirrm %%DATADIR%%/demos
X@dirrm %%DATADIR%%
END-of-stransball2/pkg-plist
echo x - stransball2/distinfo
sed 's/^X//' >stransball2/distinfo << 'END-of-stransball2/distinfo'
XMD5 (stransball2-v15-linux.zip) = 317325363253fc253d62d0df76fe0789
XSHA256 (stransball2-v15-linux.zip) = 2552a18b4b59c1d39d7a1312e7efbebf5ac89bddc30f5e188693e841516276bc
XSIZE (stransball2-v15-linux.zip) = 302212
END-of-stransball2/distinfo
echo c - stransball2/files
mkdir -p stransball2/files > /dev/null 2>&1
echo x - stransball2/files/patch-sources-Makefile
sed 's/^X//' >stransball2/files/patch-sources-Makefile << 'END-of-stransball2/files/patch-sources-Makefile'
X--- sources/Makefile.orig	2005-04-16 21:16:54.000000000 +0400
X+++ sources/Makefile	2008-04-07 01:10:16.000000000 +0400
X@@ -12,12 +12,11 @@
X all: stransball2
X 
X %.o: %.cpp
X-	c++ -c -g3 -O3 $< -o $@ `sdl-config --cflags` -I/usr/local/include/SDL
X+	${CXX} ${CXXFLAGS} -c $< -o $@ `${SDL_CONFIG} --cflags`
X 
X # dynamically linked binary:
X stransball2: $(OBJS)
X-	c++ $^ -o $@ `sdl-config --libs` -lSDL_image -lSDL_mixer -lSDL_sound -lSDL_sound -lSGE -I/usr/local/include/SDL
X-	mv ./stransball2 ..
X+	${CXX} $^ -o $@ `${SDL_CONFIG} --libs` -lSDL_image -lSDL_mixer -lSDL_sound -lSGE
X 
X clean:
X 	rm -f stransball2
END-of-stransball2/files/patch-sources-Makefile
echo x - stransball2/files/patch-sources-main.cpp
sed 's/^X//' >stransball2/files/patch-sources-main.cpp << 'END-of-stransball2/files/patch-sources-main.cpp'
X--- sources/main.cpp.orig	2005-04-16 21:16:54.000000000 +0400
X+++ sources/main.cpp	2008-04-07 01:37:52.000000000 +0400
X@@ -6,6 +6,8 @@
X #include <time.h>
X #endif
X 
X+#include <sys/types.h>
X+#include <sys/stat.h>
X #include <stdio.h>
X #include <stdlib.h>
X #include "SDL/SDL.h"
X@@ -126,6 +128,19 @@
X 	setupTickCount();
X #endif
X 
X+	if (chdir(getenv("HOME")) != 0)
X+		return 0;
X+
X+	struct stat sb;
X+	if (stat(".stransball2", &sb) != 0 &&
X+			(mkdir(".stransball2", 0755) != 0 ||
X+			 mkdir(".stransball2/high", 0755) != 0 ||
X+			 mkdir(".stransball2/replays", 0755) != 0))
X+		return 0;
X+
X+	if (chdir(".stransball2") != 0)
X+		return 0;
X+
X 	int time,act_time;
X 	SDL_Event event;
X     bool quit = false;
END-of-stransball2/files/patch-sources-main.cpp
exit
--- stransball2-1.5.shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Apr 19 00:00:12 UTC 2008 
Responsible-Changed-Why:  
miwi@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122896 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon Apr 28 08:46:51 UTC 2008 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122896 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/122896: commit references a PR
Date: Mon, 28 Apr 2008 08:47:04 +0000 (UTC)

 miwi        2008-04-28 08:46:59 UTC
 
   FreeBSD ports repository
 
   Modified files:
     games                Makefile 
   Added files:
     games/stransball2    Makefile distinfo pkg-descr pkg-plist 
     games/stransball2/files patch-sources-Makefile 
                             patch-sources-main.cpp 
   Log:
   "Super Transball 2" is the sequel of "Transball" and "Transball 2",
   Inspired in THRUST type of games (and concretely in ZARA THRUSTA
   for the Amiga 500). In each level of Transball, the goal is to find
   the SPHERE, capture it and carry it to the upper part of the level.
   The main obstacle is the gravity, that impulses you towards the
   ground. But many other obstacles, canons, tanks, doors, etc. will
   try to make difficult your journey...
   
   WWW: http://www.braingames.getput.com/stransball2/default.asp
   
   PR:             ports/122896
   Submitted by:   Dmitry Marakasov <amdmi3 at amdmi3.ru>
   
   Revision  Changes    Path
   1.1199    +1 -0      ports/games/Makefile
   1.1       +50 -0     ports/games/stransball2/Makefile (new)
   1.1       +3 -0      ports/games/stransball2/distinfo (new)
   1.1       +17 -0     ports/games/stransball2/files/patch-sources-Makefile (new)
   1.1       +31 -0     ports/games/stransball2/files/patch-sources-main.cpp (new)
   1.1       +9 -0      ports/games/stransball2/pkg-descr (new)
   1.1       +57 -0     ports/games/stransball2/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
