Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2008 03:50:51 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/122895: [NEW PORT] games/biniax2: Original logic game with arcade and tactics modes
Message-ID:  <20080418235052.04DCA1702F@hades.panopticon>
Resent-Message-ID: <200804190000.m3J002xk090498@freefall.freebsd.org>

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

>Number:         122895
>Category:       ports
>Synopsis:       [NEW PORT] games/biniax2: Original logic game with arcade and tactics modes
>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:   Sat Apr 19 00:00: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 #5: Fri Mar 14 14:26:43 MSK 2008 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
Biniax-2 is original and entertaining game. Takes a minute to learn
and gives you hours and hours of gameplay. Discover the different
Biniax-2 faces - for action heroes or careful strategists.  Biniax-2
has three game modes (two singleplayer and one multiplayer), hall
of fame, dynamic music and nice cartoon look.

WWW: http://biniax.com/index2.html
>How-To-Repeat:
>Fix:

--- biniax2-1.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:
#
#	biniax2
#	biniax2/Makefile
#	biniax2/pkg-descr
#	biniax2/pkg-plist
#	biniax2/distinfo
#	biniax2/files
#	biniax2/files/patch-biniax.c
#
echo c - biniax2
mkdir -p biniax2 > /dev/null 2>&1
echo x - biniax2/Makefile
sed 's/^X//' >biniax2/Makefile << 'END-of-biniax2/Makefile'
X# New ports collection makefile for:	biniax2
X# Date created:		16 Apr 2008
X# Whom:			Dmitry Marakasov <amdmi3@amdmi3.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	biniax2
XPORTVERSION=	1.0
XCATEGORIES=	games
XMASTER_SITES=	http://mordred.dir.bg/biniax/ \
X		http://www.amdmi3.ru/distfiles/
XDISTNAME=	${PORTNAME}-fullsrc
X
XMAINTAINER=	amdmi3@amdmi3.ru
XCOMMENT=	Original logic game with arcade and tactics modes
X
XUSE_SDL=	sdl mixer image
X
XWRKSRC=		${WRKDIR}
X
Xpost-patch:
X	@${RM} -f ${WRKSRC}/data/Thumbs.db
X	@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|g' \
X		${WRKSRC}/desktop/gfx.c ${WRKSRC}/desktop/snd.c
X
Xdo-build:
X	cd ${WRKSRC} && ${CC} ${CFLAGS} biniax.c hof.c desktop/cfg.c \
X		desktop/gfx.c desktop/snd.c desktop/inp.c desktop/sys.c \
X		-I. -Idesktop `${SDL_CONFIG} --cflags --libs` \
X		-lSDL_image -lSDL_mixer -o ${PORTNAME}
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X	${MKDIR} ${DATADIR}
X	cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${DATADIR}
X
X.include <bsd.port.mk>
END-of-biniax2/Makefile
echo x - biniax2/pkg-descr
sed 's/^X//' >biniax2/pkg-descr << 'END-of-biniax2/pkg-descr'
XBiniax-2 is original and entertaining game. Takes a minute to learn
Xand gives you hours and hours of gameplay. Discover the different
XBiniax-2 faces - for action heroes or careful strategists.  Biniax-2
Xhas three game modes (two singleplayer and one multiplayer), hall
Xof fame, dynamic music and nice cartoon look.
X
XWWW: http://biniax.com/index2.html
END-of-biniax2/pkg-descr
echo x - biniax2/pkg-plist
sed 's/^X//' >biniax2/pkg-plist << 'END-of-biniax2/pkg-plist'
Xbin/biniax2
X%%DATADIR%%/graphics/background0.png
X%%DATADIR%%/graphics/background1.png
X%%DATADIR%%/graphics/background2.png
X%%DATADIR%%/graphics/cursor0.png
X%%DATADIR%%/graphics/cursor1.png
X%%DATADIR%%/graphics/element0.png
X%%DATADIR%%/graphics/element1.png
X%%DATADIR%%/graphics/element2.png
X%%DATADIR%%/graphics/element3.png
X%%DATADIR%%/graphics/elementB.png
X%%DATADIR%%/graphics/font.png
X%%DATADIR%%/graphics/help.png
X%%DATADIR%%/graphics/logo.png
X%%DATADIR%%/graphics/marker0.png
X%%DATADIR%%/graphics/marker1.png
X%%DATADIR%%/graphics/movecount.png
X%%DATADIR%%/graphics/particle0.png
X%%DATADIR%%/graphics/particle1.png
X%%DATADIR%%/graphics/particle2.png
X%%DATADIR%%/graphics/roadmap.png
X%%DATADIR%%/graphics/splash.png
X%%DATADIR%%/graphics/sweep.png
X%%DATADIR%%/graphics/window.png
X%%DATADIR%%/music/biniax_common00.it
X%%DATADIR%%/music/biniax_common01.it
X%%DATADIR%%/music/biniax_common02.it
X%%DATADIR%%/music/biniax_common03.it
X%%DATADIR%%/music/biniax_common04.it
X%%DATADIR%%/music/biniax_common05.it
X%%DATADIR%%/music/biniax_common06.it
X%%DATADIR%%/music/biniax_common07.it
X%%DATADIR%%/sound/sfx1.wav
X%%DATADIR%%/sound/sfx2.wav
X%%DATADIR%%/sound/sfx3.wav
X%%DATADIR%%/sound/sfx4.wav
X%%DATADIR%%/sound/sfx5.wav
X%%DATADIR%%/text/help.txt
X@dirrm %%DATADIR%%/text
X@dirrm %%DATADIR%%/sound
X@dirrm %%DATADIR%%/music
X@dirrm %%DATADIR%%/graphics
X@dirrm %%DATADIR%%
END-of-biniax2/pkg-plist
echo x - biniax2/distinfo
sed 's/^X//' >biniax2/distinfo << 'END-of-biniax2/distinfo'
XMD5 (biniax2-fullsrc.tar.gz) = 2bd3a46f5caea361ed8a7ec60a16f110
XSHA256 (biniax2-fullsrc.tar.gz) = 50db7c7a6bd7377aa1b4de617ad4d3abebc81212b8d72f384d59cf937f758508
XSIZE (biniax2-fullsrc.tar.gz) = 2972058
END-of-biniax2/distinfo
echo c - biniax2/files
mkdir -p biniax2/files > /dev/null 2>&1
echo x - biniax2/files/patch-biniax.c
sed 's/^X//' >biniax2/files/patch-biniax.c << 'END-of-biniax2/files/patch-biniax.c'
X--- biniax.c.orig	2008-04-08 09:25:14.000000000 +0400
X+++ biniax.c	2008-04-16 22:33:02.000000000 +0400
X@@ -89,6 +89,15 @@
X 
X int main( int argc, char *argv[] )
X {
X+	if (chdir(getenv("HOME")) != 0)
X+		err(1, "cannot chdir to $HOME");
X+
X+	if (mkdir(".biniax2", 0755) != 0 && errno != EEXIST)
X+		err(1, "cannot mkdir $HOME/.biniax2");
X+
X+	if (chdir(".biniax2") != 0)
X+		err(1, "cannot chdir to $HOME/.biniax2");
X+
X 	BNX_BOOL		bquit		= BNX_FALSE;
X 	BNX_INT16		enterState	= cStateMainMenu;
X 	BNX_INT16		nmenu		= 0;
END-of-biniax2/files/patch-biniax.c
exit
--- biniax2-1.0.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?20080418235052.04DCA1702F>