Date: Sun, 26 May 2019 18:34:43 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> 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 Message-ID: <201905261834.x4QIYhE7073602@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905261834.x4QIYhE7073602>