From owner-svn-ports-head@freebsd.org Tue Mar 19 15:26:03 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33FA71553B13; Tue, 19 Mar 2019 15:26:03 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C737789AC7; Tue, 19 Mar 2019 15:26:02 +0000 (UTC) (envelope-from swills@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9A693B1B7; Tue, 19 Mar 2019 15:26:02 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2JFQ2Nd088349; Tue, 19 Mar 2019 15:26:02 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2JFQ0X8088341; Tue, 19 Mar 2019 15:26:00 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201903191526.x2JFQ0X8088341@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Tue, 19 Mar 2019 15:26:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r496267 - in head/games: . ecwolf ecwolf/files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/games: . ecwolf ecwolf/files X-SVN-Commit-Revision: 496267 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: C737789AC7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.94)[-0.943,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2019 15:26:03 -0000 Author: swills Date: Tue Mar 19 15:26:00 2019 New Revision: 496267 URL: https://svnweb.freebsd.org/changeset/ports/496267 Log: games/ecwolf: create port ECWolf is an advanced source port for Wolfenstein 3D, Spear of Destiny, and Super 3D Noah's Ark based off of the Wolf4SDL code base. ECWolf pulls a substantial amount of code from ZDoom and aims to provide a wide array of mod editing capabilities without the need to modify the source code. Most importantly you will no longer need to replace entire data sets. With ECWolf you could for example add a weapon without needing to distribute every sprite in the game along with it. Mods will be neatly packaged into a single file just like they are for Doom. WWW: https://maniacsvault.net/ecwolf PR: 230848 Submitted by: Piotr Kubaj Added: head/games/ecwolf/ head/games/ecwolf/Makefile (contents, props changed) head/games/ecwolf/distinfo (contents, props changed) head/games/ecwolf/files/ head/games/ecwolf/files/ecwolf.in (contents, props changed) head/games/ecwolf/files/patch-src_CMakeLists.txt (contents, props changed) head/games/ecwolf/files/patch-src_wl__iwad__picker.cpp (contents, props changed) head/games/ecwolf/files/pkg-message.in (contents, props changed) head/games/ecwolf/pkg-descr (contents, props changed) Modified: head/games/Makefile (contents, props changed) Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Tue Mar 19 15:14:17 2019 (r496266) +++ head/games/Makefile Tue Mar 19 15:26:00 2019 (r496267) @@ -227,6 +227,7 @@ SUBDIR += dxx-rebirth SUBDIR += easyrpg-player SUBDIR += eboard + SUBDIR += ecwolf SUBDIR += edge SUBDIR += editss SUBDIR += eduke32 Added: head/games/ecwolf/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/ecwolf/Makefile Tue Mar 19 15:26:00 2019 (r496267) @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= ecwolf +PORTVERSION= 1.3.3 +DISTVERSIONSUFFIX= -src +CATEGORIES= games +MASTER_SITES= http://maniacsvault.net/ecwolf/files/ecwolf/1.x/ + +MAINTAINER= pkubaj@anongoth.pl +COMMENT= Source port for Wolfenstein 3D, Spear of Destiny + +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 + +USES= cmake jpeg localbase:ldflags gnome pkgconfig tar:xz +USE_GNOME= cairo gdkpixbuf2 gtk20 +USE_SDL= mixer sdl + +SUB_FILES= ecwolf pkg-message +SUB_LIST= PORTNAME=${PORTNAME} + +PLIST_FILES= bin/${PORTNAME} \ + share/${PORTNAME}/${PORTNAME} \ + share/${PORTNAME}/${PORTNAME}.pk3 + +do-install: + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} \ + ${STAGEDIR}${DATADIR}/ + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_DATA} ${BUILD_WRKSRC}/${PORTNAME}.pk3 \ + ${STAGEDIR}${DATADIR} + +.include Added: head/games/ecwolf/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/ecwolf/distinfo Tue Mar 19 15:26:00 2019 (r496267) @@ -0,0 +1,3 @@ +TIMESTAMP = 1534522946 +SHA256 (ecwolf-1.3.3-src.tar.xz) = 346b519745f399256463a7cf56d84c1315b1436c95e3a28aa287fc268ed96de9 +SIZE (ecwolf-1.3.3-src.tar.xz) = 7641476 Added: head/games/ecwolf/files/ecwolf.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/ecwolf/files/ecwolf.in Tue Mar 19 15:26:00 2019 (r496267) @@ -0,0 +1,3 @@ +#!/bin/sh + +cd %%PREFIX%%/share/ecwolf && ./ecwolf Added: head/games/ecwolf/files/patch-src_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/ecwolf/files/patch-src_CMakeLists.txt Tue Mar 19 15:26:00 2019 (r496267) @@ -0,0 +1,24 @@ +--- src/CMakeLists.txt.orig 2019-01-29 16:31:24 UTC ++++ src/CMakeLists.txt +@@ -40,9 +40,9 @@ else(GPL) + set(EXTRA_LIBRARIES) + endif(GPL) + +-find_package(SDL REQUIRED) +-find_package(SDL_mixer REQUIRED) +-include_directories(${SDLMIXER_INCLUDE_DIR} ${SDL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${BZIP2_INCLUDE_DIR} ${JPEG_INCLUDE_DIR}) ++pkg_search_module(SDL REQUIRED sdl sdl) ++pkg_search_module(SDLMIXER REQUIRED SDL_mixer) ++include_directories(${SDLMIXER_INCLUDE_DIRS} ${SDL_INCLUDE_DIRS}/SDL ${ZLIB_INCLUDE_DIR} ${BZIP2_INCLUDE_DIR} ${JPEG_INCLUDE_DIR}) + + check_function_exists(stricmp STRICMP_EXISTS) + check_function_exists(strnicmp STRNICMP_EXISTS) +@@ -320,7 +320,7 @@ else(NOT ANDROID) + endif(NOT ANDROID) + + add_dependencies(ecwolf lzma gdtoa revision_check) +-target_link_libraries(ecwolf ${EXTRA_LIBRARIES} ${SDL_LIBRARY} ${SDLMIXER_LIBRARY} ${ZLIB_LIBRARY} ${BZIP2_LIBRARIES} ${JPEG_LIBRARIES} lzma gdtoa) ++target_link_libraries(ecwolf ${EXTRA_LIBRARIES} ${SDL_LIBRARIES} ${SDLMIXER_LIBRARIES} ${ZLIB_LIBRARY} ${BZIP2_LIBRARIES} ${JPEG_LIBRARIES} lzma gdtoa) + set_target_properties(ecwolf PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${OUTPUT_DIR}) + + # Install Added: head/games/ecwolf/files/patch-src_wl__iwad__picker.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/ecwolf/files/patch-src_wl__iwad__picker.cpp Tue Mar 19 15:26:00 2019 (r496267) @@ -0,0 +1,19 @@ +--- src/wl_iwad_picker.cpp.orig 2018-08-17 16:43:51 UTC ++++ src/wl_iwad_picker.cpp +@@ -1,6 +1,7 @@ + // From ZDoom! + + #include ++#include + + #include "zdoomsupport.h" + +@@ -227,7 +228,7 @@ int I_PickIWad (WadStuff *wads, int numwads, bool show + const char *str; + if((str=getenv("KDE_FULL_SESSION")) && strcmp(str, "true") == 0) + { +- FString cmd("kdialog --title \""GAMESIG" "DOTVERSIONSTR": Select an IWAD to use\"" ++ FString cmd("kdialog --title \"" GAMESIG " " DOTVERSIONSTR ": Select an IWAD to use\"" + " --menu \"" GAMENAME " found more than one IWAD\n" + "Select from the list below to determine which one to use:\""); + Added: head/games/ecwolf/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/ecwolf/files/pkg-message.in Tue Mar 19 15:26:00 2019 (r496267) @@ -0,0 +1,5 @@ +================================================================================ + +To play this game, unpack original files to %%PREFIX%%/share/%%PORTNAME%%. + +================================================================================ Added: head/games/ecwolf/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/ecwolf/pkg-descr Tue Mar 19 15:26:00 2019 (r496267) @@ -0,0 +1,10 @@ +ECWolf is an advanced source port for Wolfenstein 3D, Spear of Destiny, +and Super 3D Noah's Ark based off of the Wolf4SDL code base. ECWolf pulls +a substantial amount of code from ZDoom and aims to provide a wide array of mod +editing capabilities without the need to modify the source code. +Most importantly you will no longer need to replace entire data sets. +With ECWolf you could for example add a weapon without needing to distribute +every sprite in the game along with it. Mods will be neatly packaged into +a single file just like they are for Doom. + +WWW: https://maniacsvault.net/ecwolf