Date: Thu, 16 Jan 2014 15:46:27 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339924 - in head/games/ppracer: . files Message-ID: <201401161546.s0GFkRWI065572@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401161546.s0GFkRWI065572>