aboutsummaryrefslogtreecommitdiff
path: root/games/ivan/Makefile
blob: e64203d20f8ade82805f5fef480abef3f2b580f1 (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
PORTNAME=	ivan
PORTVERSION=	0.59
CATEGORIES=	games

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Graphical roguelike game
WWW=		https://attnam.com/

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libpng.so:graphics/png \
		libpcre.so:devel/pcre

USES=		cmake pkgconfig sdl
USE_SDL=	sdl2 mixer2
USE_GITHUB=	yes
GH_ACCOUNT=	Attnam
GH_TAGNAME=	v${PORTVERSION:C/\.//}

PLIST_FILES=	bin/ivan

PORTSCOUT=	limit:^0\.[5-9]

PORTDATA=	*
PORTDOCS=	*

OPTIONS_DEFINE=	WIZARD DOCS

WIZARD_DESC=	Enable Wizard mode
WIZARD_CMAKE_BOOL=	WIZARD

post-install-DOCS-on:
	@cd ${WRKSRC} && ${COPYTREE_SHARE} "README.md Doc MANUAL" \
		${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>