Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2016 17:30:05 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429276 - in head/games/iortcw: . files
Message-ID:  <201612231730.uBNHU5oC047768@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cpm
Date: Fri Dec 23 17:30:04 2016
New Revision: 429276
URL: https://svnweb.freebsd.org/changeset/ports/429276

Log:
  games/iortcw: Update to 1.5a
  
  - Update iortcw to 1.5a
  - Use DISTVERSION instead of PORTVERSION
  - Bump PORTEPOCH
  - Disable use of OpenAL to fix segmentation faults on FreeBSD 11.0-RELEASE
  - Dynamically adjust pkg-message
  
  PR:		214959
  Submitted by:	Tobias Kortkamp <t@tobik.me> (maintainer)
  Reviewed by:	junovitch
  Approved by:	junovitch (mentor)

Added:
  head/games/iortcw/files/pkg-message.in   (contents, props changed)
Deleted:
  head/games/iortcw/pkg-message
Modified:
  head/games/iortcw/Makefile
  head/games/iortcw/distinfo
  head/games/iortcw/files/Makefile

Modified: head/games/iortcw/Makefile
==============================================================================
--- head/games/iortcw/Makefile	Fri Dec 23 16:34:52 2016	(r429275)
+++ head/games/iortcw/Makefile	Fri Dec 23 17:30:04 2016	(r429276)
@@ -2,7 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	iortcw
-PORTVERSION=	1.42d
+DISTVERSION=	1.5a
+PORTEPOCH=	1
 CATEGORIES=	games
 
 MAINTAINER=	t@tobik.me
@@ -15,7 +16,7 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libopus.so:audio/opus \
 		libfreetype.so:print/freetype2
 
-USES=		jpeg openal pkgconfig gmake
+USES=		jpeg pkgconfig gmake
 USE_GL=		gl
 USE_SDL=	sdl2
 
@@ -27,8 +28,9 @@ MAKE_ARGS=	BINDIR="${STAGEDIR}${PREFIX}/
 
 PLIST_SUB=	ARCH="${ARCH}" WOLFDIR="${WOLFDIR}"
 
-SUB_FILES=	iowolfsp iowolfmp iowolfded
-SUB_LIST=	ARCH="${ARCH}" WOLFDIR="${PREFIX}/${WOLFDIR}"
+SUB_FILES=	iowolfsp iowolfmp iowolfded pkg-message
+SUB_LIST=	ARCH="${ARCH}" WOLFDIR="${PREFIX}/${WOLFDIR}" \
+		DISTVERSION="${DISTVERSION}"
 
 OPTIONS_DEFINE=	MP SP
 OPTIONS_DEFAULT=	MP SP
@@ -48,6 +50,10 @@ BROKEN_aarch64=		Fails to configure: err
 post-extract:
 	${CP} ${FILESDIR}/Makefile ${WRKSRC}
 
+post-patch:
+	@${REINPLACE_CMD} '/\.git\/index/d' ${WRKSRC}/SP/Makefile
+	@${REINPLACE_CMD} '/\.git\/index/d' ${WRKSRC}/MP/Makefile
+
 post-install-MP-on:
 	${INSTALL_SCRIPT} ${WRKDIR}/iowolfmp ${STAGEDIR}${PREFIX}/bin/iowolfmp
 	${INSTALL_SCRIPT} ${WRKDIR}/iowolfded ${STAGEDIR}${PREFIX}/bin/iowolfded

Modified: head/games/iortcw/distinfo
==============================================================================
--- head/games/iortcw/distinfo	Fri Dec 23 16:34:52 2016	(r429275)
+++ head/games/iortcw/distinfo	Fri Dec 23 17:30:04 2016	(r429276)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1469455810
-SHA256 (iortcw-iortcw-1.42d_GH0.tar.gz) = 78fd5e1639c014af91b076c4034ca2f5d57ce84e8d3d93b84ca13c91e2840d9a
-SIZE (iortcw-iortcw-1.42d_GH0.tar.gz) = 29852958
+TIMESTAMP = 1480523801
+SHA256 (iortcw-iortcw-1.5a_GH0.tar.gz) = 660a7f3ac48e094cad5169ddd284ceef9fdb1a12fa9981d8a51955a08577d617
+SIZE (iortcw-iortcw-1.5a_GH0.tar.gz) = 30620646

Modified: head/games/iortcw/files/Makefile
==============================================================================
--- head/games/iortcw/files/Makefile	Fri Dec 23 16:34:52 2016	(r429275)
+++ head/games/iortcw/files/Makefile	Fri Dec 23 17:30:04 2016	(r429276)
@@ -7,12 +7,12 @@ MAKE_ARGS=	BUILD_CLIENT=1 \
 		USE_CURL=1 \
 		USE_CURL_DLOPEN=0 \
 		USE_INTERNAL_LIBS=0 \
-		USE_OPENAL=1 \
+		USE_OPENAL=0 \
 		USE_OPENAL_DLOPEN=0 \
 		USE_INTERNAL_SPEEX=0 \
 		USE_INTERNAL_ZLIB=0 \
 		USE_INTERNAL_JPEG=0 \
-		CLIENT_LIBS+="-L${PREFIX}/lib -lSDL2 -lcurl -lopenal -lopus" \
+		CLIENT_LIBS+="-L${PREFIX}/lib -lSDL2 -lcurl -lopus" \
 		USE_INTERNAL_OGG=0 \
 		USE_INTERNAL_OPUS=0 \
 		USE_CODEC_VORBIS=0 \

Added: head/games/iortcw/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/iortcw/files/pkg-message.in	Fri Dec 23 17:30:04 2016	(r429276)
@@ -0,0 +1,10 @@
+To play Return to Castle Wolfenstein:
+
+1. Install RtCW from your CD using emulators/i386-wine
+2. Copy your game files to ~/.wolf.  They should be in
+   "~/.wine/drive_c/Program Files/Return to Castle Wolfenstein"
+3. Download patch-data-141.zip (and the language specific patch-data-* file if needed)
+   from https://github.com/iortcw/iortcw/releases/tag/%%DISTVERSION%%
+4. Extract all patch-data-*.zip in ~/.wolf
+5a. Start a single player game with iowolfsp
+5b. Or a multiplayer game with iowolfmp



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