aboutsummaryrefslogtreecommitdiff
path: root/games/OpenDiablo2/Makefile
blob: 924ef833776d037af568fbd42c065a45e852457a (plain) (blame)
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
47
48
49
50
51
52
53
PORTNAME=	OpenDiablo2
DISTVERSIONPREFIX=	v
DISTVERSION=	0.1-g20210514
PORTREVISION=	11
CATEGORIES=	games

MAINTAINER=	eduardo@FreeBSD.org
COMMENT=	Open source re-implementation of Diablo 2
WWW=		https://opendiablo2.com/

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libglfw.so:graphics/glfw

USES=		gl go:modules openal pkgconfig xorg
USE_GITHUB=	yes
GH_TAGNAME=	a688d66
GH_TUPLE=	\
		JoshVarga:blast:681c804fb9f0:joshvarga_blast/vendor/github.com/JoshVarga/blast \
		davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
		go-gl:glfw:5321531c36a2:go_gl_glfw_glfw/vendor/github.com/go-gl/glfw \
		go-restruct:restruct:v1.2.0-alpha:go_restruct_restruct/vendor/github.com/go-restruct/restruct \
		go-sourcemap:sourcemap:v1.0.5:go_sourcemap_sourcemap/vendor/gopkg.in/sourcemap.v1 \
		go-yaml:yaml:9f266ea9e77c:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \
		golang:exp:e3b2a7f2fdc7:golang_exp/vendor/golang.org/x/exp \
		golang:image:e162460cd6b5:golang_image/vendor/golang.org/x/image \
		golang:mobile:973feb4309de:golang_mobile/vendor/golang.org/x/mobile \
		golang:sys:b64e53b001e4:golang_sys/vendor/golang.org/x/sys \
		google:uuid:v1.1.2:google_uuid/vendor/github.com/google/uuid \
		gravestench:akara:a64208a7fd3c:gravestench_akara/vendor/github.com/gravestench/akara \
		hajimehoshi:ebiten:v2.0.2:hajimehoshi_ebiten_v2/vendor/github.com/hajimehoshi/ebiten/v2 \
		hajimehoshi:oto:v0.6.8:hajimehoshi_oto/vendor/github.com/hajimehoshi/oto \
		kr:text:v0.2.0:kr_text/vendor/github.com/kr/text \
		pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \
		pkg:profile:v1.5.0:pkg_profile/vendor/github.com/pkg/profile \
		pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \
		robertkrimen:otto:ef014fd054ac:robertkrimen_otto/vendor/github.com/robertkrimen/otto \
		stretchr:testify:v1.7.0:stretchr_testify/vendor/github.com/stretchr/testify
USE_GL=		gl
USE_XORG=	x11 xcursor xi xinerama xrandr xxf86vm

PLIST_FILES=	bin/${PORTNAME}

PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>