1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/devel/simgear/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

46 lines
1.2 KiB
Makefile

# New ports collection makefile for: SimGear
# Date created: 2003-01-21
# Whom: des
#
# $FreeBSD$
#
PORTNAME= simgear
PORTVERSION= 2.4.0
CATEGORIES= devel games
MASTER_SITES= http://mirrors.ibiblio.org/pub/mirrors/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= A 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= jpeg.11:${PORTSDIR}/graphics/jpeg \
boost_thread.4:${PORTSDIR}/devel/boost-libs
.if defined(WITH_OSG_DEVEL)
LIB_DEPENDS+= osg.59:${PORTSDIR}/graphics/osg-devel
.else
LIB_DEPENDS+= osg.55:${PORTSDIR}/graphics/osg
.endif
USE_BZIP2= yes
USE_XORG= ice sm x11 xext xi xt xmu
USE_OPENAL= al alut
USE_GL= gl glu glut
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ARGS= --with-jpeg-factory
post-patch:
@${REINPLACE_CMD} -e 's|-D_REENTRANT|${PTHREAD_CFLAGS}|' \
${WRKSRC}/configure
.include <bsd.port.mk>