From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 1 13:40:16 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4A3B16A4E5 for ; Tue, 1 Aug 2006 13:40:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D02043D5A for ; Tue, 1 Aug 2006 13:40:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k71DeFFM010495 for ; Tue, 1 Aug 2006 13:40:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k71DeFKu010490; Tue, 1 Aug 2006 13:40:15 GMT (envelope-from gnats) Resent-Date: Tue, 1 Aug 2006 13:40:15 GMT Resent-Message-Id: <200608011340.k71DeFKu010490@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 [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0746E16A4E0 for ; Tue, 1 Aug 2006 13:34:51 +0000 (UTC) (envelope-from amdmi3@mail.ru) Received: from mx27.mail.ru (mx27.mail.ru [194.67.23.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8816C43D49 for ; Tue, 1 Aug 2006 13:34:50 +0000 (GMT) (envelope-from amdmi3@mail.ru) Received: from [213.148.29.33] (port=18453 helo=nexii.panopticon) by mx27.mail.ru with esmtp id 1G7uOX-000AfD-00 for FreeBSD-gnats-submit@freebsd.org; Tue, 01 Aug 2006 17:34:49 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.2]) by nexii.panopticon (Postfix) with ESMTP id A15901705C for ; Tue, 1 Aug 2006 17:34:49 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 5DC7641EB; Tue, 1 Aug 2006 17:34:45 +0400 (MSD) Message-Id: <20060801133445.5DC7641EB@hades.panopticon> Date: Tue, 1 Aug 2006 17:34:45 +0400 (MSD) From: Dmitry Marakasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/101171: [NEW PORT] games/agame A simple Tetris-like game 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: Tue, 01 Aug 2006 13:40:16 -0000 >Number: 101171 >Category: ports >Synopsis: [NEW PORT] games/agame A simple Tetris-like game >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: Tue Aug 01 13:40:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD hades.panopticon 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu May 11 15:07:32 MSD 2006 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: A simple Tetris-like game. The objective of the game is to keep the level of colored blocks down as long as possible. New blocks are falling down at an increasing rate, blocks can be removed by creating rows of three or more blocks of the same color. The longer the row, the more points you get. WWW: http://zevv.nl/code/game/ >How-To-Repeat: >Fix: --- agame-1577.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: # # agame # agame/distinfo # agame/Makefile # agame/files # agame/files/patch-Makefile # agame/pkg-plist # agame/pkg-descr # echo c - agame mkdir -p agame > /dev/null 2>&1 echo x - agame/distinfo sed 's/^X//' >agame/distinfo << 'END-of-agame/distinfo' XMD5 (game-src-1577.tgz) = b613ec866571863163581cfd906f1b4b XSHA256 (game-src-1577.tgz) = 9dd586df02ce1501a322e1a19773b25c1ff9a82ed1eee5fbd93053380076bc23 XSIZE (game-src-1577.tgz) = 1220715 END-of-agame/distinfo echo x - agame/Makefile sed 's/^X//' >agame/Makefile << 'END-of-agame/Makefile' X# New ports collection makefile for: agame X# Date created: 30 Jul 2006 X# Whom: Dmitry Marakasov X# X# $FreeBSD$ X# X XPORTNAME= agame XPORTVERSION= 1577 XCATEGORIES= games XMASTER_SITES= http://zevv.nl/code/game/ XDISTNAME= game-src-${PORTVERSION} XEXTRACT_SUFX= .tgz X XMAINTAINER= amdmi3@mail.ru XCOMMENT= A simple Tetris-like game X XUSE_SDL= sdl image XUSE_GMAKE= yes X XWRKSRC= ${WRKDIR}/game X XPORTDOCS= README.TXT X Xpost-patch: X @${REINPLACE_CMD} -Ee 's,wav/|mp3/|img/,${DATADIR}/&,g' ${WRKSRC}/main.c X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/game ${PREFIX}/bin X.for dir in wav mp3 img X ${MKDIR} ${DATADIR}/${dir} X ${INSTALL_DATA} ${WRKSRC}/${dir}/* ${DATADIR}/${dir}/ X.endfor 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-agame/Makefile echo c - agame/files mkdir -p agame/files > /dev/null 2>&1 echo x - agame/files/patch-Makefile sed 's/^X//' >agame/files/patch-Makefile << 'END-of-agame/files/patch-Makefile' X--- Makefile.orig Fri Jun 9 22:54:24 2006 X+++ Makefile Sun Jul 30 22:11:38 2006 X@@ -3,8 +3,7 @@ X SRC = game.c main.c X VERSION = $(shell svnversion -c . | cut -d : -f 2) X X-CFLAGS += -Wall -Werror -O3 -g X-LDFLAGS += -g -lSDL -lSDL_image -lSDL_mixer X+LDFLAGS += `${SDL_CONFIG} --libs` -lSDL_image -lSDL_mixer X X ifeq "$(target)" "win32" X X@@ -18,14 +17,13 @@ X else X X BIN += $(NAME) X-CFLAGS += -I/usr/include/SDL X+CFLAGS += `${SDL_CONFIG} --cflags` X X endif X X OBJS += $(subst .c,.o, $(SRC)) X X-CC := $(CROSS)gcc X-LD := $(CROSS)gcc X+LD := $(CC) X STRIP := $(CROSS)strip X WINDRES := $(CROSS)windres X NSIS := makensis END-of-agame/files/patch-Makefile echo x - agame/pkg-plist sed 's/^X//' >agame/pkg-plist << 'END-of-agame/pkg-plist' Xbin/game X%%DATADIR%%/img/background.png X%%DATADIR%%/img/game.png X%%DATADIR%%/img/game.svg X%%DATADIR%%/img/help.png X%%DATADIR%%/img/help.svg X%%DATADIR%%/img/icon.ico X%%DATADIR%%/img/icon.png X%%DATADIR%%/mp3/track-01.mp3 X%%DATADIR%%/wav/bonus.wav X%%DATADIR%%/wav/bonus2.wav X%%DATADIR%%/wav/earthquake.wav X%%DATADIR%%/wav/explode.wav X%%DATADIR%%/wav/fall.wav X%%DATADIR%%/wav/game_over.wav X%%DATADIR%%/wav/hurry.wav X%%DATADIR%%/wav/new_block.wav X%%DATADIR%%/wav/pause.wav X%%DATADIR%%/wav/score.wav X%%DATADIR%%/wav/start.wav X@dirrm %%DATADIR%%/wav X@dirrm %%DATADIR%%/mp3 X@dirrm %%DATADIR%%/img X@dirrm %%DATADIR%% END-of-agame/pkg-plist echo x - agame/pkg-descr sed 's/^X//' >agame/pkg-descr << 'END-of-agame/pkg-descr' XA simple Tetris-like game. X XThe objective of the game is to keep the level of colored blocks Xdown as long as possible. New blocks are falling down at an increasing Xrate, blocks can be removed by creating rows of three or more blocks Xof the same color. The longer the row, the more points you get. X XWWW: http://zevv.nl/code/game/ END-of-agame/pkg-descr exit --- agame-1577.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: