Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2014 23:05:51 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374553 - in head/games: . wxlauncher
Message-ID:  <201412112305.sBBN5p2T030255@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Dec 11 23:05:50 2014
New Revision: 374553
URL: https://svnweb.freebsd.org/changeset/ports/374553
QAT: https://qat.redports.org/buildarchive/r374553/

Log:
  wxLauncher is a multi-platform launcher for the Freespace 2 Source Code Project.
  
  wxLauncher aims to give one unified answer to members of the Freespace 2 Open
  community looking for an easy way to control fs2_open on various platforms and
  to those looking for an easy way to find and get updates to their Freespace 2
  MODs and TCs.
  
  WWW: http://github.com/wxLauncher/wxlauncher
  
  PR:		195013
  Submitted by:	lightside@gmx.com

Added:
  head/games/wxlauncher/
  head/games/wxlauncher/Makefile   (contents, props changed)
  head/games/wxlauncher/distinfo   (contents, props changed)
  head/games/wxlauncher/pkg-descr   (contents, props changed)
Modified:
  head/games/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Thu Dec 11 22:17:49 2014	(r374552)
+++ head/games/Makefile	Thu Dec 11 23:05:50 2014	(r374553)
@@ -1041,6 +1041,7 @@
     SUBDIR += wordplay
     SUBDIR += worldofpadman
     SUBDIR += wtf
+    SUBDIR += wxlauncher
     SUBDIR += xabacus
     SUBDIR += xasteroids
     SUBDIR += xataxx

Added: head/games/wxlauncher/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/wxlauncher/Makefile	Thu Dec 11 23:05:50 2014	(r374553)
@@ -0,0 +1,64 @@
+# Created by: lightside <lightside@gmx.com>
+# $FreeBSD$
+
+PORTNAME=	wxlauncher
+PORTVERSION=	0.9.4
+CATEGORIES=	games
+
+MAINTAINER=	lightside@gmx.com
+COMMENT=	Multi-platform launcher for the Freespace 2 Source Code Project
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/GPLv2.txt
+
+BUILD_DEPENDS=	markdown_py:${PORTSDIR}/textproc/py-markdown \
+		${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	wxLauncher
+GH_PROJECT=	${PORTNAME}
+GH_COMMIT=	d251770
+GH_TAGNAME=	${GH_COMMIT}
+
+USES=		cmake:outsource openal python:2:build
+USE_SDL=	sdl
+USE_WX=		2.8
+WX_UNICODE=	yes
+CMAKE_ARGS+=	-DRESOURCES_PATH:STRING="${DATADIR}"
+
+PORTDATA=	*
+PORTDOCS=	Authors.txt License.txt ReadMe*.txt Thanks.txt
+
+PLIST_FILES=	bin/${PORTNAME} \
+		share/pixmaps/${PORTNAME}.png
+
+DESKTOP_ENTRIES="wxLauncher" "${COMMENT}" \
+		"${PORTNAME}" "${PORTNAME}" \
+		"Game;" false
+
+OPTIONS_DEFINE=	DOCS JOYSTICK
+OPTIONS_DEFAULT=	JOYSTICK
+JOYSTICK_DESC=	Build with joystick support
+JOYSTICK_CMAKE_ON=	-DUSE_JOYSTICK:BOOL=ON
+JOYSTICK_CMAKE_OFF=	-DUSE_JOYSTICK:BOOL=OFF
+
+.include <bsd.port.options.mk>
+
+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
+# Change version_strings.cpp.in file, based on GH_TAGNAME, without using hg
+	${REINPLACE_CMD} -e '/find_program(HG_EXECUTABLE/d ; \
+		/version_strings.cpp will be generated/d' \
+		${WRKSRC}/CMakeLists.txt
+	${REINPLACE_CMD} -e 's|123456789abc+ unknown custom tip|${GH_TAGNAME}|' \
+		${WRKSRC}/code/global/version_strings.cpp.in
+
+pre-install:
+	${INSTALL_DATA} ${WRKSRC}/onlinehelp/images/header.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
+
+.include <bsd.port.mk>

Added: head/games/wxlauncher/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/wxlauncher/distinfo	Thu Dec 11 23:05:50 2014	(r374553)
@@ -0,0 +1,2 @@
+SHA256 (wxlauncher-0.9.4.tar.gz) = c4f94bcc7bb84d694b0cd2a97a6dc37013ae32c9df8cb4d8377d1f55a12ea102
+SIZE (wxlauncher-0.9.4.tar.gz) = 892760

Added: head/games/wxlauncher/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/wxlauncher/pkg-descr	Thu Dec 11 23:05:50 2014	(r374553)
@@ -0,0 +1,8 @@
+wxLauncher is a multi-platform launcher for the Freespace 2 Source Code Project.
+
+wxLauncher aims to give one unified answer to members of the Freespace 2 Open
+community looking for an easy way to control fs2_open on various platforms and
+to those looking for an easy way to find and get updates to their Freespace 2
+MODs and TCs.
+
+WWW: http://github.com/wxLauncher/wxlauncher



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412112305.sBBN5p2T030255>