ports/119439: [NEW PORT] games/apricots: Fly a little plane around and shoot things and drop bombs

Dmitry Marakasov amdmi3 at amdmi3.ru
Mon Jan 7 23:40:02 UTC 2008


>Number:         119439
>Category:       ports
>Synopsis:       [NEW PORT] games/apricots: Fly a little plane around and shoot things and drop bombs
>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:   Mon Jan 07 23:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RC1 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RC1 FreeBSD 7.0-RC1 #0: Sat Jan 5 03:26:52 MSK 2008 root at hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
Despite the name, it has nothing to do with apricots. It's a game
where you fly a little plane around the screen and shoot things and
drop bombs on enemy targets, and it's meant to be quick and fun.

There can be up to 6 planes, at most two human-controlled. All
others will be computer-controlled. Network support is in to do
list.

You must shoot at another's planes, destroy others' base and try
to keep alive. You may return to your base to refill your ammo. The
scenery is randomly generated.

Currently the game has no menus. You run it, play it, and it exits
at end. To fix this is also in to do list.

Please take a look at apricots.cfg file. You will found some good
options there. (currently this is the only way of changing game
options)

WWW: http://www.fishies.org.uk/apricots.html
>How-To-Repeat:
>Fix:

--- apricots-0.2.6.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:
#
#	apricots
#	apricots/Makefile
#	apricots/files
#	apricots/files/patch-sampleio.cpp
#	apricots/pkg-descr
#	apricots/pkg-plist
#	apricots/distinfo
#
echo c - apricots
mkdir -p apricots > /dev/null 2>&1
echo x - apricots/Makefile
sed 's/^X//' >apricots/Makefile << 'END-of-apricots/Makefile'
X# New ports collection makefile for:	apricots
X# Date created:		07 Jan 2008
X# Whom:			Dmitry Marakasov <amdmi3 at amdmi3.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	apricots
XPORTVERSION=	0.2.6
XCATEGORIES=	games
XMASTER_SITES=	http://www.fishies.org.uk/ \
X		http://www.amdmi3.ru/distfiles/
X
XMAINTAINER=	amdmi3 at amdmi3.ru
XCOMMENT=	Fly a little plane around and shoot things and drop bombs
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XUSE_SDL=	sdl
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
XCONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
X
XPORTDOCS=	README
X
XOPTIONS=	OPENAL	"Enable OpenAL audio" on
X
X.include <bsd.port.pre.mk>
X
X.if !defined(WITHOUT_OPENAL)
XLIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal \
X		alut.1:${PORTSDIR}/audio/freealut
X.endif
X
Xpost-patch:
X.if defined(WITHOUT_OPENAL)
X	@${REINPLACE_CMD} -e 's|-DAP_AUDIO_OPENAL||' ${WRKSRC}/configure
X.else
X	@${REINPLACE_CMD} -e '/^LIBS = / s|$$| -lopenal -lalut|' \
X		${WRKSRC}/apricots/Makefile.in
X.endif
X	@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
X
X.if !defined(NOPORTDOCS)
Xpost-install:
X	${MKDIR} ${DOCSDIR}
X.for f in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.post.mk>
END-of-apricots/Makefile
echo c - apricots/files
mkdir -p apricots/files > /dev/null 2>&1
echo x - apricots/files/patch-sampleio.cpp
sed 's/^X//' >apricots/files/patch-sampleio.cpp << 'END-of-apricots/files/patch-sampleio.cpp'
X--- apricots/sampleio.cpp.orig	2003-08-06 03:21:22.000000000 +0400
X+++ apricots/sampleio.cpp	2008-01-08 02:12:27.000000000 +0300
X@@ -81,16 +81,10 @@
X     ALsizei freq;
X     ALboolean fileok;
X     // Evil OpenAL portability fix done here
X-#ifdef _WIN32
X     ALenum format;
X     ALboolean trash;
X     alutLoadWAVFile(filenames[i],&format,&data,&filelen,&freq,&trash);
X     fileok = (alGetError() == AL_NO_ERROR);
X-#else
X-    ALsizei format;
X-    ALsizei trash;
X-    fileok = alutLoadWAV(filenames[i],&data,&format,&filelen,&trash,&freq);
X-#endif
X     if (!fileok){
X       cerr << "sampleio: could not open " << filenames[i] << endl;
X       exit(1);
END-of-apricots/files/patch-sampleio.cpp
echo x - apricots/pkg-descr
sed 's/^X//' >apricots/pkg-descr << 'END-of-apricots/pkg-descr'
XDespite the name, it has nothing to do with apricots. It's a game
Xwhere you fly a little plane around the screen and shoot things and
Xdrop bombs on enemy targets, and it's meant to be quick and fun.
X
XThere can be up to 6 planes, at most two human-controlled. All
Xothers will be computer-controlled. Network support is in to do
Xlist.
X
XYou must shoot at another's planes, destroy others' base and try
Xto keep alive. You may return to your base to refill your ammo. The
Xscenery is randomly generated.
X
XCurrently the game has no menus. You run it, play it, and it exits
Xat end. To fix this is also in to do list.
X
XPlease take a look at apricots.cfg file. You will found some good
Xoptions there. (currently this is the only way of changing game
Xoptions)
X
XWWW: http://www.fishies.org.uk/apricots.html
END-of-apricots/pkg-descr
echo x - apricots/pkg-plist
sed 's/^X//' >apricots/pkg-plist << 'END-of-apricots/pkg-plist'
Xbin/apricots
X%%DATADIR%%/afterburner.wav
X%%DATADIR%%/alt-8x16.psf
X%%DATADIR%%/apricots.cfg
X%%DATADIR%%/apricots.shapes
X%%DATADIR%%/bomb.wav
X%%DATADIR%%/engine.wav
X%%DATADIR%%/explode.wav
X%%DATADIR%%/finish.wav
X%%DATADIR%%/fuelexplode.wav
X%%DATADIR%%/groundhit.wav
X%%DATADIR%%/gunshot.wav
X%%DATADIR%%/gunshot2.wav
X%%DATADIR%%/jet.wav
X%%DATADIR%%/laser.wav
X%%DATADIR%%/shot.wav
X%%DATADIR%%/splash.wav
X%%DATADIR%%/stall.wav
X at dirrm %%DATADIR%%
END-of-apricots/pkg-plist
echo x - apricots/distinfo
sed 's/^X//' >apricots/distinfo << 'END-of-apricots/distinfo'
XMD5 (apricots-0.2.6.tar.gz) = 910828d717e46d8cbd9c24f702d09fbc
XSHA256 (apricots-0.2.6.tar.gz) = 9c408722abbb0cb925384f12a65fe4f6e2b3373d5ce5d0e5afe3aeb738b9cd8f
XSIZE (apricots-0.2.6.tar.gz) = 768568
END-of-apricots/distinfo
exit
--- apricots-0.2.6.shar ends here ---

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



More information about the freebsd-ports-bugs mailing list