aboutsummaryrefslogtreecommitdiff
path: root/games/netherearth/Makefile
blob: 270d2d9e8969dd5de9e45e4cd3f08fd205e9d359 (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
PORTNAME=	netherearth
PORTVERSION=	0.51
PORTREVISION=	12
CATEGORIES=	games
MASTER_SITES=	http://move.kirishi.ru/soft/netherearth/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Remake of the first real time strategy game on the SPECTRUM
WWW=		http://www.braingames.getput.com/nether/default.asp

GNU_CONFIGURE=	yes

USES=		compiler gl sdl
USE_GL=		gl glu glut
USE_SDL=	sdl mixer

CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
CXXFLAGS_clang=	-Wno-c++11-narrowing

pre-install:
	if [ ! -d ${STAGEDIR}${PREFIX}/share/netherearth ] ; then \
		${MKDIR} ${STAGEDIR}${PREFIX}/share/netherearth ;\
	fi
	${CP} -R ${WRKSRC}/maps ${STAGEDIR}${PREFIX}/share/netherearth/
	${CP} -R ${WRKSRC}/models ${STAGEDIR}${PREFIX}/share/netherearth/
	${CP} -R ${WRKSRC}/sound ${STAGEDIR}${PREFIX}/share/netherearth/
	${CP} -R ${WRKSRC}/textures ${STAGEDIR}${PREFIX}/share/netherearth/

.include <bsd.port.mk>