# 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: # # wxlauncher # wxlauncher/distinfo # wxlauncher/Makefile # wxlauncher/pkg-descr # wxlauncher/files # wxlauncher/files/patch-wxlauncher_homedir.patch # echo c - wxlauncher mkdir -p wxlauncher > /dev/null 2>&1 echo x - wxlauncher/distinfo sed 's/^X//' >wxlauncher/distinfo << '320a6debb9673a1f96bb95f19dad676d' XSHA256 (wxlauncher-0.9.4.tar.gz) = c4f94bcc7bb84d694b0cd2a97a6dc37013ae32c9df8cb4d8377d1f55a12ea102 XSIZE (wxlauncher-0.9.4.tar.gz) = 892760 320a6debb9673a1f96bb95f19dad676d echo x - wxlauncher/Makefile sed 's/^X//' >wxlauncher/Makefile << 'da6984623fd71f8f5399b51148ead424' X# Created by: lightside X# $FreeBSD$ X XPORTNAME= wxlauncher XPORTVERSION= 0.9.4 XCATEGORIES= games X XMAINTAINER= lightside@gmx.com XCOMMENT= Multi-platform launcher for the Freespace 2 Source Code Project X XLICENSE= GPLv2 XLICENSE_FILE= ${WRKSRC}/GPLv2.txt X XBUILD_DEPENDS= markdown_py:${PORTSDIR}/textproc/py-markdown \ X ${PYTHON_PKGNAMEPREFIX}sqlite3:${PORTSDIR}/databases/py-sqlite3 X XUSE_GITHUB= yes XGH_ACCOUNT= wxLauncher XGH_PROJECT= ${PORTNAME} XGH_COMMIT= d251770 XGH_TAGNAME= ${GH_COMMIT} X XUSES= cmake:outsource openal XUSE_SDL= sdl XUSE_WX= 2.8 XWX_UNICODE= yes XCMAKE_ARGS+= -DRESOURCES_PATH:STRING="${DATADIR}" X XPORTDATA= * XPORTDOCS= Authors.txt License.txt ReadMe*.txt Thanks.txt X XPLIST_FILES= bin/${PORTNAME} \ X share/pixmaps/${PORTNAME}.png X XDESKTOP_ENTRIES="wxLauncher" "${COMMENT}" \ X "${PORTNAME}" "${PORTNAME}" \ X "Game;" false X XOPTIONS_DEFINE= DOCS JOYSTICK XOPTIONS_DEFAULT= JOYSTICK XJOYSTICK_DESC= Build with joystick support XJOYSTICK_CMAKE_ON= -DUSE_JOYSTICK:BOOL=ON XJOYSTICK_CMAKE_OFF= -DUSE_JOYSTICK:BOOL=OFF X X.include X Xpre-install: X ${INSTALL_DATA} ${WRKSRC}/onlinehelp/images/header.png \ X ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png X cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} X X.include da6984623fd71f8f5399b51148ead424 echo x - wxlauncher/pkg-descr sed 's/^X//' >wxlauncher/pkg-descr << '52f58619c5ac3642069167121cdd67e0' XwxLauncher is a multi-platform launcher for the Freespace 2 Source Code Project. X XwxLauncher aims to give one unified answer to members of the Freespace 2 Open Xcommunity looking for an easy way to control fs2_open on various platforms and Xto those looking for an easy way to find and get updates to their Freespace 2 XMODs and TCs. X XWWW: http://github.com/wxLauncher/wxlauncher 52f58619c5ac3642069167121cdd67e0 echo c - wxlauncher/files mkdir -p wxlauncher/files > /dev/null 2>&1 echo x - wxlauncher/files/patch-wxlauncher_homedir.patch sed 's/^X//' >wxlauncher/files/patch-wxlauncher_homedir.patch << '29fbdb598daffacbece712d4c79dcf7c' X## Description: GetPlatformDefaultConfigFilePath is not a known symbol. As it is defined as inline just inline it manually. X## Origin/Author: Christoph Korn X## Bug: https://code.google.com/p/wxlauncher/issues/detail?id=93 XIndex: code/apis/PlatformProfileManagerShared.cpp X=================================================================== X--- code/apis/PlatformProfileManagerShared.cpp 2013-02-14 18:53:15.000000000 +0100 X+++ code/apis/PlatformProfileManagerShared.cpp 2013-02-15 19:24:08.319338488 +0100 X@@ -39,8 +39,10 @@ X X wxString cmdLineString; X #if IS_LINUX // write to folder in home dir X- extern wxFileName GetPlatformDefaultConfigFilePath(); X- cmdLineString += GetPlatformDefaultConfigFilePath().GetFullPath().c_str(); X+ wxFileName path; X+ path.AssignHomeDir(); X+ path.AppendDir(_T(".fs2_open")); X+ cmdLineString += path.GetFullPath().c_str(); X #else X cmdLineString += tcPath.c_str(); X cmdLineString += wxFileName::GetPathSeparator(); X@@ -117,4 +119,4 @@ X } X X return ProMan::NoError; X-} X\ No newline at end of file X+} 29fbdb598daffacbece712d4c79dcf7c exit