summaryrefslogtreecommitdiff
path: root/games/bstone/Makefile
blob: 55c9e16d95084a5b596b8d900b4a4957baffa9ce (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
32
33
34

PORTNAME=	bstone
DISTVERSIONPREFIX=	v
DISTVERSION=	1.1.9
PORTREVISION=	3
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 sdl
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>