1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/games/tbe/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

37 lines
743 B
Makefile

# $FreeBSD$
PORTNAME= tbe
PORTVERSION= 0.9.2.1
DISTVERSIONPREFIX= v
PORTREVISION= 4
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 qt:4
USE_QT= corelib gui linguisttools_build moc_build qmake_build rcc_build \
svg uic_build xml
PORTDOCS= *
OPTIONS_DEFINE= DOCS
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>