freebsd-ports/games/tbe/Makefile
Dmitry Marakasov a49671885d - Add LICENSE
- Remove bogus (in presence of USE_GITHUB) USES=tar*
- Add missing qt-corelib dependency
2018-02-02 15:27:41 +00:00

35 lines
716 B
Makefile

# $FreeBSD$
PORTNAME= tbe
PORTVERSION= 0.9.2.1
DISTVERSIONPREFIX= v
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= games
MAINTAINER= ports@FreeBSD.org
COMMENT= The Butterfly Effect
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/bin/unzip:archivers/unzip
USE_GITHUB= yes
GH_ACCOUNT= kaa-ching
USES= cmake compiler:c++11-lib
USE_QT4= corelib gui linguisttools_build moc_build qmake_build rcc_build \
svg uic_build xml
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>