ports/103012: [NEW PORT] games/untahris: Play several classic fun, simple arcade games in multiplayer mode

Dmitry Marakasov amdmi3 at mail.ru
Fri Sep 8 03:30:20 UTC 2006


>Number:         103012
>Category:       ports
>Synopsis:       [NEW PORT] games/untahris: Play several classic fun, simple arcade games in multiplayer mode
>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 Sep 08 03:30:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Fri Aug 11 00:27:45 MSD 2006 amdmi3 at hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
In the Untahris Common Playground, you can play several classic
fun, simple arcade games. But playing alone is not fun, and you can
play them in multiplayer mode (on one computer, local network, or
maybe Internet).

Now, Untahris has an original experimental feature, which makes it
more than just a bundle of these games! In multiplayer mode each
player can play a different game --- however, they play all on the
same board. This may lead to funny interactions, battles or alliances
between them.

The games in Untahris have been modified to make them better interact
with each other. Thus, in each game you are allowed to shoot and
collect bonuses, even if it was not a part of the original game.

WWW: http://untahris.sourceforge.net

>How-To-Repeat:
>Fix:

--- untahris-1.0beta.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:
#
#	untahris
#	untahris/Makefile
#	untahris/files
#	untahris/files/patch-untahris.cpp
#	untahris/files/patch-intface.cpp
#	untahris/pkg-descr
#	untahris/distinfo
#
echo c - untahris
mkdir -p untahris > /dev/null 2>&1
echo x - untahris/Makefile
sed 's/^X//' >untahris/Makefile << 'END-of-untahris/Makefile'
X# New ports collection makefile for:	untahris
X# Date created:		08 Sep 2006
X# Whom:			Dmitry Marakasov <amdmi3 at mail.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	untahris
XDISTVERSION=	1.0beta
XCATEGORIES=	games
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	${PORTNAME}-${DISTVERSION}-src
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	amdmi3 at mail.ru
XCOMMENT=	Play several classic fun, simple arcade games in multiplayer mode
X
XUSE_SDL=	sdl net ttf
XUSE_GCC=	3.4+
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
XPLIST_FILES=	bin/untahris %%DATADIR%%/VeraBd.ttf %%DATADIR%%/graph16.unt
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|verabd.ttf|${DATADIR}/VeraBd.ttf|; \
X		s|graph%d|${DATADIR}/graph%d|' ${WRKSRC}/intface.cpp
X	@${REINPLACE_CMD} -e 's|SDL/||' ${WRKSRC}/net.cpp ${WRKSRC}/untahris.h
X
Xdo-build:
X	cd ${WRKSRC} && ${CXX} ${CXXFLAGS} `${SDL_CONFIG} --libs --cflags` -lSDL_net -lSDL_ttf untahris.cpp -o untahris
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/untahris ${PREFIX}/bin
X	${MKDIR} ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/VeraBd.ttf ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/graph16.unt ${DATADIR}
X
X.include <bsd.port.mk>
END-of-untahris/Makefile
echo c - untahris/files
mkdir -p untahris/files > /dev/null 2>&1
echo x - untahris/files/patch-untahris.cpp
sed 's/^X//' >untahris/files/patch-untahris.cpp << 'END-of-untahris/files/patch-untahris.cpp'
X--- untahris.cpp.orig	Tue Sep  5 16:50:04 2006
X+++ untahris.cpp	Fri Sep  8 06:54:50 2006
X@@ -6,7 +6,7 @@
X 
X #include "untahris.h"
X 
X-char *configfile = "config.unt";
X+char *configfile = ".untahris.config";
X 
X #include "tools.cpp"
X #include "intface.cpp"
X@@ -117,6 +117,7 @@
X   }
X 
X int main(int argc, char **argv) {
X+	chdir(getenv("HOME"));
X   g.sizeX = 0;
X   g.sizeY = 0;
X   d.ofsX = 0;
END-of-untahris/files/patch-untahris.cpp
echo x - untahris/files/patch-intface.cpp
sed 's/^X//' >untahris/files/patch-intface.cpp << 'END-of-untahris/files/patch-intface.cpp'
X--- intface.cpp.orig	Mon Sep  4 19:16:15 2006
X+++ intface.cpp	Fri Sep  8 06:57:45 2006
X@@ -517,7 +517,7 @@
X       thruster.pixel[y][x] = 'P';
X     }
X   
X-  char buf[64];
X+  char buf[1024];
X   sprintf(buf, "graph%d.unt", d.Res);
X   FILE *f = fopen(buf, "rt");
X   if(f) {
END-of-untahris/files/patch-intface.cpp
echo x - untahris/pkg-descr
sed 's/^X//' >untahris/pkg-descr << 'END-of-untahris/pkg-descr'
XIn the Untahris Common Playground, you can play several classic
Xfun, simple arcade games. But playing alone is not fun, and you can
Xplay them in multiplayer mode (on one computer, local network, or
Xmaybe Internet).
X
XNow, Untahris has an original experimental feature, which makes it
Xmore than just a bundle of these games! In multiplayer mode each
Xplayer can play a different game --- however, they play all on the
Xsame board. This may lead to funny interactions, battles or alliances
Xbetween them.
X
XThe games in Untahris have been modified to make them better interact
Xwith each other. Thus, in each game you are allowed to shoot and
Xcollect bonuses, even if it was not a part of the original game.
X
XWWW: http://untahris.sourceforge.net
END-of-untahris/pkg-descr
echo x - untahris/distinfo
sed 's/^X//' >untahris/distinfo << 'END-of-untahris/distinfo'
XMD5 (untahris-1.0beta-src.tgz) = 567f6b203dc8b7efb26ec7f9eae08fe0
XSHA256 (untahris-1.0beta-src.tgz) = 9c1067c9edb64fce5e23c11de34fe20ed6591e3048388fec89e921f9e350d0a5
XSIZE (untahris-1.0beta-src.tgz) = 70050
END-of-untahris/distinfo
exit
--- untahris-1.0beta.shar ends here ---

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



More information about the freebsd-ports-bugs mailing list