From nobody@FreeBSD.org  Sun Dec 25 20:33:29 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 587EC106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Dec 2011 20:33:29 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 425888FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Dec 2011 20:33:29 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pBPKXT7P001070
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Dec 2011 20:33:29 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id pBPKXSTZ001064;
	Sun, 25 Dec 2011 20:33:28 GMT
	(envelope-from nobody)
Message-Id: <201112252033.pBPKXSTZ001064@red.freebsd.org>
Date: Sun, 25 Dec 2011 20:33:28 GMT
From: Karsten Brandt <spam_schlucker@web.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: a new game port
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         163616
>Category:       ports
>Synopsis:       [new port] games/quadra: A tetris like multiuser action puzzle
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    makc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 25 20:40:11 UTC 2011
>Closed-Date:    Wed Feb 22 13:43:18 UTC 2012
>Last-Modified:  Wed Feb 22 13:43:18 UTC 2012
>Originator:     Karsten Brandt
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD 8.2-STABLE #8: Fri Oct  7 21:40:55 CEST 2011     brandt@ATHENE:/usr/obj/usr/src/sys/ATHENE  amd64
>Description:
This is a proposal for a new games port for the very funny multi user tetris game 'quadra'. More information for this game can be found on http://code.google.com/p/quadra.

Because the source of this game is only hostet on an svn server, the required tarball can created by call 'make maint-gen-distfile'. After updating of distinfo with 'make makesum' this port should be ready for distibution.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	quadra
#	quadra/Makefile
#	quadra/files
#	quadra/files/patch-quadra-source-rules.mk
#	quadra/files/patch-quadra-skelton-svgalib-video.cpp
#	quadra/distinfo
#	quadra/pkg-descr
#
echo c - quadra
mkdir -p quadra > /dev/null 2>&1
echo x - quadra/Makefile
sed 's/^X//' >quadra/Makefile << '8709cfbddf2fa72e6b594c1b42066a4d'
X# New ports collection makefile for: quadra
X# Date created:         25 December 2011
X# Whom:                 [KB]
X#
X# $FreeBSD$
X#
X
XPORTNAME=	quadra
XPORTVERSION=	1.3.0
XCATEGORIES=	games
XMASTER_SITES=	http://quadra.googlecode.com/svn/trunk/quadra/
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	A tetris like multiuser action puzzle
X
XFETCH_DEPENDS=	svn:${PORTSDIR}/devel/subversion
XLIB_DEPENDS=	png:${PORTSDIR}/graphics/png
X
XSVN_REV=	757
XUSE_BZIP2=	yes
X
XUSE_SDL=	sdl
XUSE_XORG=	x11 xau xdmcp
X
XUSE_AUTOTOOLS=	autoconf autoheader
X
XCPPFLAGS+=	-I${PREFIX}/include/libpng
XLDFLAGS+=	-L${PREFIX}/lib
XGNU_CONFIGURE=	yes
X
XUSE_GMAKE=	yes
X
XPLIST_DIRS=	lib/games
X
XPLIST_FILES=	bin/quadra \
X		share/games/quadra.res \
X		share/pixmaps/quadra.xpm
X
Xdo-patch:
X	${PATCH} -s ${WRKDIR}/${PORTNAME}-${PORTVERSION}/skelton/svgalib/video.cpp \
X			   ${FILESDIR}/patch-quadra-skelton-svgalib-video.cpp
X	${PATCH} -s ${WRKDIR}/${PORTNAME}-${PORTVERSION}/source/rules.mk \
X			   ${FILESDIR}/patch-quadra-source-rules.mk
X
Xmaint-gen-distfile:
X	@if [ -f ${DISTDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} ]; then \
X		${ECHO_CMD} "ERROR: the distfile already exists."; \
X		${FALSE}; \
X	fi
X	svn export -r${SVN_REV} ${MASTER_SITES} ${PORTNAME}-${PORTVERSION}
X	${TAR} cjf ${DISTDIR}/${DISTNAME}.tar.bz2 ${PORTNAME}-${PORTVERSION}
X	${RM} -rf ${PORTNAME}-${PORTVERSION}
X
X.include <bsd.port.mk>
8709cfbddf2fa72e6b594c1b42066a4d
echo c - quadra/files
mkdir -p quadra/files > /dev/null 2>&1
echo x - quadra/files/patch-quadra-source-rules.mk
sed 's/^X//' >quadra/files/patch-quadra-source-rules.mk << '24789a11e8de601d8c51b417b8a1be90'
X--- quadra/source/rules.mk.orig	2011-12-18 16:56:14.000000000 +0100
X+++ quadra/source/rules.mk	2011-12-20 23:20:22.000000000 +0100
X@@ -18,7 +18,13 @@
X #
X # $Id: rules.mk 684 2008-12-20 07:14:57Z pphaneuf $
X 
X-source/quadra: LDLIBS+=$(SDL_LIBS) -lpng -lz
X+EXT_LIBS := -lpng -lz
X+
X+ifeq "$(OSTYPE)" "FreeBSD" # OSTYPE is a standard environment variable within the FreeBSD tcsh
X+  EXT_LIBS += -lcompat     # needed for the ftime function
X+endif
X+
X+source/quadra: LDLIBS+=$(SDL_LIBS) $(EXT_LIBS)
X source/quadra: $(QUADRA_OBJECTS) $(SDL_MAIN_OBJ) skelton/lib/libugs_s.a
X 
X quadra.res: $(shell cat resources.txt) resources.txt skelton/tools/wadder/wadder
24789a11e8de601d8c51b417b8a1be90
echo x - quadra/files/patch-quadra-skelton-svgalib-video.cpp
sed 's/^X//' >quadra/files/patch-quadra-skelton-svgalib-video.cpp << '89fb6c65ff7ecab4a54b644e2660d85a'
X--- quadra/skelton/svgalib/video.cpp.orig	2011-12-18 16:56:08.000000000 +0100
X+++ quadra/skelton/svgalib/video.cpp	2011-12-20 22:40:49.000000000 +0100
X@@ -24,7 +24,9 @@
X #ifdef WIN32
X #include <malloc.h>
X #else
X-#include <alloca.h>
X+  #if !defined __FreeBSD__ /* alloca is part of stdlib in FreeBSD */
X+    #include <alloca.h> 
X+  #endif
X #endif
X #include "sprite.h"
X #include "command.h"
89fb6c65ff7ecab4a54b644e2660d85a
echo x - quadra/distinfo
sed 's/^X//' >quadra/distinfo << '11dd2c2bb823d7fa57374c4d96bef296'
XSHA256 (quadra-1.3.0.tar.bz2) = 502bf29792646ee4f88b03138f22c1c20181d4af6d9cfaffd7ccc9b2b885013a
XSIZE (quadra-1.3.0.tar.bz2) = 4615866
11dd2c2bb823d7fa57374c4d96bef296
echo x - quadra/pkg-descr
sed 's/^X//' >quadra/pkg-descr << '7ba86339b50aac6a16d592155a9df217'
XAn addictive action puzzle game with single player and multiplayer capabilities 
X(Internet or LAN).
X
XWWW: http://code.google.com/p/quadra/
7ba86339b50aac6a16d592155a9df217
exit



