aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-05-04 11:18:03 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-05-04 11:18:03 +0000
commit49e2a12e435a8516de9be88562a07a8274e733bb (patch)
treee4f3cfa5a33950ac076a66ce19c610bb16b048ed
parentdecefcad974054a2a3035dc49cddf92e9ca104df (diff)
downloadports-49e2a12e435a8516de9be88562a07a8274e733bb.tar.gz
ports-49e2a12e435a8516de9be88562a07a8274e733bb.zip
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)
Notes
Notes: svn path=/head/; revision=385396
-rw-r--r--games/wxlauncher/Makefile20
-rw-r--r--games/wxlauncher/distinfo4
2 files changed, 6 insertions, 18 deletions
diff --git a/games/wxlauncher/Makefile b/games/wxlauncher/Makefile
index 6f193e53bb59..ec6b3194f111 100644
--- a/games/wxlauncher/Makefile
+++ b/games/wxlauncher/Makefile
@@ -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 \
diff --git a/games/wxlauncher/distinfo b/games/wxlauncher/distinfo
index 3fa7e1186b09..55f65fbae658 100644
--- a/games/wxlauncher/distinfo
+++ b/games/wxlauncher/distinfo
@@ -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