diff options
author | martymac <martymac@FreeBSD.org> | 2011-09-06 21:14:19 +0800 |
---|---|---|
committer | martymac <martymac@FreeBSD.org> | 2011-09-06 21:14:19 +0800 |
commit | f8c03a090c09e35208eb1c91bd77493fb0092476 (patch) | |
tree | bb8eb3aa878a30f5cdf6e2daf1f8d89010e2b186 /games/flightgear/Makefile | |
parent | 7c3467c14f7d00e25692c9809a609b8d8114ab91 (diff) | |
download | freebsd-ports-graphics-f8c03a090c09e35208eb1c91bd77493fb0092476.tar.gz freebsd-ports-graphics-f8c03a090c09e35208eb1c91bd77493fb0092476.tar.zst freebsd-ports-graphics-f8c03a090c09e35208eb1c91bd77493fb0092476.zip |
- Update FlightGear and SimGear to 2.4.0
- Switch PORTNAMEs to lowercase
- Change DATADIR from ${LOCALBASE}/share/FlightGear
to ${LOCALBASE}/share/flightgear
- Re-order variables to make portlint happy
- Remove useless CPPFLAGS from CONFIGURE_ENV
PR: ports/160322, ports/160421
Submitted by: amdmi3
Diffstat (limited to 'games/flightgear/Makefile')
-rw-r--r-- | games/flightgear/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/games/flightgear/Makefile b/games/flightgear/Makefile index a6a84249539..3ce008806fb 100644 --- a/games/flightgear/Makefile +++ b/games/flightgear/Makefile @@ -5,9 +5,8 @@ # $FreeBSD$ # -PORTNAME= FlightGear -PORTVERSION= 2.0.0 -PORTREVISION= 3 +PORTNAME= flightgear +PORTVERSION= 2.4.0 CATEGORIES= games # see http://www.flightgear.org/templates.js MASTER_SITES= http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/ \ @@ -19,14 +18,14 @@ MASTER_SITES= http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/ \ MAINTAINER= martymac@FreeBSD.org COMMENT= The FlightGear flight simulator +LICENSE= GPLv2 + LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \ ${LOCALBASE}/lib/libsgmisc.a:${PORTSDIR}/devel/simgear RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \ ${LOCALBASE}/lib/libsgmisc.a:${PORTSDIR}/devel/simgear \ - ${LOCALBASE}/share/FlightGear/version:${PORTSDIR}/games/flightgear-data - -LICENSE= GPLv2 + ${LOCALBASE}/share/flightgear/version:${PORTSDIR}/games/flightgear-data .if defined(WITH_OSG_DEVEL) LIB_DEPENDS+= osg.59:${PORTSDIR}/graphics/osg-devel @@ -34,21 +33,22 @@ LIB_DEPENDS+= osg.59:${PORTSDIR}/graphics/osg-devel LIB_DEPENDS+= osg.55:${PORTSDIR}/graphics/osg .endif +USE_BZIP2= yes USE_XORG= ice sm x11 xext xi xt xmu USE_GL= gl glu glut USE_OPENAL= al USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" -# location of flightgear-data +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} +CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --datadir=${LOCALBASE}/share MAKE_JOBS_UNSAFE=yes MAN1= est-epsilon.1 js_demo.1 pstest.1 fgjs.1 gl-info.1 fgfs.1 post-patch: - @${REINPLACE_CMD} -e 's|-D_REENTRANT|${PTHREAD_CFLAGS}|' \ + @${REINPLACE_CMD} 's|-D_REENTRANT|${PTHREAD_CFLAGS}|' \ ${WRKSRC}/configure post-install: |