summaryrefslogtreecommitdiffstats
path: root/devel/simgear/Makefile
blob: 44dec14bd6ff440a73ca94b84081374da90f4ea7 (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
# $FreeBSD$

PORTNAME=	simgear
PORTVERSION=	3.2.0
CATEGORIES=	devel games
MASTER_SITES=	http://mirrors.ibiblio.org/simgear/ftp/Source/ \
		ftp://ftp.de.flightgear.org/pub/simgear/Source/ \
		ftp://goflyflightgear.com/simgear/Source/ \
		ftp://flightgear.wo0t.de/simgear-ftp/ftp/Source/

MAINTAINER=	martymac@FreeBSD.org
COMMENT=	Toolkit for 3D games and simulations

LICENSE=	GPLv2

BUILD_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
RUN_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
		libboost_thread.so:${PORTSDIR}/devel/boost-libs \
		libosg.so:${PORTSDIR}/graphics/osg

USE_XORG=	ice sm x11 xext xi xt xmu
USE_GL=		gl glu glut
USES=		tar:bzip2 cmake compiler openal:al,alut

.include <bsd.port.pre.mk>

# When building with Gcc, needs Gcc 4.6+
.if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} < 46
USE_GCC=	4.6+
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud