From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 7 23:40:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC61616A41A for ; Mon, 7 Jan 2008 23:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 77DE013C448 for ; Mon, 7 Jan 2008 23:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m07Ne2CF088508 for ; Mon, 7 Jan 2008 23:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m07Ne2PZ088507; Mon, 7 Jan 2008 23:40:02 GMT (envelope-from gnats) Resent-Date: Mon, 7 Jan 2008 23:40:02 GMT Resent-Message-Id: <200801072340.m07Ne2PZ088507@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B52B116A473 for ; Mon, 7 Jan 2008 23:30:09 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from cp65.agava.net (cp65.agava.net [89.108.66.215]) by mx1.freebsd.org (Postfix) with ESMTP id 3638D13C455 for ; Mon, 7 Jan 2008 23:30:09 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1JC1Re-000Ozn-M5 for FreeBSD-gnats-submit@freebsd.org; Tue, 08 Jan 2008 02:31:50 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 16C7B6960 for ; Tue, 8 Jan 2008 02:30:08 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 5502717032; Tue, 8 Jan 2008 02:30:07 +0300 (MSK) Message-Id: <20080107233007.5502717032@hades.panopticon> Date: Tue, 8 Jan 2008 02:30:07 +0300 (MSK) From: Dmitry Marakasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/119439: [NEW PORT] games/apricots: Fly a little plane around and shoot things and drop bombs X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Marakasov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2008 23:40:02 -0000 >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@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 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@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 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 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@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: