From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 20 19:30:01 2012 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 B57B0106564A for ; Sun, 20 May 2012 19:30:01 +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 8EADC8FC12 for ; Sun, 20 May 2012 19:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4KJU1rr038429 for ; Sun, 20 May 2012 19:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4KJU1Q6038425; Sun, 20 May 2012 19:30:01 GMT (envelope-from gnats) Resent-Date: Sun, 20 May 2012 19:30:01 GMT Resent-Message-Id: <201205201930.q4KJU1Q6038425@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, nemysis Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A8421065730 for ; Sun, 20 May 2012 19:28:44 +0000 (UTC) (envelope-from nemysis@gmx.ch) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mx1.freebsd.org (Postfix) with SMTP id 0C77E8FC08 for ; Sun, 20 May 2012 19:28:43 +0000 (UTC) Received: (qmail invoked by alias); 20 May 2012 19:28:41 -0000 Received: from 201-230.4-85.cust.bluewin.ch (EHLO something.email.com) [85.4.230.201] by mail.gmx.net (mp019) with SMTP; 20 May 2012 21:28:41 +0200 Received: by something.email.com (sSMTP sendmail emulation); Sun, 20 May 2012 21:28:41 +0200 Message-Id: <20120520192844.8A8421065730@hub.freebsd.org> Date: Sun, 20 May 2012 21:28:41 +0200 From: nemysis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/168177: [NEW PORT] games/asteroids3d: First-person shooter blowing up asteroids in 3D space X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2012 19:30:01 -0000 >Number: 168177 >Category: ports >Synopsis: [NEW PORT] games/asteroids3d: First-person shooter blowing up asteroids in 3D space >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: Sun May 20 19:30:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC >Description: A simple first person shooter of blowing up asteroids in 3D space. The codebase also serves as an introduction to trigonometry and OpenGL. WWW: http://sourceforge.net/projects/a3d/ http://staff.psc.edu/smp/a3d/ Generated and tested manually, tested with port test and with RedPorts (all RELEASES), sent with FreeBSD Port Tools 0.99_6 (mode: new) >How-To-Repeat: >Fix: --- .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: # # asteroids3d # asteroids3d/Makefile # asteroids3d/pkg-descr # asteroids3d/distinfo # asteroids3d/files # asteroids3d/files/patch-src-texture.c # echo c - asteroids3d mkdir -p asteroids3d > /dev/null 2>&1 echo x - asteroids3d/Makefile sed 's/^X//' >asteroids3d/Makefile << 'f294b1dd90e8aca37c674fffe7e73918' X# New Ports collection makefile for: Asteroids3D X# Date created: 2012-05-20 X# Whom: nemysis@gmx.ch X# X# $FreeBSD$ X# X XPORTNAME= asteroids3d XPORTVERSION= 0.5.1 XCATEGORIES= games XMASTER_SITES= SF/a3d/${PORTVERSION}/ XDISTNAME= ${PORTNAME:S/3d/3D/}-${DISTVERSION} X XMAINTAINER= nemysis@gmx.ch XCOMMENT= First-person shooter blowing up asteroids in 3D space X XLICENSE= GPLv2 X XWRKSRC= ${WRKDIR}/${PORTNAME:S/3d/3D/}-${PORTVERSION} X XUSE_BZIP2= yes XUSE_AUTOTOOLS= aclocal autoheader XGNU_CONFIGURE= yes XCONFIGURE_ENV= with_gamesdir="${PREFIX}/bin" with_gamedatadir="${DATADIR}" XALL_TARGET= XUSE_GL= glut glu XMAKE_JOBS_SAFE= yes X XCFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib X XPLIST_FILES= bin/${PORTNAME} \ X share/pixmaps/${PORTNAME}_128.png \ X share/pixmaps/${PORTNAME}_48.png X XPORTDATA= * XPORTDOCS= README.html X Xpre-configure: X @(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh) X Xpost-patch: X @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/autogen.sh X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME:S/3d/3D/} ${PREFIX}/bin/${PORTNAME} X X# Pixmaps X ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}*.png ${PREFIX}/share/pixmaps X X# Data X.if !defined(NOPORTDATA) X ${MKDIR} ${DATADIR} X @(cd ${WRKSRC}/src && ${COPYTREE_SHARE} "*.ub *.ppm" ${DATADIR}) X.endif X X# Documentation X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR} X.endif X X.include f294b1dd90e8aca37c674fffe7e73918 echo x - asteroids3d/pkg-descr sed 's/^X//' >asteroids3d/pkg-descr << 'c19191c75f62df4e20e43036f4e5b4f4' XA simple first person shooter of blowing up asteroids in 3D space. XThe codebase also serves as an introduction to trigonometry and OpenGL. X XWWW: http://sourceforge.net/projects/a3d/ X http://staff.psc.edu/smp/a3d/ c19191c75f62df4e20e43036f4e5b4f4 echo x - asteroids3d/distinfo sed 's/^X//' >asteroids3d/distinfo << 'e5694696bfa1a653af10b0f8be999b3b' XSHA256 (asteroids3D-0.5.1.tar.bz2) = 68a07541198591c7a010324d870d120932c2dc015981f9197fe2268964a45087 XSIZE (asteroids3D-0.5.1.tar.bz2) = 584201 e5694696bfa1a653af10b0f8be999b3b echo c - asteroids3d/files mkdir -p asteroids3d/files > /dev/null 2>&1 echo x - asteroids3d/files/patch-src-texture.c sed 's/^X//' >asteroids3d/files/patch-src-texture.c << '4e22d718fff06961ce01713ea5351430' X--- src/texture.c.orig 2008-04-06 16:37:29.000000000 +0200 X+++ src/texture.c 2012-05-20 11:27:24.000000000 +0200 X@@ -99,19 +99,19 @@ X static void average_RGBA_alpha_and_floor(unsigned char *image, X int x, int y, int flr) X { X- int ir, ig, ib, ia, i, new_alpha; X+ int ir, ig, ib, ia, i; X X for (i = 0; i < x * y * 4; i += 4) { X ir = image[i]; X ig = image[i+1]; X ib = image[i+2]; X- ia = image[i+3]; X+ /* ia = image[i+3]; */ X X- new_alpha = (ir + ig + ib) / 3; X- if (new_alpha < flr) X- new_alpha = 0; X+ ia = (ir + ig + ib) / 3; X+ if (ia < flr) X+ ia = 0; X X- image[i+3] = new_alpha; X+ image[i+3] = ia; X } X X return; 4e22d718fff06961ce01713ea5351430 exit --- .shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: