# 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: # # pioneer # pioneer/files # pioneer/files/patch-src_posix_OSPosix.cpp # pioneer/files/patch-contrib_PicoDDS_PicoDDS.cpp # pioneer/files/patch-src_GameConfig.h # pioneer/files/pkg-message.in # pioneer/pkg-descr # pioneer/Makefile # pioneer/distinfo # echo c - pioneer mkdir -p pioneer > /dev/null 2>&1 echo c - pioneer/files mkdir -p pioneer/files > /dev/null 2>&1 echo x - pioneer/files/patch-src_posix_OSPosix.cpp sed 's/^X//' >pioneer/files/patch-src_posix_OSPosix.cpp << 'c4ea139be3164004dd8142cbd83c92fa' X--- src/posix/OSPosix.cpp.orig 2014-08-28 18:02:26.000000000 +0400 X+++ src/posix/OSPosix.cpp 2014-08-31 21:03:27.000000000 +0400 X@@ -111,7 +111,7 @@ X } X X char infoString[2048]; X-#if defined(__APPLE__) X+#if defined(__APPLE__) || defined(__FREEBSD__) X snprintf(infoString, 2048, "System Name: %s\nHost Name: %s\nRelease(Kernel) Version: %s\nKernel Build Timestamp: %s\nMachine Arch: %s\n", X uts.sysname, uts.nodename, uts.release, uts.version, uts.machine); X #else c4ea139be3164004dd8142cbd83c92fa echo x - pioneer/files/patch-contrib_PicoDDS_PicoDDS.cpp sed 's/^X//' >pioneer/files/patch-contrib_PicoDDS_PicoDDS.cpp << '322192d72855260ac1146fe29f812a94' X--- contrib/PicoDDS/PicoDDS.cpp.orig 2014-08-28 18:02:26.000000000 +0400 X+++ contrib/PicoDDS/PicoDDS.cpp 2014-09-01 03:31:59.000000000 +0400 X@@ -48,6 +48,7 @@ X */ X X #include "PicoDDS.h" X+#include X #include X #include X #include 322192d72855260ac1146fe29f812a94 echo x - pioneer/files/patch-src_GameConfig.h sed 's/^X//' >pioneer/files/patch-src_GameConfig.h << '38879df6d54ded2c1ee54e9ab112525b' X--- src/GameConfig.h.orig 2014-08-28 18:02:26.000000000 +0400 X+++ src/GameConfig.h 2014-09-01 03:51:12.000000000 +0400 X@@ -8,7 +8,8 @@ X X class GameConfig : public IniConfig { X public: X- GameConfig(const std::map &override_ = std::map()); X+ typedef std::map map_string; X+ GameConfig(const map_string &override_ = map_string()); X X void Load(); X bool Save(); 38879df6d54ded2c1ee54e9ab112525b echo x - pioneer/files/pkg-message.in sed 's/^X//' >pioneer/files/pkg-message.in << '853c2e515525771cdaccd328f189b793' XPioneer has been installed. X XPioneer is alpha-quality software. Saved games are not guaranteed to load in Xdifferent versions of Pioneer. The universe might not be the same in the next Xversion of Pioneer. Anything can change. The game is not finished. X XTake a look at %%QUICKSTART_PATH%%/Quickstart.txt for more info. 853c2e515525771cdaccd328f189b793 echo x - pioneer/pkg-descr sed 's/^X//' >pioneer/pkg-descr << 'eaea9141e7440c08da53838e2d12d76a' XPioneer Space Simulator. X XPioneer is a space adventure game set in the Milky Way galaxy at the turn of Xthe 31st century. X XThe game is open-ended, and you are free to explore the millions of star Xsystems in the game. You can land on planets, slingshot past gas giants, and Xburn yourself to a crisp flying between binary star systems. You can try your Xhand at piracy, make your fortune trading between systems, or do missions for Xthe various factions fighting for power, freedom or self-determination. X XWWW: http://pioneerspacesim.net XWWW: http://github.com/pioneerspacesim/pioneer eaea9141e7440c08da53838e2d12d76a echo x - pioneer/Makefile sed 's/^X//' >pioneer/Makefile << 'ec1a9c75afe8311b299ad5bacbb19d64' X# Created by: lightside X# $FreeBSD$ X XPORTNAME= pioneer XPORTVERSION= 20141011 XCATEGORIES= games XMASTER_SITES= http://github.com/${GH_ACCOUNT}/${GH_PROJECT}/archive/${GH_TAGNAME}.tar.gz?dummy=/ X XMAINTAINER= lightside@gmx.com XCOMMENT= Space adventure game set in the Milky Way galaxy X XLICENSE= APACHE20 GPLv3 MIT ZLIB CCBYSAv3 DejaVu GLEW SIL XLICENSE_COMB= multi XLICENSE_NAME_CCBYSAv3= Creative Commons Attribution-ShareAlike 3.0 Unported license XLICENSE_NAME_DejaVu= Bitstream Vera and Arev fonts license XLICENSE_NAME_GLEW= The OpenGL Extension Wrangler Library license XLICENSE_NAME_SIL= SIL open font license version 1.1 XLICENSE_FILE_CCBYSAv3= ${WRKSRC}/licenses/CC-BY-SA-3.0.txt XLICENSE_FILE_DejaVu= ${WRKSRC}/licenses/DejaVu-license.txt XLICENSE_FILE_GLEW= ${WRKSRC}/licenses/GLEW.txt XLICENSE_FILE_SIL= ${WRKSRC}/licenses/SIL-1.1.txt XLICENSE_PERMS_CCBYSAv3= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept XLICENSE_PERMS_DejaVu= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept XLICENSE_PERMS_GLEW= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept XLICENSE_PERMS_SIL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept X XBUILD_DEPENDS= ${LOCALBASE}/include/GL/glu.h:${PORTSDIR}/graphics/libGLU XLIB_DEPENDS= libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20 \ X libfreetype.so:${PORTSDIR}/print/freetype2 \ X libvorbisfile.so:${PORTSDIR}/audio/libvorbis \ X libpng15.so:${PORTSDIR}/graphics/png \ X libassimp.so:${PORTSDIR}/multimedia/assimp X XGH_ACCOUNT= pioneerspacesim XGH_PROJECT= ${PORTNAME} XGH_TAGNAME= ${PORTVERSION} X XUSES= gmake pkgconfig XUSE_AUTOTOOLS= aclocal autoconf automake XAUTOMAKE_ARGS= --add-missing XUSE_GL= gl XUSE_SDL= image2 sdl2 X XGNU_CONFIGURE= yes XCONFIGURE_ENV= PIONEER_DATA_DIR="${DATADIR}/data" XCONFIGURE_ARGS= --with-version=${PORTVERSION} XEXTRACT_AFTER_ARGS= --exclude .gitignore X XPORTDATA= data XPORTDOCS= AUTHORS.txt Changelog.txt Modelviewer.txt Quickstart.txt README.txt X XPLIST_FILES= bin/${PORTNAME} \ X share/pixmaps/${PORTNAME}.png X XDESKTOP_ENTRIES="Pioneer" "${COMMENT}" \ X "${PREFIX}/share/pixmaps/${PORTNAME}.png" "${PORTNAME}" \ X "Game;Simulation;" false X XSUB_FILES= pkg-message XSUB_LIST= QUICKSTART_PATH="${QUICKSTART_PATH}" X XOPTIONS_DEFINE= DOCS MODELCOMPILER XOPTIONS_DEFAULT= MODELCOMPILER XMODELCOMPILER_DESC= Build/install modelcompiler tool XMODELCOMPILER_PLIST_FILES= bin/${PORTNAME}-modelcompiler X X.include X X.if ${OSVERSION} < 1000054 XUSE_GCC= yes X.else XUSES+= compiler:c++11-lang XCPPFLAGS+= -I${LOCALBASE}/include X.endif X X.if ${PORT_OPTIONS:MDOCS} XQUICKSTART_PATH= ${DOCSDIR} X.else XQUICKSTART_PATH= \ X https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${GH_TAGNAME} X.endif X Xpost-patch: X @${REINPLACE_CMD} -e '/^OPTIMISE=/d' \ X ${WRKSRC}/configure.ac X @${REINPLACE_CMD} -e 's/modelviewer/${PORTNAME} -modelviewer/' \ X ${WRKSRC}/Modelviewer.txt X.if !${PORT_OPTIONS:MMODELCOMPILER} X @${REINPLACE_CMD} -e 's/pioneer modelcompiler/pioneer/' \ X ${WRKSRC}/src/Makefile.am X.endif X Xpost-install: X.if ${PORT_OPTIONS:MMODELCOMPILER} X @${MV} ${STAGEDIR}${PREFIX}/bin/modelcompiler ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-modelcompiler X.endif X.if ${PORT_OPTIONS:MDOCS} X cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} X.endif X ${INSTALL_DATA} ${WRKSRC}/application-icon/pngs/pioneer-256x256.png \ X ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png X X.include ec1a9c75afe8311b299ad5bacbb19d64 echo x - pioneer/distinfo sed 's/^X//' >pioneer/distinfo << '9b1fdcb3400b8551252a95b8bf1dd5e9' XSHA256 (pioneer-20141011.tar.gz) = f3a90a7168ef1343fd111959010a853f3f62b63f08e33071f59848a327e1bb9d XSIZE (pioneer-20141011.tar.gz) = 173700946 9b1fdcb3400b8551252a95b8bf1dd5e9 exit