summaryrefslogtreecommitdiffstats
path: root/games/tbe/Makefile
blob: f121cec3e1b1d70792cfbf3156179aec0b968089 (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
# $FreeBSD$

PORTNAME=	tbe
PORTVERSION=	0.9.2.1
DISTVERSIONPREFIX=	v
PORTREVISION=	2
PORTEPOCH=	1
CATEGORIES=	games

MAINTAINER=	ports@FreeBSD.org
COMMENT=	The Butterfly Effect

BUILD_DEPENDS=	${LOCALBASE}/bin/unzip:archivers/unzip

USES=		cmake compiler:c++11-lib execinfo tar:tgz
USE_QT4=	gui linguisttools_build moc_build qmake_build rcc_build \
		svg uic_build xml

USE_GITHUB=	yes
GH_ACCOUNT=	kaa-ching

PORTDOCS=	*

post-patch:
	@${REINPLACE_CMD} 's/ make/ $$(MAKE)/' \
		${WRKSRC}/Makefile
	@${REINPLACE_CMD} -e 's:/share/games/tbe/:/share/tbe/:' \
		-e 's:/usr:${PREFIX}: ; s:/games:/bin:' \
		${WRKSRC}/CMakeLists.txt ${WRKSRC}/src/tbe_paths.h

.include <bsd.port.mk>
OpenPOWER on IntegriCloud