summaryrefslogtreecommitdiff
path: root/games/taisei/Makefile
blob: 6eb314dd4f50172e8bc097dd590107a2be5d14d0 (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
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=	taisei
PORTVERSION=	1.1.2
PORTREVISION=	2
DISTVERSIONPREFIX=	v
CATEGORIES=	games

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Open source Touhou clone

LICENSE=	MIT CC0-1.0 PD
LICENSE_COMB=	multi
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libpng.so:graphics/png \
		libzip.so:archivers/libzip

USE_GITHUB=	yes
GH_ACCOUNT=	${PORTNAME}-project

USES=		cmake compiler:c11 pkgconfig
CMAKE_ARGS=	-DTAISEI_VERSION_OVERRIDE=${PORTVERSION}
USE_SDL=	sdl2 ttf2 mixer2

PORTDOCS=	*
PORTDATA=	*

OPTIONS_DEFINE=	DOCS

post-install:
	@${RM} ${STAGEDIR}${DOCSDIR}/COPYING.txt

.include <bsd.port.mk>