Index: head/games/iortcw/pkg-message =================================================================== --- head/games/iortcw/pkg-message (revision 429275) +++ head/games/iortcw/pkg-message (nonexistent) @@ -1,10 +0,0 @@ -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/1.42d -4. Extract all patch-data-*.zip in ~/.wolf -5a. Start a single player game with iowolfsp -5b. Or a multiplayer game with iowolfmp Property changes on: head/games/iortcw/pkg-message ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/iortcw/Makefile =================================================================== --- head/games/iortcw/Makefile (revision 429275) +++ head/games/iortcw/Makefile (revision 429276) @@ -1,58 +1,64 @@ # Created by: Tobias Kortkamp # $FreeBSD$ PORTNAME= iortcw -PORTVERSION= 1.42d +DISTVERSION= 1.5a +PORTEPOCH= 1 CATEGORIES= games MAINTAINER= t@tobik.me COMMENT= Game engine for Return to Castle Wolfenstein LICENSE= GPLv3 BUILD_DEPENDS= opusfile>0:audio/opusfile 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 USE_GITHUB= yes WOLFDIR= "libexec/${PORTNAME}" MAKE_ARGS= BINDIR="${STAGEDIR}${PREFIX}/bin" \ COPYDIR="${STAGEDIR}${PREFIX}/${WOLFDIR}" 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 OPTIONS_SUB= yes MP_DESC= Build multiplayer support SP_DESC= Build singleplayer support SP_ALL_TARGET= sp SP_INSTALL_TARGET= sp-install MP_ALL_TARGET= mp MP_INSTALL_TARGET= mp-install 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 post-install-SP-on: ${INSTALL_SCRIPT} ${WRKDIR}/iowolfsp ${STAGEDIR}${PREFIX}/bin/iowolfsp .include Index: head/games/iortcw/distinfo =================================================================== --- head/games/iortcw/distinfo (revision 429275) +++ head/games/iortcw/distinfo (revision 429276) @@ -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 Index: head/games/iortcw/files/Makefile =================================================================== --- head/games/iortcw/files/Makefile (revision 429275) +++ head/games/iortcw/files/Makefile (revision 429276) @@ -1,39 +1,39 @@ MAKE_ARGS= BUILD_CLIENT=1 \ BUILD_SERVER=1 \ BUILD_GAME_SO=1 \ BUILD_GAME_QVM=0 \ TOOLS_CC=${CC} \ BUILD_BASEGAME=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 \ USE_CODEC_OPUS=0 \ USE_FREETYPE=1 \ USE_LOCAL_HEADERS=0 \ V=1 \ OPTIMIZEVM="" \ OPTIMIZE="" \ COPYDIR="${COPYDIR}" sp: ${MAKE} -C SP ${MAKE_ARGS} sp-install: mkdir -p ${COPYDIR} ${MAKE} -C SP ${MAKE_ARGS} copyfiles mp: ${MAKE} -C MP ${MAKE_ARGS} mp-install: mkdir -p ${COPYDIR} ${MAKE} -C MP ${MAKE_ARGS} copyfiles Index: head/games/iortcw/files/pkg-message.in =================================================================== --- head/games/iortcw/files/pkg-message.in (nonexistent) +++ head/games/iortcw/files/pkg-message.in (revision 429276) @@ -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 Property changes on: head/games/iortcw/files/pkg-message.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property