blob: d98d3bcb0aa9b60b0516839a565c3f79e676f6d3 (
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
38
39
40
41
42
43
44
|
# New ports collection makefile for: SimGear
# Date created: 2003-01-21
# Whom: des
#
# $FreeBSD$
#
PORTNAME= SimGear
PORTVERSION= 1.9.1
PORTREVISION= 3
CATEGORIES= devel games
MASTER_SITES= ftp://ftp.de.simgear.org/pub/simgear/Source/ \
ftp://ftp.simgear.org/pub/simgear/Source/
MAINTAINER= ganael.laplanche@martymac.com
COMMENT= A toolkit for 3D games and simulations
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
jpeg.10:${PORTSDIR}/graphics/jpeg \
alut.1:${PORTSDIR}/audio/freealut \
boost_thread.4:${PORTSDIR}/devel/boost
.if defined(WITH_OSG_DEVEL)
LIB_DEPENDS+= osg.59:${PORTSDIR}/graphics/osg-devel
.else
LIB_DEPENDS+= osg.55:${PORTSDIR}/graphics/osg
.endif
USE_XORG= ice sm x11 xext xi xt xmu
USE_GL= gl glu glut
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-jpeg-factory
post-patch:
@${REINPLACE_CMD} -e 's|-D_REENTRANT|${PTHREAD_CFLAGS}|' \
${WRKSRC}/configure
.include <bsd.port.mk>
|