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

PORTNAME=   tbe
PORTVERSION=    0.9.2.1
DISTVERSIONPREFIX=  v
PORTREVISION=   3
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>