1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

games/wxlauncher: update to 0.9.6

- Remove sed patches, which were fixed upstream

Changes:	https://github.com/wxLauncher/wxlauncher/compare/release-0.9.5...release-0.9.6
PR:		199429 (sans WX3 by default)
Submitted by:	lightside <lightside@gmx.com> (maintainer)
This commit is contained in:
Jan Beich 2015-05-04 11:18:03 +00:00
parent decefcad97
commit 49e2a12e43
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385396
2 changed files with 6 additions and 18 deletions

View File

@ -2,8 +2,9 @@
# $FreeBSD$
PORTNAME= wxlauncher
PORTVERSION= 0.9.5
PORTVERSION= 0.9.6
CATEGORIES= games
DISTNAME= ${PORTNAME}-${DISTVERSIONFULL}
MAINTAINER= lightside@gmx.com
COMMENT= Multi-platform launcher for the Freespace 2 Source Code Project
@ -16,8 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>0:${PORTSDIR}/textproc/py-markdow
USE_GITHUB= yes
GH_ACCOUNT= wxLauncher
GH_COMMIT= 7ee46df
GH_TAGNAME= ${GH_COMMIT}
GH_TAGNAME= release-${PORTVERSION}
USES= cmake:outsource openal python:2,build
USE_SDL= sdl
@ -25,7 +25,7 @@ WX_UNICODE= yes
CMAKE_ARGS+= -DRESOURCES_PATH:STRING="${DATADIR}"
PORTDATA= *
PORTDOCS= Authors.txt License.txt ReadMe*.txt Thanks.txt
PORTDOCS= Authors.md License.txt ReadMe*.md Thanks.txt
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png
@ -53,24 +53,12 @@ SED_RE_WX3= NOT wxWidgets_FOUND/,+3d
.endif
post-patch: .SILENT
# The GetPlatformDefaultConfigFilePath function used as extern inside of
# ${WRKSRC}/code/apis/PlatformProfileManagerShared.cpp file
${REINPLACE_CMD} -e 's|^inline wxFileName|extern wxFileName|' \
${WRKSRC}/code/apis/FileProfileManager.cpp
# Fix relative path to OpenAL includes
${REINPLACE_CMD} -e '/^#include <al/s|al/||' \
${WRKSRC}/code/apis/OpenALManager.cpp
# Change version_strings.cpp.in file, based on GH_TAGNAME, without using git
${REINPLACE_CMD} -e '/find_program(GIT_EXECUTABLE/d ; \
/version_strings.cpp will be generated/d ; /${SED_RE_WX3}' \
${WRKSRC}/CMakeLists.txt
${REINPLACE_CMD} -e 's|123456789abc+ unknown custom tip|${GH_TAGNAME}|' \
${WRKSRC}/code/global/version_strings.cpp.in
.if ${PORT_OPTIONS:MWX3}
# Fix ambiguity between wxCStrData and wxString
${REINPLACE_CMD} -e 's|item->forum\.c_str|(wxString)&|' \
${WRKSRC}/code/controls/ModList.cpp
.endif
pre-install:
${INSTALL_DATA} ${WRKSRC}/onlinehelp/images/header.png \

View File

@ -1,2 +1,2 @@
SHA256 (wxlauncher-0.9.5.tar.gz) = bc4a14cff2a012b95fd72610ffad1ad74df06665c4c19fbde55df949e9e41aea
SIZE (wxlauncher-0.9.5.tar.gz) = 893508
SHA256 (wxlauncher-0.9.6_GH0.tar.gz) = 24a90722a63ee8a711e268bd78535bbb1ec99a2b27fd7c3750517d07424b6979
SIZE (wxlauncher-0.9.6_GH0.tar.gz) = 893799