View | Details | Raw Unified | Return to bug 237997
Collapse All | Expand All

(-)b/games/devilutionX/Makefile (+41 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=	devilutionX
4
PORTVERSION=	0.4.0
5
CATEGORIES=	games
6
7
MAINTAINER=	benny.goemans@gmail.com
8
COMMENT=	Open-source implementation of Diablo Game engine
9
10
LICENSE=	UNLICENSE
11
12
ONLY_FOR_ARCHS=		amd64 i386
13
ONLY_FOR_ARCHS_REASON=	Uses inline x86 assembly
14
15
LIB_DEPENDS=		libsodium.so:security/libsodium
16
17
USES=			cmake compiler:c++14-lang dos2unix sdl
18
19
USE_GCC=		yes
20
USE_SDL=		sdl2 mixer2 ttf2
21
22
USE_GITHUB=		yes
23
GH_ACCOUNT=		diasurgical
24
GH_PROJECT=		devilutionX
25
GH_TAGNAME=		${PORTVERSION}
26
27
OPTIONS_DEFAULT=	RELEASE
28
29
OPTIONS_SINGLE=		TYPE
30
OPTIONS_SINGLE_TYPE=	RELEASE NIGHTLY
31
32
RELEASE_DESC=		Build a release build
33
NIGHTLY_DESC=		Build a debug build
34
35
RELEASE_CMAKE_BOOL=	BINARY_RELEASE
36
NIGHTLY_CMAKE_BOOL=	NIGHTLY_BUILD
37
38
DESKTOP_ENTRIES="DevilutionX" "" "" "devilutionx" \
39
		"Game;AdventureGame;" false
40
41
.include <bsd.port.mk>
(-)b/games/devilutionX/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1558349866
2
SHA256 (diasurgical-devilutionX-0.4.0_GH0.tar.gz) = 2a2ca9c375aaca6958a4bcca001acf7e714e86adca80b1c03684befa48ea576c
3
SIZE (diasurgical-devilutionX-0.4.0_GH0.tar.gz) = 1351201
(-)b/games/devilutionX/files/patch-CMakeLists.txt (+8 lines)
Added Link Here
1
--- CMakeLists.txt.orig	2019-05-13 15:14:29 UTC
2
+++ CMakeLists.txt
3
@@ -287,3 +287,5 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
4
 	# Silence appfat.cpp warnings
5
   set(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -Wno-narrowing")
6
 endif()
7
+
8
+install(TARGETS devilutionx DESTINATION ${BINDIR})
(-)b/games/devilutionX/pkg-descr (+4 lines)
Added Link Here
1
Open-Source implementation of the Diablo(TM) game engine for X. This port
2
requires a file from the original game to work.
3
4
WWW: https://github.com/diasurgical/devilutionX
(-)b/games/devilutionX/pkg-message (+11 lines)
Added Link Here
1
This game requires a datafile from the original Diablo(tm) CD or the GOG release.
2
If you don't own it yet, you can buy it at https://www.gog.com/game/diablo
3
4
Copy DIABDAT.MPQ to ~/.local/share/diasurgical/devilution/diabdat.mpq
5
Pay attention to the case, the resulting file needs to be entirely lowercase!
6
7
If you have any issues with this game, file a bug report on the GitHub page:
8
https://github.com/diasurgical/devilutionX/issues
9
10
Note that only 32-bit builds are currently supported, amd64 is experimental but
11
seems to be working fine as far as I've tested.
(-)b/games/devilutionX/pkg-plist (+1 lines)
Added Link Here
1
bin/devilutionx

Return to bug 237997