From owner-svn-ports-all@freebsd.org Fri Dec 23 17:30:06 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6402DC8EFC0; Fri, 23 Dec 2016 17:30:06 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3E839EE3; Fri, 23 Dec 2016 17:30:06 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBNHU5CD047773; Fri, 23 Dec 2016 17:30:05 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBNHU5oC047768; Fri, 23 Dec 2016 17:30:05 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201612231730.uBNHU5oC047768@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Fri, 23 Dec 2016 17:30:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429276 - in head/games/iortcw: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 17:30:06 -0000 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 (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