From owner-svn-ports-all@freebsd.org Sun May 26 18:34:45 2019 Return-Path: Delivered-To: svn-ports-all@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 EB0C715AD0B4; Sun, 26 May 2019 18:34:44 +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 893A869EF3; Sun, 26 May 2019 18:34:44 +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 5F9CD1F815; Sun, 26 May 2019 18:34:44 +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 x4QIYi9h073608; Sun, 26 May 2019 18:34:44 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4QIYhE7073602; Sun, 26 May 2019 18:34:43 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201905261834.x4QIYhE7073602@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Sun, 26 May 2019 18:34:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502742 - in head/games: . devilutionX devilutionX/files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/games: . devilutionX devilutionX/files X-SVN-Commit-Revision: 502742 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 893A869EF3 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Sun, 26 May 2019 18:34:45 -0000 Author: swills Date: Sun May 26 18:34:42 2019 New Revision: 502742 URL: https://svnweb.freebsd.org/changeset/ports/502742 Log: games/devilutionX: create port Open-Source implementation of the Diablo(TM) game engine for X. This port requires a file from the original game to work. WWW: https://github.com/diasurgical/devilutionX PR: 237997 Submitted by: benny.goemans@gmail.com Added: head/games/devilutionX/ head/games/devilutionX/Makefile (contents, props changed) head/games/devilutionX/distinfo (contents, props changed) head/games/devilutionX/files/ head/games/devilutionX/files/patch-CMakeLists.txt (contents, props changed) head/games/devilutionX/pkg-descr (contents, props changed) head/games/devilutionX/pkg-message (contents, props changed) Modified: head/games/Makefile (contents, props changed) Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Sun May 26 18:25:03 2019 (r502741) +++ head/games/Makefile Sun May 26 18:34:42 2019 (r502742) @@ -194,6 +194,7 @@ SUBDIR += dangerdeep-data SUBDIR += darkplaces SUBDIR += defendguin + SUBDIR += devilutionX SUBDIR += dhewm3 SUBDIR += diameter SUBDIR += diaspora Added: head/games/devilutionX/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/devilutionX/Makefile Sun May 26 18:34:42 2019 (r502742) @@ -0,0 +1,46 @@ +# $FreeBSD$ + +PORTNAME= devilutionX +PORTVERSION= 0.4.0 +CATEGORIES= games + +MAINTAINER= benny.goemans@gmail.com +COMMENT= Open-source implementation of Diablo Game engine + +LICENSE= UNLICENSE + +ONLY_FOR_ARCHS= amd64 i386 +ONLY_FOR_ARCHS_REASON= Uses inline x86 assembly + +LIB_DEPENDS= libsodium.so:security/libsodium + +USES= cmake compiler:c++14-lang dos2unix sdl +USE_GCC= yes +USE_SDL= mixer2 sdl2 ttf2 + +PLIST_FILES= bin/devilutionx + +USE_GITHUB= yes +GH_ACCOUNT= diasurgical +GH_PROJECT= devilutionX +GH_TAGNAME= ${PORTVERSION} + +OPTIONS_DEFAULT= RELEASE + +OPTIONS_SINGLE= TYPE +OPTIONS_SINGLE_TYPE= NIGHTLY RELEASE + +RELEASE_DESC= Build a release build +NIGHTLY_DESC= Build a debug build + +RELEASE_CMAKE_BOOL= BINARY_RELEASE +NIGHTLY_CMAKE_BOOL= NIGHTLY_BUILD + +DESKTOP_ENTRIES= "DevilutionX" \ + "" \ + "" \ + "devilutionx" \ + "Game;AdventureGame;" \ + false + +.include Added: head/games/devilutionX/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/devilutionX/distinfo Sun May 26 18:34:42 2019 (r502742) @@ -0,0 +1,3 @@ +TIMESTAMP = 1558349866 +SHA256 (diasurgical-devilutionX-0.4.0_GH0.tar.gz) = 2a2ca9c375aaca6958a4bcca001acf7e714e86adca80b1c03684befa48ea576c +SIZE (diasurgical-devilutionX-0.4.0_GH0.tar.gz) = 1351201 Added: head/games/devilutionX/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/devilutionX/files/patch-CMakeLists.txt Sun May 26 18:34:42 2019 (r502742) @@ -0,0 +1,8 @@ +--- CMakeLists.txt.orig 2019-05-13 15:14:29 UTC ++++ CMakeLists.txt +@@ -287,3 +287,5 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") + # Silence appfat.cpp warnings + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-narrowing") + endif() ++ ++install(TARGETS devilutionx DESTINATION ${BINDIR}) Added: head/games/devilutionX/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/devilutionX/pkg-descr Sun May 26 18:34:42 2019 (r502742) @@ -0,0 +1,4 @@ +Open-Source implementation of the Diablo(TM) game engine for X. This port +requires a file from the original game to work. + +WWW: https://github.com/diasurgical/devilutionX Added: head/games/devilutionX/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/devilutionX/pkg-message Sun May 26 18:34:42 2019 (r502742) @@ -0,0 +1,11 @@ +This game requires a datafile from the original Diablo(tm) CD or the GOG release. +If you don't own it yet, you can buy it at https://www.gog.com/game/diablo + +Copy DIABDAT.MPQ to ~/.local/share/diasurgical/devilution/diabdat.mpq +Pay attention to the case, the resulting file needs to be entirely lowercase! + +If you have any issues with this game, file a bug report on the GitHub page: +https://github.com/diasurgical/devilutionX/issues + +Note that only 32-bit builds are currently supported, amd64 is experimental but +seems to be working fine as far as I've tested.