summaryrefslogtreecommitdiff
path: root/games/devilutionX/Makefile
blob: 897f082edc38d5aebc7be842624b13f850e81955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# $FreeBSD$

PORTNAME=	devilutionX
PORTVERSION=	0.4.0
PORTREVISION=	1
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 dos2unix sdl
USE_GCC=	yes
USE_SDL=	mixer2 sdl2 ttf2

PLIST_FILES=	bin/devilutionx

USE_GITHUB=	yes
GH_ACCOUNT=	diasurgical
GH_PROJECT=	devilutionX

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>