From owner-svn-ports-head@FreeBSD.ORG Thu Jan 16 15:46:27 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B235B9AC; Thu, 16 Jan 2014 15:46:27 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9D61C185F; Thu, 16 Jan 2014 15:46:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0GFkRVH065576; Thu, 16 Jan 2014 15:46:27 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0GFkRWI065572; Thu, 16 Jan 2014 15:46:27 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201401161546.s0GFkRWI065572@svn.freebsd.org> From: Rusmir Dusko Date: Thu, 16 Jan 2014 15:46:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339924 - in head/games/ppracer: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jan 2014 15:46:27 -0000 Author: nemysis Date: Thu Jan 16 15:46:26 2014 New Revision: 339924 URL: http://svnweb.freebsd.org/changeset/ports/339924 QAT: https://qat.redports.org/buildarchive/r339924/ Log: - Add master site SF - Take maintainership - Add licenses (GPLv2) - Use the new format for LIB_DEPENDS - Add USES desktop-file-utils - Disable all warnings with -w - Support STAGEDIR - Add DOCS and Option - Use REINPLACE_CMD instead of simple patches - Recreate patches with make makepatch - Change pkg-descr, use only one WWW PR: ports/173350 Submitted by: nemysis (self) Added: head/games/ppracer/files/patch-src__squirrel__squtils.h (contents, props changed) Deleted: head/games/ppracer/files/patch-src-squirrel-squirrel.h head/games/ppracer/files/patch-src-squirrel-squtils.h Modified: head/games/ppracer/Makefile (contents, props changed) head/games/ppracer/pkg-descr (contents, props changed) Modified: head/games/ppracer/Makefile ============================================================================== --- head/games/ppracer/Makefile Thu Jan 16 15:46:00 2014 (r339923) +++ head/games/ppracer/Makefile Thu Jan 16 15:46:26 2014 (r339924) @@ -5,26 +5,39 @@ PORTNAME= ppracer DISTVERSION= 0.5alpha PORTREVISION= 7 CATEGORIES= games -MASTER_SITES= BERLIOS +MASTER_SITES= BERLIOS \ + SF/${PORTNAME}.berlios/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= nemysis@FreeBSD.org COMMENT= 3D downhill racing game... kind of like TuxRacer Improved -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ - freetype:${PORTSDIR}/print/freetype2 +LICENSE= GPLv2 + +LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ + libfreetype.so:${PORTSDIR}/print/freetype2 USE_BZIP2= yes -USES= gmake pkgconfig dos2unix +USES= gmake pkgconfig dos2unix desktop-file-utils +DOS2UNIX_REGEX= .*\.(c|cpp|h) USE_SDL= mixer sdl USE_GL= gl -GNU_CONFIGURE= yes -DOS2UNIX_REGEX= .*\.(c|cpp|h) USE_XORG= x11 xi xext xmu xt +GNU_CONFIGURE= yes +CFLAGS+= -w + +PORTDOCS= AUTHORS ChangeLog ChangeLog-pre0.3.9 ChangeLog-tuxracer + +OPTIONS_DEFINE= DOCS -NO_STAGE= yes post-patch: - @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \ - -e 's,libpng12,libpng15,g' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's,RacingMode::,,' ${WRKSRC}/src/racingmode.h + @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ + -e 's|libpng12|libpng15|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|RacingMode::||' ${WRKSRC}/src/racingmode.h + @${REINPLACE_CMD} -e 's|int SQHash|long SQHash|' \ + ${WRKSRC}/src/squirrel/squirrel.h + +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Added: head/games/ppracer/files/patch-src__squirrel__squtils.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/ppracer/files/patch-src__squirrel__squtils.h Thu Jan 16 15:46:26 2014 (r339924) @@ -0,0 +1,13 @@ +--- ./src/squirrel/squtils.h.orig 2014-01-16 15:30:36.000000000 +0100 ++++ ./src/squirrel/squtils.h 2014-01-16 15:30:36.000000000 +0100 +@@ -2,6 +2,10 @@ + #ifndef _SQUTILS_H_ + #define _SQUTILS_H_ + ++void *sq_vm_malloc(SQUnsignedInteger size); ++void *sq_vm_realloc(void *p,SQUnsignedInteger oldsize,SQUnsignedInteger size); ++void sq_vm_free(void *p,SQUnsignedInteger size); ++ + #define sq_new(__ptr,__type) {__ptr=(__type *)sq_vm_malloc(sizeof(__type));new (__ptr) __type;} + #define sq_delete(__ptr,__type) {__ptr->~__type();sq_vm_free(__ptr,sizeof(__type));} + #define SQ_MALLOC(__size) sq_vm_malloc(__size); Modified: head/games/ppracer/pkg-descr ============================================================================== --- head/games/ppracer/pkg-descr Thu Jan 16 15:46:00 2014 (r339923) +++ head/games/ppracer/pkg-descr Thu Jan 16 15:46:26 2014 (r339924) @@ -1,13 +1,13 @@ -PlanetPenguin Racer is an OpenGL racing game featuring Tux, the -Linux mascot. The goal of the game is to slide down a snow- and -ice-covered mountain as quickly as possible. It is based on the -GPL version of TuxRacer. +PlanetPenguin Racer is an OpenGL racing game featuring Tux, the Linux mascot. +The goal of the game is to slide down a snow- and ice-covered mountain as +quickly as possible. The goal of the game is to slide down a snow- and +ice-covered mountain as quickly as possible. It is based on the GPL version +of TuxRacer 0.6.1. Differences from TuxRacer include: - * Course progress bar - * Themes - * New terrain types (lava, etc.) - * Actively developed! + * Course progress bar + * Themes + * New terrain types (lava, etc.) -WWW: http://developer.berlios.de/projects/ppracer/ +WWW: https://sourceforge.net/projects/ppracer.berlios/