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)
This commit is contained in:
parent
9c92b2246f
commit
6f884fedee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=429276
@ -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}/bin" \
|
||||
|
||||
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: error: Architecture not supported
|
||||
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
|
||||
|
@ -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
|
||||
|
@ -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 \
|
||||
|
@ -4,7 +4,7 @@ To play Return to Castle Wolfenstein:
|
||||
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/1.42d
|
||||
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
|
Loading…
Reference in New Issue
Block a user