>Release-Note:
>Audit-Trail:

From: Karsten Brandt <Brandt.Karsten@web.de>
To: bug-followup@FreeBSD.org, spam_schlucker@web.de
Cc:  
Subject: Re: ports/163616: [new port] games/quadra: A tetris like multiuser
 action puzzle
Date: Wed, 08 Feb 2012 22:54:55 +0100

 This is a multi-part message in MIME format.
 --------------040006010504060902090201
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Hi!
 
 As recommened by miwi this port will now use a subversion snapshot (as 
 tarball), which will be provided by a couple of master sites.
 
 Therefore:
 
 - the Makefile has been reworked accordingly,
 - the maintainer entry has been corrected and
 - the subversion dependency has been removed.
 
 The changed port proposal is attached to this followup.
 
 Regards,
 Karsten
 
 --------------040006010504060902090201
 Content-Type: text/plain;
  name="quadra.shar"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="quadra.shar"
 
 # 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:
 #
 #	quadra
 #	quadra/Makefile
 #	quadra/files
 #	quadra/files/patch-quadra-source-rules.mk
 #	quadra/files/patch-quadra-skelton-svgalib-video.cpp
 #	quadra/distinfo
 #	quadra/pkg-descr
 #
 echo c - quadra
 mkdir -p quadra > /dev/null 2>&1
 echo x - quadra/Makefile
 sed 's/^X//' >quadra/Makefile << '8709cfbddf2fa72e6b594c1b42066a4d'
 X# New ports collection makefile for: quadra
 X# Date created:         25 December 2011
 X# Whom:                 Karsten Brandt
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=      quadra
 XPORTVERSION=   1.3.0
 XCATEGORIES=    games
 XMASTER_SITES=  http://kbrandt.sdf-eu.org/FreeBSD/distfiles/ \
 X               ftp://ftp.bsdforen.de/pub/BSDForen/distfiles/ \
 X               http://bsd-geek.de/FreeBSD/distfiles/
 X
 XMAINTAINER=    kbrandt@sdf-eu.org
 XCOMMENT=       A tetris like multiuser action puzzle
 X
 XLIB_DEPENDS=   png:${PORTSDIR}/graphics/png
 X
 XUSE_BZIP2=     yes
 X
 XUSE_SDL=       sdl
 XUSE_XORG=      x11 xau xdmcp
 X
 XUSE_AUTOTOOLS= autoconf autoheader
 X
 XCPPFLAGS+=     -I${PREFIX}/include/libpng
 XLDFLAGS+=      -L${PREFIX}/lib
 XGNU_CONFIGURE= yes
 X
 XUSE_GMAKE=     yes
 X
 XPLIST_DIRS=    lib/games
 X
 XPLIST_FILES=   bin/quadra \
 X					share/games/quadra.res \
 X					share/pixmaps/quadra.xpm
 X
 Xdo-patch:
 X	${PATCH} -s ${WRKDIR}/${PORTNAME}-${PORTVERSION}/skelton/svgalib/video.cpp \
 X			   ${FILESDIR}/patch-quadra-skelton-svgalib-video.cpp
 X	${PATCH} -s ${WRKDIR}/${PORTNAME}-${PORTVERSION}/source/rules.mk \
 X			   ${FILESDIR}/patch-quadra-source-rules.mk
 X
 X# committer relevant make target:
 X#################################
 X
 XSVN_REV=        757
 XSVN_SRC=        http://quadra.googlecode.com/svn/trunk/quadra/
 X
 Xmaint-gen-distfile:
 X	@if [ -f ${DISTDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} ]; then \
 X		${ECHO_CMD} "ERROR: the distfile already exists."; \
 X		${FALSE}; \
 X	fi
 X	svn export -r${SVN_REV} ${SVN_SRC} ${PORTNAME}-${PORTVERSION}
 X	${TAR} cjf ${DISTDIR}/${DISTNAME}.tar.bz2 ${PORTNAME}-${PORTVERSION}
 X	${RM} -rf ${PORTNAME}-${PORTVERSION}
 X
 X.include <bsd.port.mk>
 8709cfbddf2fa72e6b594c1b42066a4d
 echo c - quadra/files
 mkdir -p quadra/files > /dev/null 2>&1
 echo x - quadra/files/patch-quadra-source-rules.mk
 sed 's/^X//' >quadra/files/patch-quadra-source-rules.mk << '24789a11e8de601d8c51b417b8a1be90'
 X--- quadra/source/rules.mk.orig	2011-12-18 16:56:14.000000000 +0100
 X+++ quadra/source/rules.mk	2011-12-20 23:20:22.000000000 +0100
 X@@ -18,7 +18,13 @@
 X #
 X # $Id: rules.mk 684 2008-12-20 07:14:57Z pphaneuf $
 X 
 X-source/quadra: LDLIBS+=$(SDL_LIBS) -lpng -lz
 X+EXT_LIBS := -lpng -lz
 X+
 X+ifeq "$(OSTYPE)" "FreeBSD" # OSTYPE is a standard environment variable within the FreeBSD tcsh
 X+  EXT_LIBS += -lcompat     # needed for the ftime function
 X+endif
 X+
 X+source/quadra: LDLIBS+=$(SDL_LIBS) $(EXT_LIBS)
 X source/quadra: $(QUADRA_OBJECTS) $(SDL_MAIN_OBJ) skelton/lib/libugs_s.a
 X 
 X quadra.res: $(shell cat resources.txt) resources.txt skelton/tools/wadder/wadder
 24789a11e8de601d8c51b417b8a1be90
 echo x - quadra/files/patch-quadra-skelton-svgalib-video.cpp
 sed 's/^X//' >quadra/files/patch-quadra-skelton-svgalib-video.cpp << '89fb6c65ff7ecab4a54b644e2660d85a'
 X--- quadra/skelton/svgalib/video.cpp.orig	2011-12-18 16:56:08.000000000 +0100
 X+++ quadra/skelton/svgalib/video.cpp	2011-12-20 22:40:49.000000000 +0100
 X@@ -24,7 +24,9 @@
 X #ifdef WIN32
 X #include <malloc.h>
 X #else
 X-#include <alloca.h>
 X+  #if !defined __FreeBSD__ /* alloca is part of stdlib in FreeBSD */
 X+    #include <alloca.h> 
 X+  #endif
 X #endif
 X #include "sprite.h"
 X #include "command.h"
 89fb6c65ff7ecab4a54b644e2660d85a
 echo x - quadra/distinfo
 sed 's/^X//' >quadra/distinfo << '11dd2c2bb823d7fa57374c4d96bef296'
 XSHA256 (quadra-1.3.0.tar.bz2) = cae617c09c20105181c3849a09b2805c5535bb96f49f27eb2552315e7652332f
 XSIZE (quadra-1.3.0.tar.bz2) = 4616419
 11dd2c2bb823d7fa57374c4d96bef296
 echo x - quadra/pkg-descr
 sed 's/^X//' >quadra/pkg-descr << '7ba86339b50aac6a16d592155a9df217'
 XAn addictive action puzzle game with single player and multiplayer capabilities 
 X(Internet or LAN).
 X
 XWWW: http://code.google.com/p/quadra/
 7ba86339b50aac6a16d592155a9df217
 exit
 
 
 --------------040006010504060902090201--
