# New ports collection makefile for: flightgear # Date created: 26 June 1999 # Whom: Brian Buchanan # # $FreeBSD$ # PORTNAME= flightgear PORTVERSION= 2.8.0 CATEGORIES= games # see http://www.flightgear.org/templates.js MASTER_SITES= http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/ \ http://ftp.linux.kiev.ua/pub/mirrors/ftp.flightgear.org/flightgear/Source/ \ ftp://ftp.kingmont.com/flightsims/flightgear/Source/ \ ftp://ftp.de.flightgear.org/pub/fgfs/Source/ \ ftp://flightgear.wo0t.de/flightgear-ftp/ftp/Source/ MAINTAINER= martymac@FreeBSD.org COMMENT= The FlightGear flight simulator LICENSE= GPLv2 LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ boost_thread:${PORTSDIR}/devel/boost-libs \ fltk:${PORTSDIR}/x11-toolkits/fltk \ osg:${PORTSDIR}/graphics/osg 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 USE_BZIP2= yes USE_XORG= ice sm x11 xext xft xi xinerama xt xmu USE_GL= gl glu glut USE_OPENAL= al alut USE_CMAKE= yes CMAKE_ARGS+= -DJPEG_FACTORY:BOOL=ON \ -DFG_DATA_DIR:PATH=${LOCALBASE}/share/${PORTNAME} \ -DCMAKE_INSTALL_MANDIR:PATH=${MANPREFIX}/man MAN1= js_demo.1 fgjs.1 gl-info.1 fgfs.1 fgpanel.1 terrasync.1 .include post-install: ${INSTALL_PROGRAM} ${WRKSRC}/utils/js_server/js_server ${PREFIX}/bin @${CAT} ${PKGMESSAGE} .include