Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2012 01:31:19 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/167855: [NEW PORT] games/smashbattle: Smash Battle is an 8-bit style platform game
Message-ID:  <20120513233122.92044106566B@hub.freebsd.org>
Resent-Message-ID: <201205132340.q4DNe2A5094439@freefall.freebsd.org>

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

>Number:         167855
>Category:       ports
>Synopsis:       [NEW PORT] games/smashbattle: Smash Battle is an 8-bit style platform 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:   Sun May 13 23:40:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
Smash Battle is a cross platform, 8-bit style game where two,
three or four player face off against each other.
The game was inspired by the mario battle minigame from mario 3
when we started developing, but changed a lot over time.

WWW: http://smashbattle.condor.tv/

Generated manually, tested with RedPorts and port test, sent with FreeBSD Port Tools 0.99_6 (mode: new)
>How-To-Repeat:
>Fix:

--- .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:
#
#	smashbattle
#	smashbattle/Makefile
#	smashbattle/pkg-descr
#	smashbattle/distinfo
#	smashbattle/files
#	smashbattle/files/patch-Makefile
#
echo c - smashbattle
mkdir -p smashbattle > /dev/null 2>&1
echo x - smashbattle/Makefile
sed 's/^X//' >smashbattle/Makefile << 'f2a6a2fee7d9c62b80182fd42bda2e0d'
X# New Ports collection makefile for:	smashbattle
X# Date created:		2012-05-11
X# Whom:			nemysis@gmx.ch
X#
X# $FreeBSD$
X#
X
XPORTNAME=	smashbattle
XPORTVERSION=	110224
XCATEGORIES=	games
XMASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/beta-${PORTVERSION}
XDISTNAME=	${PORTNAME}-${PORTVERSION}-src
X
XMAINTAINER=	nemysis@gmx.ch
XCOMMENT=	Smash Battle is an 8-bit style platform game
X
XWRKSRC=		${WRKDIR}/${DISTNAME}/battle/Battle
X
XUSE_ZIP=	yes
XEXTRACT_AFTER_ARGS=	-d ${WRKDIR}/${DISTNAME}
XUSE_GMAKE=	yes
XUSE_DOS2UNIX=	*.cpp *.h *.ini Makefile
XALL_TARGET=	battle
XUSE_SDL=	sdl image mixer
XMAKE_JOBS_SAFE=	yes
X
XCFLAGS+=	-I${LOCALBASE}/include
XLDFLAGS+=	-L${LOCALBASE}/lib
X
Xpre-extract:
X	@${MKDIR} ${WRKDIR}/${DISTNAME}
X
XPLIST_FILES=	bin/smashbattle \
X			share/applications/${PORTNAME}.desktop \
X			share/applications/${PORTNAME}fs.desktop \
X			share/pixmaps/${PORTNAME}.png
XPLIST_DIRSTRY=	share/applications
X
XPORTDATA=	*
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|/usr/share/games/smashbattle/gfx/SB.png|${PREFIX}/share/pixmaps/${PORTNAME}.png|' \
X		${WRKSRC}/linux/${PORTNAME}.desktop ${WRKSRC}/linux/${PORTNAME}fs.desktop
X
Xdo-install:
X# Scripts
X	@${PRINTF} "#!/bin/sh\n\ncd ${DATADIR} &&\
X		./${PORTNAME} \"$$\@\"\n" > ${WRKDIR}/${PORTNAME}.sh
X	@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
X# Executable
X	${MKDIR} ${DATADIR}
X	${INSTALL_PROGRAM} ${WRKSRC}/battle ${DATADIR}/${PORTNAME}
X
X# Data
X	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "gfx music sfx stage" ${DATADIR})
X
X# Pixmaps and Desktop
X	${INSTALL_DATA} ${WRKSRC}/gfx/SB.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
X	${MKDIR} ${PREFIX}/share/applications
X	${INSTALL_DATA} ${WRKSRC}/linux/${PORTNAME}.desktop ${PREFIX}/share/applications/
X	${INSTALL_DATA} ${WRKSRC}/linux/${PORTNAME}fs.desktop ${PREFIX}/share/applications/
X
X.include <bsd.port.mk>
f2a6a2fee7d9c62b80182fd42bda2e0d
echo x - smashbattle/pkg-descr
sed 's/^X//' >smashbattle/pkg-descr << '214ac2415479cd5bcd986ac689ece078'
XSmash Battle is a cross platform, 8-bit style game where two,
Xthree or four player face off against each other.
XThe game was inspired by the mario battle minigame from mario 3
Xwhen we started developing, but changed a lot over time.
X
XWWW: http://smashbattle.condor.tv/
214ac2415479cd5bcd986ac689ece078
echo x - smashbattle/distinfo
sed 's/^X//' >smashbattle/distinfo << '332d226677aba9a93b8956a7bb82fc71'
XSHA256 (smashbattle-110224-src.zip) = 3856d97bf09e63b203c997190299e0aacfb9f947e9529e634046e7596e1e8ad1
XSIZE (smashbattle-110224-src.zip) = 12238568
332d226677aba9a93b8956a7bb82fc71
echo c - smashbattle/files
mkdir -p smashbattle/files > /dev/null 2>&1
echo x - smashbattle/files/patch-Makefile
sed 's/^X//' >smashbattle/files/patch-Makefile << 'fed30405034e5e808ad500aa8fa87cd6'
X--- Makefile.orig	2012-05-11 15:51:06.000000000 +0200
X+++ Makefile	2012-05-11 16:34:16.000000000 +0200
X@@ -1,6 +1,6 @@
X CC=g++
X-CFLAGS=-c -Wall
X-LDFLAGS=-lSDL -lSDL_mixer -lz -lstdc++
X+CFLAGS += $(shell sdl-config --cflags) -c -Wall
X+LDFLAGS += $(shell sdl-config --libs) -lSDL -lSDL_mixer -lz -lstdc++ -lm
X SRCS=Airstrike.cpp\
X 	AirstrikePowerUp.cpp\
X 	AmmoPowerUp.cpp\
fed30405034e5e808ad500aa8fa87cd6
exit
--- .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?20120513233122.92044106566B>