Responsible-Changed-From-To: freebsd-ports-bugs->makc 
Responsible-Changed-By: makc 
Responsible-Changed-When: Fri Feb 17 12:01:05 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163616 
State-Changed-From-To: open->feedback 
State-Changed-By: makc 
State-Changed-When: Sat Feb 18 15:49:10 UTC 2012 
State-Changed-Why:  
Fails to build on tinderbox, 
http://people.freebsd.org/~makc/tb/quadra-1.3.0.log. Could you look at 
it? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163616 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/163616: commit references a PR
Date: Wed, 22 Feb 2012 12:57:19 +0000 (UTC)

 makc        2012-02-22 12:57:04 UTC
 
   FreeBSD ports repository
 
   Added files:
     games/quadra         Makefile distinfo pkg-descr 
     games/quadra/files   patch-config__rules.mk 
                          patch-skelton__svgalib__video.cpp 
                          patch-source__rules.mk 
   Log:
   Add new port games/quadra:
   
   A tetris like game with single player and multiplayer capabilities
   (Internet or LAN).
   
   WWW: http://code.google.com/p/quadra/
   
   PR:             ports/163616
   Submitted by:   Karsten Brandt <spam_schlucker at web.de>
   
   Revision  Changes    Path
   1.1       +53 -0     ports/games/quadra/Makefile (new)
   1.1       +2 -0      ports/games/quadra/distinfo (new)
   1.1       +10 -0     ports/games/quadra/files/patch-config__rules.mk (new)
   1.1       +13 -0     ports/games/quadra/files/patch-skelton__svgalib__video.cpp (new)
   1.1       +13 -0     ports/games/quadra/files/patch-source__rules.mk (new)
   1.1       +4 -0      ports/games/quadra/pkg-descr (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: makc 
State-Changed-When: Wed Feb 22 13:43:17 UTC 2012 
State-Changed-Why:  
New port added with some modifications. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163616 
>Unformatted:
