Date: Wed, 8 Feb 2012 22:20:11 GMT From: Karsten Brandt <Brandt.Karsten@web.de> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/163616: [new port] games/quadra: A tetris like multiuser action puzzle Message-ID: <201202082220.q18MKBsW091445@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/163616; it has been noted by GNATS. 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202082220.q18MKBsW091445>