aboutsummaryrefslogtreecommitdiff
path: root/devel/simgear/Makefile
blob: 4f8c1bcaf885b0039e4ba56c30a0434b2a0a695b (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
# $FreeBSD$

PORTNAME=	simgear
PORTVERSION=	3.2.0
PORTREVISION=	1
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=	yes
.endif

.include <bsd.port.post.mk>