aboutsummaryrefslogtreecommitdiff
path: root/games/toycars/Makefile
blob: 0e5e1bd00a4a6ceddf1b7c9cd5cb2e8b95dbf828 (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
32
33
34
35
36
37
PORTNAME=	toycars
PORTVERSION=	0.3.10
PORTREVISION=	9
CATEGORIES=	games
MASTER_SITES=	SF

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Physics-based 2D racing game
WWW=		https://sourceforge.net/projects/toycars/

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libfltk.so:x11-toolkits/fltk

USES=		gl gmake localbase sdl
USE_CXXSTD=	c++98
GNU_CONFIGURE=	yes
USE_SDL=	image sdl
USE_GL=		gl glu

PLIST_FILES=	bin/toycars \
		bin/toycars_track_editor \
		bin/toycars_vehicle_editor
PORTDOCS=	*
PORTDATA=	*

OPTIONS_DEFINE=	DOCS

post-extract:
	@${RM} ${WRKSRC}/data/.*Store

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>