Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 1998 15:39:14 +0400 (MSD)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6654: New port: Maelstrom-2.0.6
Message-ID:  <199805161139.PAA28392@icc.surw.chel.su>

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

>Number:         6654
>Category:       ports
>Synopsis:       New port: Maelstrom-2.0.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 16 04:40:01 PDT 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway ICC
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

>Description:

   This is a port of Asteroids-style game for X Window System.
Maelstrom is a port of the high resolution, fast action Asteroids-style
Mac game Maelstrom originally written by Ambrosia Software.
Unique to this port is a kick-butt network play mode.


# 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:
#
#	Maelstrom-2.0.6
#	Maelstrom-2.0.6/Makefile
#	Maelstrom-2.0.6/files
#	Maelstrom-2.0.6/files/md5
#	Maelstrom-2.0.6/files/Makeflags
#	Maelstrom-2.0.6/patches
#	Maelstrom-2.0.6/patches/patch-aa
#	Maelstrom-2.0.6/patches/patch-ab
#	Maelstrom-2.0.6/pkg
#	Maelstrom-2.0.6/pkg/PLIST
#	Maelstrom-2.0.6/pkg/COMMENT
#	Maelstrom-2.0.6/pkg/DESCR
#
echo c - Maelstrom-2.0.6
mkdir -p Maelstrom-2.0.6 > /dev/null 2>&1
echo x - Maelstrom-2.0.6/Makefile
sed 's/^X//' >Maelstrom-2.0.6/Makefile << 'END-of-Maelstrom-2.0.6/Makefile'
X# New ports collection makefile for:	Maelstrom
X# Version required:			2.0.6
X# Date created:				13 May 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=		Maelstrom-1.4.3-L2.0.6-src
XPKGNAME=		Maelstrom-2.0.6
XCATEGORIES=		games x11
XMASTER_SITES=		${MASTER_SITE_SUNSITE} \
X			ftp://ftp.devolution.com/pub/maelstrom/
XMASTER_SITE_SUBDIR=	games/x11/networked
X
XMAINTAINER=		andy@icc.surw.chel.su
X
XLIB_DEPENDS=		Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
X
XUSE_X11=		yes
XWRKSRC=			${WRKDIR}/Maelstrom
X
Xdo-configure:
X	@ ${CP} ${FILESDIR}/Makeflags ${WRKSRC}
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/Maelstrom ${PREFIX}/bin
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/Maelstrom_sound ${PREFIX}/bin
X	@ ${MKDIR} ${PREFIX}/share/Maelstrom
X.for file in Fonts Sounds Sprites
X	@ ${INSTALL_DATA} ${WRKSRC}/Maelstrom\ ${file} ${PREFIX}/share/Maelstrom
X.endfor
X	@ ${INSTALL_DATA} ${WRKSRC}/Maelstrom-Scores ${PREFIX}/share/Maelstrom
X	@ chown games:games ${PREFIX}/share/Maelstrom/Maelstrom-Scores
X	@ chmod 666 ${PREFIX}/share/Maelstrom/Maelstrom-Scores
X	@ ${MKDIR} ${PREFIX}/share/Maelstrom/Images
X	@ ${INSTALL_DATA} ${WRKSRC}/Images/*n ${PREFIX}/share/Maelstrom/Images
X
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${PREFIX}/share/doc/Maelstrom
X.for file in Ambrosia.URL BUGS Changelog Copyright README README.Options README.network
X	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/Maelstrom
X.endfor
X	@ ${INSTALL_DATA} ${WRKSRC}/Doc/* ${PREFIX}/share/doc/Maelstrom
X.endif
X
X.include <bsd.port.mk>
END-of-Maelstrom-2.0.6/Makefile
echo c - Maelstrom-2.0.6/files
mkdir -p Maelstrom-2.0.6/files > /dev/null 2>&1
echo x - Maelstrom-2.0.6/files/md5
sed 's/^X//' >Maelstrom-2.0.6/files/md5 << 'END-of-Maelstrom-2.0.6/files/md5'
XMD5 (Maelstrom-1.4.3-L2.0.6-src.tar.gz) = 350806a4fa46e7aae76f089dba4b1861
END-of-Maelstrom-2.0.6/files/md5
echo x - Maelstrom-2.0.6/files/Makeflags
sed 's/^X//' >Maelstrom-2.0.6/files/Makeflags << 'END-of-Maelstrom-2.0.6/files/Makeflags'
X# This file contains the template for Makeflags
X
XSYSTEM = FreeBSD
XFEATURES =  -DASYNCHRONOUS_IO -DUSE_POSIX_SIGNALS -DUNSIGNED_AUDIO_DATA -DFORCE_XSHM -DNETPLAY
X
XLOGIC = netlogic
X
XXPMINCLUDE = 
XXPMLINKDIR = 
X
XBINDIR = ${PREFIX}/bin
XLIBDIR = ${PREFIX}/share/Maelstrom
XDATAFILES = Images/*.icon Images/*.cicn "Maelstrom Fonts" \
X            "Maelstrom Sounds" "Maelstrom Sprites"
X
XOBJS = main.o framebuf.o v_framebuf.o x11_framebuf.o vga_framebuf.o \
X       dga_framebuf.o fontserv.o sound.o Mac_Resource.o imagedump.o \
X       init.o $(LOGIC)/$(LOGIC).o \
X       controls.o scores.o dialog.o fastrand.o netscore.o checksum.o \
X       Utils.o shared.o myerror.o
XSOUNDOBJS = Maelstrom_sound.o Mac_Resource.o soundres.o mixer.o shared.o myerror.o
X
XCXX = g++
XOPTIMIZE = -O6 -fomit-frame-pointer
XX11INCLUDE = -I${X11BASE}/include
XINCLUDES = -I$(LOGIC) $(X11INCLUDE) $(XPMINCLUDE)
XCFLAGS = $(OPTIMIZE) $(INCLUDES) $(FEATURES) \
X                              -DSYSTEM=\"$(SYSTEM)\" -DLIBDIR=\"$(LIBDIR)\"
XEXTRALIBS = 
XX11LINKDIR = -L${X11BASE}/lib
XX11LIBS = -lXpm $(XPMLINKDIR) -lX11 -lXext $(X11LINKDIR)
XCSUMLIB = 
XLIBS = $(EXTRALIBS) $(X11LIBS) $(CSUMLIB)
XSOUNDLIBS = 
X
XINSTALL = install
X
Xall: $(MAELSTROM)
X
END-of-Maelstrom-2.0.6/files/Makeflags
echo c - Maelstrom-2.0.6/patches
mkdir -p Maelstrom-2.0.6/patches > /dev/null 2>&1
echo x - Maelstrom-2.0.6/patches/patch-aa
sed 's/^X//' >Maelstrom-2.0.6/patches/patch-aa << 'END-of-Maelstrom-2.0.6/patches/patch-aa'
X--- mixer.cpp	Thu Dec  5 13:14:44 1996
X+++ /home/andy/tmp/wrk/mixer.cpp	Wed May 13 23:06:18 1998
X@@ -283,10 +283,12 @@
X #endif /* linux */
X 
X 	/* This is necessary so that the sound server stays in sync */
X+#ifndef __FreeBSD__
X 	long flags;
X 	flags = fcntl(dsp_fd, F_GETFL, 0);
X 	flags |= O_SYNC;
X 	(void) fcntl(dsp_fd, F_SETFL, flags);
X+#endif
X 
X 	return(0);
X }
END-of-Maelstrom-2.0.6/patches/patch-aa
echo x - Maelstrom-2.0.6/patches/patch-ab
sed 's/^X//' >Maelstrom-2.0.6/patches/patch-ab << 'END-of-Maelstrom-2.0.6/patches/patch-ab'
X--- mixer.h	Sun May 25 21:18:10 1997
X+++ /home/andy/tmp/wrk/mixer.h	Thu May 14 00:25:17 1998
X@@ -41,7 +41,7 @@
X };
X 
X #define _PATH_DEV_AUDIO	"/dev/audio"
X-#ifdef linux
X+#if (defined(linux) || defined(__FreeBSD__))
X #define _PATH_DEV_DSP	"/dev/dsp"
X #else
X #define _PATH_DEV_DSP	_PATH_DEV_AUDIO
END-of-Maelstrom-2.0.6/patches/patch-ab
echo c - Maelstrom-2.0.6/pkg
mkdir -p Maelstrom-2.0.6/pkg > /dev/null 2>&1
echo x - Maelstrom-2.0.6/pkg/PLIST
sed 's/^X//' >Maelstrom-2.0.6/pkg/PLIST << 'END-of-Maelstrom-2.0.6/pkg/PLIST'
Xbin/Maelstrom
Xbin/Maelstrom_sound
Xshare/Maelstrom/Maelstrom Fonts
Xshare/Maelstrom/Maelstrom Sounds
Xshare/Maelstrom/Maelstrom Sprites
X@owner games
X@group games
X@mode 666
Xshare/Maelstrom/Maelstrom-Scores
X@mode
X@group
X@owner
Xshare/Maelstrom/Images/Maelstrom_Icon#100.cicn
Xshare/Maelstrom/Images/Maelstrom_Icon#101.cicn
Xshare/Maelstrom/Images/Maelstrom_Icon#102.cicn
Xshare/Maelstrom/Images/Maelstrom_Icon#103.cicn
Xshare/Maelstrom/Images/Maelstrom_Icon#104.cicn
Xshare/Maelstrom/Images/Maelstrom_Icon#110.cicn
Xshare/Maelstrom/Images/Maelstrom_Icon#128.cicn
Xshare/Maelstrom/Images/Maelstrom_Icon#129.cicn
Xshare/Maelstrom/Images/Maelstrom_Icon#130.cicn
Xshare/Maelstrom/Images/Maelstrom_Icon#131.cicn
Xshare/Maelstrom/Images/Maelstrom_Icon#132.cicn
Xshare/Maelstrom/Images/Maelstrom_Icon#133.cicn
Xshare/Maelstrom/Images/Maelstrom_Icon#134.cicn
Xshare/Maelstrom/Images/Maelstrom_Icon#135.cicn
Xshare/Maelstrom/Images/Maelstrom_Icon#136.cicn
Xshare/Maelstrom/Images/Maelstrom_Icon#137.cicn
Xshare/Maelstrom/Images/Maelstrom_Sprites#128.icon
Xshare/Maelstrom/Images/Maelstrom_Titles#100.icon
Xshare/Maelstrom/Images/Maelstrom_Titles#101.icon
Xshare/Maelstrom/Images/Maelstrom_Titles#102.icon
Xshare/Maelstrom/Images/Maelstrom_Titles#128.icon
Xshare/Maelstrom/Images/Maelstrom_Titles#129.icon
Xshare/Maelstrom/Images/Maelstrom_Titles#130.icon
Xshare/Maelstrom/Images/Maelstrom_Titles#133.icon
Xshare/Maelstrom/Images/Maelstrom_Titles#134.icon
Xshare/Maelstrom/Images/Maelstrom_Titles#135.icon
Xshare/Maelstrom/Images/Maelstrom_Titles#999.icon
Xshare/doc/Maelstrom/Ambrosia.FAQ
Xshare/doc/Maelstrom/Ambrosia.URL
Xshare/doc/Maelstrom/BUGS
Xshare/doc/Maelstrom/Changelog
Xshare/doc/Maelstrom/Copyright
Xshare/doc/Maelstrom/Maelstrom-Announce
Xshare/doc/Maelstrom/Maelstrom.FAQ
Xshare/doc/Maelstrom/Networking.Paper
Xshare/doc/Maelstrom/Porting.Paper
Xshare/doc/Maelstrom/Quotes
Xshare/doc/Maelstrom/README
Xshare/doc/Maelstrom/README.Options
Xshare/doc/Maelstrom/README.network
Xshare/doc/Maelstrom/RSA.README
Xshare/doc/Maelstrom/Technical_Notes-v1.0
Xshare/doc/Maelstrom/Technical_Notes-v1.1
Xshare/doc/Maelstrom/Technical_Notes-v2.0
X@dirrm share/Maelstrom/Images
X@dirrm share/Maelstrom
X@dirrm share/doc/Maelstrom
END-of-Maelstrom-2.0.6/pkg/PLIST
echo x - Maelstrom-2.0.6/pkg/COMMENT
sed 's/^X//' >Maelstrom-2.0.6/pkg/COMMENT << 'END-of-Maelstrom-2.0.6/pkg/COMMENT'
XAsteroids-style game for X Window System.
END-of-Maelstrom-2.0.6/pkg/COMMENT
echo x - Maelstrom-2.0.6/pkg/DESCR
sed 's/^X//' >Maelstrom-2.0.6/pkg/DESCR << 'END-of-Maelstrom-2.0.6/pkg/DESCR'
XA port of the high resolution, fast action Asteroids-style
XMac game Maelstrom originally written by Ambrosia Software.
XUnique to this port is a kick-butt network play mode.
X
XHomepage: http://www.devolution.com/~slouken/Maelstrom
END-of-Maelstrom-2.0.6/pkg/DESCR
exit


>How-To-Repeat:

>Fix:
	
   Please, check and commit this port. 
   Take a look at the problem of pkd_add this package. It contains
files with spaces in name, I don't know what to deal with this.

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805161139.PAA28392>