aboutsummaryrefslogtreecommitdiff
path: root/games/bubble-chains/Makefile
blob: e6a3ee26413681963c601d306420293bfb5022cc (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=	bubble-chains
PORTVERSION=	0.2.0
DISTVERSIONPREFIX=	V
PORTREVISION=	1
CATEGORIES=	games

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Free crossplatform 2D arcade-puzzle game
WWW=		https://github.com/ArsMasiuk/bubble-chains

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

USE_GITHUB=	yes
GH_ACCOUNT=	ArsMasiuk

USES=		qmake qt:5 xorg
USE_QT=		core gui widgets xml opengl multimedia x11extras \
		qmake_build buildtools_build
USE_XORG=	x11 xrandr

QMAKE_ARGS=	DATADIR="${DATADIR}"

PORTDOCS=	README
PORTDATA=	*

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \
		${WRKSRC}/main.cpp

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

.include <bsd.port.mk>