From owner-svn-ports-head@FreeBSD.ORG Wed Oct 29 04:40:32 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 475F4E6D; Wed, 29 Oct 2014 04:40:32 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3201BC1F; Wed, 29 Oct 2014 04:40:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9T4eWup089241; Wed, 29 Oct 2014 04:40:32 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9T4eUlC089226; Wed, 29 Oct 2014 04:40:30 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201410290440.s9T4eUlC089226@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 29 Oct 2014 04:40:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r371661 - in head/games: . pioneer pioneer/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.18-1 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: Wed, 29 Oct 2014 04:40:32 -0000 Author: amdmi3 Date: Wed Oct 29 04:40:29 2014 New Revision: 371661 URL: https://svnweb.freebsd.org/changeset/ports/371661 QAT: https://qat.redports.org/buildarchive/r371661/ Log: Pioneer Space Simulator. Pioneer is a space adventure game set in the Milky Way galaxy at the turn of the 31st century. The game is open-ended, and you are free to explore the millions of star systems in the game. You can land on planets, slingshot past gas giants, and burn yourself to a crisp flying between binary star systems. You can try your hand at piracy, make your fortune trading between systems, or do missions for the various factions fighting for power, freedom or self-determination. WWW: http://pioneerspacesim.net WWW: http://github.com/pioneerspacesim/pioneer PR: 193213 Submitted by: lightside@gmx.com Added: head/games/pioneer/ head/games/pioneer/Makefile (contents, props changed) head/games/pioneer/distinfo (contents, props changed) head/games/pioneer/files/ head/games/pioneer/files/patch-contrib_PicoDDS_PicoDDS.cpp (contents, props changed) head/games/pioneer/files/patch-src_GameConfig.h (contents, props changed) head/games/pioneer/files/patch-src_posix_OSPosix.cpp (contents, props changed) head/games/pioneer/files/pkg-message.in (contents, props changed) head/games/pioneer/pkg-descr (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Wed Oct 29 03:51:29 2014 (r371660) +++ head/games/Makefile Wed Oct 29 04:40:29 2014 (r371661) @@ -715,6 +715,7 @@ SUBDIR += pinball SUBDIR += pingus SUBDIR += pink-pony + SUBDIR += pioneer SUBDIR += pioneers SUBDIR += pipenightdreams SUBDIR += pipepanic Added: head/games/pioneer/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/pioneer/Makefile Wed Oct 29 04:40:29 2014 (r371661) @@ -0,0 +1,105 @@ +# Created by: lightside +# $FreeBSD$ + +PORTNAME= pioneer +PORTVERSION= 0.0.${GH_TAGNAME} +CATEGORIES= games +MASTER_SITES= http://github.com/${GH_ACCOUNT}/${GH_PROJECT}/archive/${GH_TAGNAME}.tar.gz?dummy=/ + +MAINTAINER= lightside@gmx.com +COMMENT= Space adventure game set in the Milky Way galaxy + +LICENSE= APACHE20 GPLv3 MIT ZLIB CCBYSAv3 DejaVu GLEW SIL +LICENSE_COMB= multi +LICENSE_NAME_CCBYSAv3= Creative Commons Attribution-ShareAlike 3.0 Unported license +LICENSE_NAME_DejaVu= Bitstream Vera and Arev fonts license +LICENSE_NAME_GLEW= The OpenGL Extension Wrangler Library license +LICENSE_NAME_SIL= SIL open font license version 1.1 +LICENSE_FILE_APACHE20= ${WRKSRC}/licenses/Apache-2.0.txt +LICENSE_FILE_CCBYSAv3= ${WRKSRC}/licenses/CC-BY-SA-3.0.txt +LICENSE_FILE_DejaVu= ${WRKSRC}/licenses/DejaVu-license.txt +LICENSE_FILE_GLEW= ${WRKSRC}/licenses/GLEW.txt +LICENSE_FILE_GPLv3= ${WRKSRC}/licenses/GPL-3.txt +LICENSE_FILE_SIL= ${WRKSRC}/licenses/SIL-1.1.txt +LICENSE_PERMS_CCBYSAv3= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept +LICENSE_PERMS_DejaVu= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept +LICENSE_PERMS_GLEW= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept +LICENSE_PERMS_SIL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +BUILD_DEPENDS= ${LOCALBASE}/include/GL/glu.h:${PORTSDIR}/graphics/libGLU +LIB_DEPENDS= libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20 \ + libfreetype.so:${PORTSDIR}/print/freetype2 \ + libvorbisfile.so:${PORTSDIR}/audio/libvorbis \ + libpng15.so:${PORTSDIR}/graphics/png \ + libassimp.so:${PORTSDIR}/multimedia/assimp + +GH_ACCOUNT= pioneerspacesim +GH_PROJECT= ${PORTNAME} +GH_TAGNAME= 20141021 + +WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME} + +USES= gmake pkgconfig +USE_AUTOTOOLS= aclocal autoconf automake +AUTOMAKE_ARGS= --add-missing +USE_GL= gl +USE_SDL= image2 sdl2 + +GNU_CONFIGURE= yes +CONFIGURE_ENV= PIONEER_DATA_DIR="${DATADIR}/data" +CONFIGURE_ARGS= --with-version=${GH_TAGNAME} +EXTRACT_AFTER_ARGS= --exclude .gitignore + +PORTDATA= data +PORTDOCS= AUTHORS.txt Changelog.txt Modelviewer.txt Quickstart.txt README.txt + +PLIST_FILES= bin/${PORTNAME} \ + share/pixmaps/${PORTNAME}.png + +DESKTOP_ENTRIES="Pioneer" "${COMMENT}" \ + "${PREFIX}/share/pixmaps/${PORTNAME}.png" "${PORTNAME}" \ + "Game;Simulation;" false + +SUB_FILES= pkg-message +SUB_LIST= QUICKSTART_PATH="${QUICKSTART_PATH}" + +OPTIONS_DEFINE= DOCS MODELCOMPILER +OPTIONS_DEFAULT= MODELCOMPILER +MODELCOMPILER_DESC= Build/install modelcompiler tool +MODELCOMPILER_PLIST_FILES= bin/${PORTNAME}-modelcompiler + +.include + +.if ${OSVERSION} < 1000054 +USE_GCC= yes +.else +USES+= compiler:c++11-lang +CPPFLAGS+= -I${LOCALBASE}/include +.endif + +.if ${PORT_OPTIONS:MDOCS} +QUICKSTART_PATH= ${DOCSDIR} +.else +QUICKSTART_PATH= \ + https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${GH_TAGNAME} +.endif + +post-patch: .SILENT + ${REINPLACE_CMD} -e '/^OPTIMISE=/d' \ + ${WRKSRC}/configure.ac + ${REINPLACE_CMD} -e 's/modelviewer/${PORTNAME} -modelviewer/' \ + ${WRKSRC}/Modelviewer.txt +.if !${PORT_OPTIONS:MMODELCOMPILER} + ${REINPLACE_CMD} -e 's/pioneer modelcompiler/pioneer/' \ + ${WRKSRC}/src/Makefile.am +.endif + +post-install: +.if ${PORT_OPTIONS:MMODELCOMPILER} + @${MV} ${STAGEDIR}${PREFIX}/bin/modelcompiler ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-modelcompiler +.endif + cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/application-icon/pngs/pioneer-256x256.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + +.include Added: head/games/pioneer/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/pioneer/distinfo Wed Oct 29 04:40:29 2014 (r371661) @@ -0,0 +1,2 @@ +SHA256 (pioneer-0.0.20141021.tar.gz) = 55d98c6781fefb9f0f3ffe86966f31c40c455b7e66c2bae6977f215e9a7defbe +SIZE (pioneer-0.0.20141021.tar.gz) = 174100164 Added: head/games/pioneer/files/patch-contrib_PicoDDS_PicoDDS.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/pioneer/files/patch-contrib_PicoDDS_PicoDDS.cpp Wed Oct 29 04:40:29 2014 (r371661) @@ -0,0 +1,10 @@ +--- contrib/PicoDDS/PicoDDS.cpp.orig 2014-08-28 18:02:26.000000000 +0400 ++++ contrib/PicoDDS/PicoDDS.cpp 2014-09-01 03:31:59.000000000 +0400 +@@ -48,6 +48,7 @@ + */ + + #include "PicoDDS.h" ++#include + #include + #include + #include Added: head/games/pioneer/files/patch-src_GameConfig.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/pioneer/files/patch-src_GameConfig.h Wed Oct 29 04:40:29 2014 (r371661) @@ -0,0 +1,12 @@ +--- src/GameConfig.h.orig 2014-08-28 18:02:26.000000000 +0400 ++++ src/GameConfig.h 2014-09-01 03:51:12.000000000 +0400 +@@ -8,7 +8,8 @@ + + class GameConfig : public IniConfig { + public: +- GameConfig(const std::map &override_ = std::map()); ++ typedef std::map map_string; ++ GameConfig(const map_string &override_ = map_string()); + + void Load(); + bool Save(); Added: head/games/pioneer/files/patch-src_posix_OSPosix.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/pioneer/files/patch-src_posix_OSPosix.cpp Wed Oct 29 04:40:29 2014 (r371661) @@ -0,0 +1,11 @@ +--- src/posix/OSPosix.cpp.orig 2014-08-28 18:02:26.000000000 +0400 ++++ src/posix/OSPosix.cpp 2014-08-31 21:03:27.000000000 +0400 +@@ -111,7 +111,7 @@ + } + + char infoString[2048]; +-#if defined(__APPLE__) ++#if defined(__APPLE__) || defined(__FREEBSD__) + snprintf(infoString, 2048, "System Name: %s\nHost Name: %s\nRelease(Kernel) Version: %s\nKernel Build Timestamp: %s\nMachine Arch: %s\n", + uts.sysname, uts.nodename, uts.release, uts.version, uts.machine); + #else Added: head/games/pioneer/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/pioneer/files/pkg-message.in Wed Oct 29 04:40:29 2014 (r371661) @@ -0,0 +1,7 @@ +Pioneer has been installed. + +Pioneer is alpha-quality software. Saved games are not guaranteed to load in +different versions of Pioneer. The universe might not be the same in the next +version of Pioneer. Anything can change. The game is not finished. + +Take a look at %%QUICKSTART_PATH%%/Quickstart.txt for more info. Added: head/games/pioneer/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/pioneer/pkg-descr Wed Oct 29 04:40:29 2014 (r371661) @@ -0,0 +1,13 @@ +Pioneer Space Simulator. + +Pioneer is a space adventure game set in the Milky Way galaxy at the turn of +the 31st century. + +The game is open-ended, and you are free to explore the millions of star +systems in the game. You can land on planets, slingshot past gas giants, and +burn yourself to a crisp flying between binary star systems. You can try your +hand at piracy, make your fortune trading between systems, or do missions for +the various factions fighting for power, freedom or self-determination. + +WWW: http://pioneerspacesim.net +WWW: http://github.com/pioneerspacesim/pioneer