# 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/Makefile # pioneer/pkg-descr # 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/Makefile sed 's/^X//' >pioneer/Makefile << 'ec1a9c75afe8311b299ad5bacbb19d64' X# Created by: lightside X# $FreeBSD$ X XPORTNAME= pioneer XPORTVERSION= 20140907 XCATEGORIES= games XMASTER_SITES= GH 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\ XUnported 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 XUSE_GITHUB= yes XGH_ACCOUNT= pioneerspacesim XGH_PROJECT= ${PORTNAME} XGH_TAGNAME= ${PORTVERSION} XGH_COMMIT= 5549ee2 X XWRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT} X XBUILD_DEPENDS+= ${LOCALBASE}/include/GL/glu.h:${PORTSDIR}/graphics/libGLU X 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 XUSES= gmake makeinfo pkgconfig XUSE_AUTOTOOLS= aclocal:env autoconf:env autoheader:env automake:env 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 data/*/.gitignore X XCPPFLAGS+= -I${LOCALBASE}/include X XPORTDATA= data XPORTDOCS= licenses \ X AUTHORS.txt Changelog.txt Modelviewer.txt Quickstart.txt README.txt X XPLIST_FILES= bin/${PORTNAME} bin/${PORTNAME}-modelcompiler \ X share/pixmaps/${PORTNAME}.png X XDESKTOP_ENTRIES="Pioneer" "${COMMENT}" \ X "${PREFIX}/share/pixmaps/${PORTNAME}.png" "${PORTNAME}" \ X "Game;Simulation;" false X XOPTIONS_DEFINE= DOCS 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 Xpre-configure: X @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${AUTORECONF} -fi X Xpre-install: X @cd ${WRKSRC}/data && ${RM} -f Makefile* X @cd ${WRKSRC}/src && ${CP} -f modelcompiler ${PORTNAME}-modelcompiler X Xdo-install: X.for b in ${PLIST_FILES:Mbin/*:T} X ${INSTALL_PROGRAM} ${WRKSRC}/src/${b} ${STAGEDIR}${PREFIX}/bin/${b} X.endfor X cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR} X cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/application-icon/pngs/pioneer-256x256.png \ X ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png X X.include ec1a9c75afe8311b299ad5bacbb19d64 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 eaea9141e7440c08da53838e2d12d76a echo x - pioneer/distinfo sed 's/^X//' >pioneer/distinfo << '9b1fdcb3400b8551252a95b8bf1dd5e9' XSHA256 (pioneer-20140907.tar.gz) = e2ff44c0101d8bd2da4e11579f7e14dc21e96d727833dd8a561b0cb65797d6eb XSIZE (pioneer-20140907.tar.gz) = 169311657 9b1fdcb3400b8551252a95b8bf1dd5e9 exit