1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/games/bstone/Makefile
Tobias C. Berner 707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00

36 lines
704 B
Makefile

# $FreeBSD$
PORTNAME= bstone
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.9
PORTREVISION= 2
CATEGORIES= games
MAINTAINER= devel@stasyan.com
COMMENT= Source port of Blake Stone
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/../LICENSE
USES= cmake compiler:c++11-lang localbase:ldflags pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= bibendovsky
USE_SDL= sdl2
WRKSRC_SUBDIR= src
PLIST_FILES= bin/bstone
OPTIONS_DEFINE= DOCS
PORTDOCS= *
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bstone ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../CHANGELOG.md ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>