diff options
author | martymac <martymac@FreeBSD.org> | 2014-03-28 22:13:02 +0800 |
---|---|---|
committer | martymac <martymac@FreeBSD.org> | 2014-03-28 22:13:02 +0800 |
commit | 568972916fc7edde235c9ef65dcedf69e54b874d (patch) | |
tree | bbe17caddb69cbbfd444484076f09d2ea44b8830 /games/flightgear/Makefile | |
parent | 3b0ee12029506382daaf9de44917581af0ad0e21 (diff) | |
download | freebsd-ports-gnome-568972916fc7edde235c9ef65dcedf69e54b874d.tar.gz freebsd-ports-gnome-568972916fc7edde235c9ef65dcedf69e54b874d.tar.zst freebsd-ports-gnome-568972916fc7edde235c9ef65dcedf69e54b874d.zip |
Update Simgear and Flightgear ports to 3.0.0
Diffstat (limited to 'games/flightgear/Makefile')
-rw-r--r-- | games/flightgear/Makefile | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/games/flightgear/Makefile b/games/flightgear/Makefile index 899e524d8f12..ddc406458fdc 100644 --- a/games/flightgear/Makefile +++ b/games/flightgear/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= flightgear -PORTVERSION= 2.12.1 -PORTREVISION= 2 +PORTVERSION= 3.0.0 CATEGORIES= games # see http://www.flightgear.org/templates.js MASTER_SITES= http://mirrors.ibiblio.org/flightgear/ftp/Source/ \ @@ -21,25 +20,35 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng15.so:${PORTSDIR}/graphics/png \ libboost_thread.so:${PORTSDIR}/devel/boost-libs \ libfltk.so:${PORTSDIR}/x11-toolkits/fltk \ - libosg.so:${PORTSDIR}/graphics/osg + libosg.so:${PORTSDIR}/graphics/osg \ + libdbus-1.so:${PORTSDIR}/devel/dbus BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \ ${LOCALBASE}/lib/libSimGearCore.a:${PORTSDIR}/devel/simgear RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \ ${LOCALBASE}/lib/libSimGearCore.a:${PORTSDIR}/devel/simgear \ ${LOCALBASE}/share/flightgear/version:${PORTSDIR}/games/flightgear-data -USE_BZIP2= yes USE_XORG= ice sm x11 xext xft xi xinerama xt xmu USE_GL= gl glu glut -USES= cmake openal:al,alut +USE_SQLITE= 3 + +USES= tar:bzip2 dos2unix cmake compiler:features openal:al,alut +DOS2UNIX_REGEX= .*\.(c|h|cxx|cpp|hxx|hpp) CMAKE_ARGS+= -DJPEG_FACTORY:BOOL=ON \ -DENABLE_JS_SERVER:BOOL=ON \ + -DUSE_DBUS:BOOL=ON \ + -DSYSTEM_SQLITE:BOOL=ON \ -DFG_DATA_DIR:PATH=${LOCALBASE}/share/${PORTNAME} \ - -DCMAKE_INSTALL_MANDIR:PATH=${MANPREFIX}/man + -DCMAKE_INSTALL_MANDIR:PATH=${MANPREFIX}/man \ + -DFGCOM_DATA_PATH:PATH=${DATADIR} + +.include <bsd.port.pre.mk> -.include <bsd.port.options.mk> +.if ${COMPILER_FEATURES:Mlibc++} +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-FDM-JSBSim-input_output-string_utilities.h +.endif post-install: ${INSTALL_PROGRAM} ${WRKSRC}/utils/js_server/js_server ${STAGEDIR}${PREFIX}/bin -.include <bsd.port.mk> +.include <bsd.port.post.mk> |