From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 17 13:20:08 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 B3690106566C for ; Fri, 17 Aug 2012 13:20:08 +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 8D8508FC12 for ; Fri, 17 Aug 2012 13:20:08 +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 q7HDK8M3046418 for ; Fri, 17 Aug 2012 13:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7HDK8vo046417; Fri, 17 Aug 2012 13:20:08 GMT (envelope-from gnats) Resent-Date: Fri, 17 Aug 2012 13:20:08 GMT Resent-Message-Id: <201208171320.q7HDK8vo046417@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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B3EEC1065670 for ; Fri, 17 Aug 2012 13:10:31 +0000 (UTC) (envelope-from nemysis@gmx.ch) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id 34A0A8FC0A for ; Fri, 17 Aug 2012 13:10:30 +0000 (UTC) Received: (qmail invoked by alias); 17 Aug 2012 13:10:28 -0000 Received: from cpe.r57.logikom.net (EHLO something.email.com) [213.244.239.57] by mail.gmx.net (mp070) with SMTP; 17 Aug 2012 15:10:28 +0200 Received: by something.email.com (sSMTP sendmail emulation); Fri, 17 Aug 2012 15:10:23 +0200 Message-Id: <20120817131031.B3EEC1065670@hub.freebsd.org> Date: Fri, 17 Aug 2012 15:10:23 +0200 From: nemysis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/170704: [NEW PORT] games/patapizza-tetris: An unofficial clone of the original Tetris game 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: Fri, 17 Aug 2012 13:20:08 -0000 >Number: 170704 >Category: ports >Synopsis: [NEW PORT] games/patapizza-tetris: An unofficial clone of the original Tetris 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: Fri Aug 17 13:20:08 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: This game is an unofficial clone of the original Tetris game and is not endorsed by the registered trademark owners The Tetris Company, Inc. WWW: https://github.com/patapizza/tetris 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: # # patapizza-tetris # patapizza-tetris/files # patapizza-tetris/files/patch-Makefile # patapizza-tetris/files/patch-tetris.c # patapizza-tetris/files/patapizza-tetris.sh.in # patapizza-tetris/Makefile # patapizza-tetris/pkg-descr # patapizza-tetris/distinfo # echo c - patapizza-tetris mkdir -p patapizza-tetris > /dev/null 2>&1 echo c - patapizza-tetris/files mkdir -p patapizza-tetris/files > /dev/null 2>&1 echo x - patapizza-tetris/files/patch-Makefile sed 's/^X//' >patapizza-tetris/files/patch-Makefile << '3e7614c7d6e140795cb7cd0a068d9b11' X--- Makefile.orig 2012-04-09 13:32:21.000000000 +0200 X+++ Makefile 2012-08-17 00:24:43.000000000 +0200 X@@ -1,6 +1,6 @@ X SHELL = /bin/sh X-CC = gcc X-prefix = /usr X+CC = g++ X+prefix = /usr/local X includedir = $(prefix)/include X tetris: tetris.c X $(CC) -Wall -I$(includedir)/SDL $< -o $@ -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf -lm 3e7614c7d6e140795cb7cd0a068d9b11 echo x - patapizza-tetris/files/patch-tetris.c sed 's/^X//' >patapizza-tetris/files/patch-tetris.c << 'c00603c32f7607310976d287939f5190' X--- tetris.c.orig 2012-04-09 13:32:21.000000000 +0200 X+++ tetris.c 2012-08-17 00:10:28.000000000 +0200 X@@ -20,7 +20,6 @@ X * along with this program. If not, see . X */ X X-#include X #include X #include X #include c00603c32f7607310976d287939f5190 echo x - patapizza-tetris/files/patapizza-tetris.sh.in sed 's/^X//' >patapizza-tetris/files/patapizza-tetris.sh.in << '86a6499e22d0cdcbfc14435b985a71e7' X#!/bin/sh X# X# $FreeBSD$ X Xecho "patapizza Tetris: Starting up..." Xcd "%%DATADIR%%" X./patapizza-tetris 86a6499e22d0cdcbfc14435b985a71e7 echo x - patapizza-tetris/Makefile sed 's/^X//' >patapizza-tetris/Makefile << 'b6dd6d9e3fc5fb1056d292025b271f8d' X# New Ports collection makefile for patapizza-tetris X# Date created: 2012-08-16 X# Whom: nemysis@gmx.ch X# X# $FreeBSD$ X# X XPORTNAME= patapizza-tetris XPORTVERSION= 1.0 XCATEGORIES= games XMASTER_SITES= https://github.com/patapizza/tetris/downloads/ XDISTNAME= ${PORTNAME:S/patapizza-//}-${DISTVERSION} X XMAINTAINER= nemysis@gmx.ch XCOMMENT= An unofficial clone of the original Tetris game X XLICENSE= GPLv3 X XOPTIONS_DEFINE= DATA XOPTIONS_DEFAULT= DATA X XFETCH_ARGS?= -Fpr XUSE_GMAKE= yes XUSE_SDL= sdl image gfx ttf X XPLIST_FILES= bin/${PORTNAME} \ X share/pixmaps/${PORTNAME}.png X XPORTDATA= * XPORTDOCS= README.md X XSUB_FILES= ${PORTNAME}.sh X X.include X Xdo-build: X cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \ X -DDATA_PREFIX=\"${DATADIR}/\" \ X -lm `${SDL_CONFIG} --cflags --libs` -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf -lm tetris.c X Xdo-install: X# Scripts X ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME} X X# Executable X ${MKDIR} ${DATADIR} X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${DATADIR} X X# Data X.if ${PORT_OPTIONS:MDATA} X @(cd ${WRKSRC} && ${COPYTREE_SHARE} images ${DATADIR}) X.endif X X# Pixmaps X ${INSTALL_DATA} ${WRKSRC}/images/logo.png ${PREFIX}/share/pixmaps/${PORTNAME}.png X X# Documentation X.if ${PORT_OPTIONS:MDOCS} X ${MKDIR} ${DOCSDIR} X. for f in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} X. endfor X.endif X X.include b6dd6d9e3fc5fb1056d292025b271f8d echo x - patapizza-tetris/pkg-descr sed 's/^X//' >patapizza-tetris/pkg-descr << '42210853b48da60838738c760415551e' XThis game is an unofficial clone of the original Tetris game Xand is not endorsed by the registered trademark owners The Tetris Company, Inc. X XWWW: https://github.com/patapizza/tetris 42210853b48da60838738c760415551e echo x - patapizza-tetris/distinfo sed 's/^X//' >patapizza-tetris/distinfo << '95d08708f98c1d1892f04b5da4375cb7' XSHA256 (tetris-1.0.tar.gz) = 06945705ca0b5242f4c3e7c86c1e6111e452a47a11919a549e0fb19bbb78210e XSIZE (tetris-1.0.tar.gz) = 47115 95d08708f98c1d1892f04b5da4375cb7 exit --- .shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: