ports/121203: [NEW PORT] games/randomshooter: A simple shoot'em up with online scoring and replays

Dmitry Marakasov amdmi3 at amdmi3.ru
Fri Feb 29 04:10:03 UTC 2008


>Number:         121203
>Category:       ports
>Synopsis:       [NEW PORT] games/randomshooter: A simple shoot'em up with online scoring and replays
>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:   Fri Feb 29 04:10:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RELEASE FreeBSD 7.0-RELEASE #3: Thu Feb 28 22:28:53 MSK 2008 root at hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
This is the first release of a shoot em up game written in SDL. The
objective is simple: you have 1 life and 1 hit will kill you. Try
and destroy as many enemies as possible before this happens.

The game features an online scoring system and the ability to replay
game sessions.

WWW: http://www.parallelrealities.co.uk/randomShooter.php
>How-To-Repeat:
>Fix:

--- randomshooter-0.1-1.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:
#
#	randomshooter
#	randomshooter/distinfo
#	randomshooter/Makefile
#	randomshooter/files
#	randomshooter/files/patch-makefile
#	randomshooter/files/patch-src-input.c
#	randomshooter/pkg-descr
#	randomshooter/pkg-plist
#
echo c - randomshooter
mkdir -p randomshooter > /dev/null 2>&1
echo x - randomshooter/distinfo
sed 's/^X//' >randomshooter/distinfo << 'END-of-randomshooter/distinfo'
XMD5 (RandomShooter-0.1-1.tar.gz) = 710d334ebaaea7336bb08cfdf61f5839
XSHA256 (RandomShooter-0.1-1.tar.gz) = 7dea906bf6573784953075a81f795451f9dcc158a834c555651698094103a759
XSIZE (RandomShooter-0.1-1.tar.gz) = 362257
END-of-randomshooter/distinfo
echo x - randomshooter/Makefile
sed 's/^X//' >randomshooter/Makefile << 'END-of-randomshooter/Makefile'
X# New ports collection makefile for:	randomshooter
X# Date created:		27 Feb 2008
X# Whom:			Dmitry Marakasov <amdmi3 at amdmi3.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	randomshooter
XDISTVERSION=	0.1-1
XCATEGORIES=	games
X# original url: http://parallelrealities.co.uk/download.php?proj=randomShooter&file=${DISTNAME}&type=zip
XMASTER_SITES=	http://www.amdmi3.ru/distfiles/
XDISTNAME=	RandomShooter-${DISTVERSION}
X
XMAINTAINER=	amdmi3 at amdmi3.ru
XCOMMENT=	A simple shoot'em up with online scoring and replays
X
XUSE_GMAKE=	yes
XUSE_SDL=	sdl mixer image ttf net
X
XWRKSRC=		${WRKDIR}/RandomShooter
XPORTDOCS=	*
X
XMAKEFILE=	makefile
XMAKE_ENV=	CXX="${CXX}"
XCXXFLAGS+=	-DINSTALL_DIR=\\\"${DATADIR}/\\\"
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X.for dir in font gfx music
X	${MKDIR} ${DATADIR}/${dir}
X	${INSTALL_DATA} ${WRKSRC}/${dir}/* ${DATADIR}/${dir}
X.endfor
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/help/help.txt ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-randomshooter/Makefile
echo c - randomshooter/files
mkdir -p randomshooter/files > /dev/null 2>&1
echo x - randomshooter/files/patch-makefile
sed 's/^X//' >randomshooter/files/patch-makefile << 'END-of-randomshooter/files/patch-makefile'
X--- makefile.orig	2008-02-26 00:44:53.000000000 +0300
X+++ makefile	2008-02-27 23:28:42.000000000 +0300
X@@ -1,19 +1,19 @@
X VERSION = 0.1
X 
X-CFLAGS = -Wall -pedantic -Werror -DUNIX -DVERSION=$(VERSION)
X-LFLAGS = `sdl-config --libs` -lSDL -lSDL_mixer -lSDL_image -lSDL_ttf -lSDL_net
X+CXXFLAGS += -Wall -DUNIX -DVERSION=$(VERSION) `${SDL_CONFIG} --cflags`
X+LFLAGS = `${SDL_CONFIG} --libs` -lSDL_mixer -lSDL_image -lSDL_ttf -lSDL_net
X OBJS   = animation.o audio.o bullets.o collisions.o colors.o draw.o enemies.o entities.o font.o game.o highscores.o
X OBJS += init.o input.o main.o menu.o movement.o particles.o player.o random.o replay.o score.o screenshot.o
X OBJS += settings.o stars.o vector.o wave.o weapons.o
X PROG = randomshooter
X-CXX = gcc
X+CXX ?= gcc
X 
X # top-level rule to create the program.
X all: $(PROG)
X 
X # compiling other source files.
X %.o: src/%.c src/%.h src/structs.h src/defs.h
X-	$(CXX) $(CFLAGS) -c -s $<
X+	$(CXX) $(CXXFLAGS) -c -s $<
X 
X # linking the program.
X $(PROG): $(OBJS)
X@@ -24,4 +24,4 @@
X 	rm $(PROG) *.o
X 
X install:
X-	echo "make install isn't supported yet..."
X\ No newline at end of file
X+	echo "make install isn't supported yet..."
END-of-randomshooter/files/patch-makefile
echo x - randomshooter/files/patch-src-input.c
sed 's/^X//' >randomshooter/files/patch-src-input.c << 'END-of-randomshooter/files/patch-src-input.c'
X--- src/input.c.orig	2008-02-23 12:14:38.000000000 +0300
X+++ src/input.c	2008-02-27 23:53:35.000000000 +0300
X@@ -170,7 +170,7 @@
X {
X 	char *name = (char *)malloc(25);
X 
X-	strncpy(name, SDL_GetKeyName(inputValue), 24);
X+	strncpy(name, SDL_GetKeyName((SDLKey)inputValue), 24);
X 
X 	if (strcmp(name, "unknown key") == 0)
X 	{
END-of-randomshooter/files/patch-src-input.c
echo x - randomshooter/pkg-descr
sed 's/^X//' >randomshooter/pkg-descr << 'END-of-randomshooter/pkg-descr'
XThis is the first release of a shoot em up game written in SDL. The
Xobjective is simple: you have 1 life and 1 hit will kill you. Try
Xand destroy as many enemies as possible before this happens.
X
XThe game features an online scoring system and the ability to replay
Xgame sessions.
X
XWWW: http://www.parallelrealities.co.uk/randomShooter.php
END-of-randomshooter/pkg-descr
echo x - randomshooter/pkg-plist
sed 's/^X//' >randomshooter/pkg-plist << 'END-of-randomshooter/pkg-plist'
Xbin/randomshooter
X%%DATADIR%%/font/blackWolf.ttf
X%%DATADIR%%/gfx/enemy_bullet0001.png
X%%DATADIR%%/gfx/enemy_frame0001.png
X%%DATADIR%%/gfx/enemy_frame0002.png
X%%DATADIR%%/gfx/enemy_frame0003.png
X%%DATADIR%%/gfx/enemy_frame0004.png
X%%DATADIR%%/gfx/enemy_frame0005.png
X%%DATADIR%%/gfx/enemy_frame0006.png
X%%DATADIR%%/gfx/enemy_frame0007.png
X%%DATADIR%%/gfx/enemy_frame0008.png
X%%DATADIR%%/gfx/enemy_frame0009.png
X%%DATADIR%%/gfx/enemy_frame0010.png
X%%DATADIR%%/gfx/enemy_frame0011.png
X%%DATADIR%%/gfx/enemy_frame0012.png
X%%DATADIR%%/gfx/enemy_frame0013.png
X%%DATADIR%%/gfx/enemy_frame0014.png
X%%DATADIR%%/gfx/enemy_frame0015.png
X%%DATADIR%%/gfx/menu_ball0001.png
X%%DATADIR%%/gfx/menu_ball0002.png
X%%DATADIR%%/gfx/menu_ball0003.png
X%%DATADIR%%/gfx/menu_ball0004.png
X%%DATADIR%%/gfx/menu_ball0005.png
X%%DATADIR%%/gfx/menu_ball0006.png
X%%DATADIR%%/gfx/menu_ball0007.png
X%%DATADIR%%/gfx/menu_ball0008.png
X%%DATADIR%%/gfx/menu_ball0009.png
X%%DATADIR%%/gfx/menu_ball0010.png
X%%DATADIR%%/gfx/menu_ball0011.png
X%%DATADIR%%/gfx/menu_ball0012.png
X%%DATADIR%%/gfx/menu_ball0013.png
X%%DATADIR%%/gfx/menu_ball0014.png
X%%DATADIR%%/gfx/menu_ball0015.png
X%%DATADIR%%/gfx/player0001.png
X%%DATADIR%%/gfx/player_bullet0001.png
X%%DATADIR%%/gfx/points_frame0001.png
X%%DATADIR%%/gfx/points_frame0002.png
X%%DATADIR%%/gfx/points_frame0003.png
X%%DATADIR%%/gfx/points_frame0004.png
X%%DATADIR%%/gfx/points_frame0005.png
X%%DATADIR%%/gfx/points_frame0006.png
X%%DATADIR%%/gfx/points_frame0007.png
X%%DATADIR%%/gfx/points_frame0008.png
X%%DATADIR%%/gfx/points_frame0009.png
X%%DATADIR%%/gfx/points_frame0010.png
X%%DATADIR%%/gfx/points_frame0011.png
X%%DATADIR%%/gfx/points_frame0012.png
X%%DATADIR%%/gfx/points_frame0013.png
X%%DATADIR%%/gfx/points_frame0014.png
X%%DATADIR%%/gfx/points_frame0015.png
X%%DATADIR%%/music/17.mod
X at dirrm %%DATADIR%%/music
X at dirrm %%DATADIR%%/gfx
X at dirrm %%DATADIR%%/font
X at dirrm %%DATADIR%%
END-of-randomshooter/pkg-plist
exit
--- randomshooter-0.1-1.shar ends here ---

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



More information about the freebsd-ports-bugs mailing list