2013-01-31 14:38:42 +01:00
|
|
|
# Created by: Brian Buchanan <brian@CSUA.Berkeley.EDU>
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1999-07-03 08:36:37 +02:00
|
|
|
|
2011-09-06 15:14:19 +02:00
|
|
|
PORTNAME= flightgear
|
2014-01-06 14:50:21 +01:00
|
|
|
PORTVERSION= 2.12.1
|
2014-02-07 12:44:08 +01:00
|
|
|
PORTREVISION= 2
|
2003-01-22 14:58:58 +01:00
|
|
|
CATEGORIES= games
|
2008-05-05 09:43:49 +02:00
|
|
|
# see http://www.flightgear.org/templates.js
|
2014-01-06 14:50:21 +01:00
|
|
|
MASTER_SITES= http://mirrors.ibiblio.org/flightgear/ftp/Source/ \
|
2010-11-23 14:33:32 +01:00
|
|
|
http://ftp.linux.kiev.ua/pub/mirrors/ftp.flightgear.org/flightgear/Source/ \
|
2008-05-05 09:43:49 +02:00
|
|
|
ftp://ftp.kingmont.com/flightsims/flightgear/Source/ \
|
2010-11-23 14:33:32 +01:00
|
|
|
ftp://ftp.de.flightgear.org/pub/fgfs/Source/ \
|
|
|
|
ftp://flightgear.wo0t.de/flightgear-ftp/ftp/Source/
|
2003-01-22 14:58:58 +01:00
|
|
|
|
2010-09-27 14:08:23 +02:00
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
2009-02-05 16:17:38 +01:00
|
|
|
COMMENT= The FlightGear flight simulator
|
2003-01-22 14:58:58 +01:00
|
|
|
|
2011-09-06 15:14:19 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-10-30 08:13:02 +01:00
|
|
|
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
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
|
2013-02-22 11:57:24 +01:00
|
|
|
${LOCALBASE}/lib/libSimGearCore.a:${PORTSDIR}/devel/simgear
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
|
2013-02-22 11:57:24 +01:00
|
|
|
${LOCALBASE}/lib/libSimGearCore.a:${PORTSDIR}/devel/simgear \
|
2011-09-06 15:14:19 +02:00
|
|
|
${LOCALBASE}/share/flightgear/version:${PORTSDIR}/games/flightgear-data
|
2010-11-23 14:33:32 +01:00
|
|
|
|
2011-09-06 15:14:19 +02:00
|
|
|
USE_BZIP2= yes
|
2012-04-27 14:28:23 +02:00
|
|
|
USE_XORG= ice sm x11 xext xft xi xinerama xt xmu
|
2008-05-03 02:24:46 +02:00
|
|
|
USE_GL= gl glu glut
|
2013-12-26 00:29:34 +01:00
|
|
|
USES= cmake openal:al,alut
|
2012-04-27 14:28:23 +02:00
|
|
|
CMAKE_ARGS+= -DJPEG_FACTORY:BOOL=ON \
|
2013-10-30 08:13:02 +01:00
|
|
|
-DENABLE_JS_SERVER:BOOL=ON \
|
2012-04-27 14:28:23 +02:00
|
|
|
-DFG_DATA_DIR:PATH=${LOCALBASE}/share/${PORTNAME} \
|
2012-09-07 15:06:41 +02:00
|
|
|
-DCMAKE_INSTALL_MANDIR:PATH=${MANPREFIX}/man
|
2012-04-27 14:28:23 +02:00
|
|
|
|
2012-06-15 11:56:13 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2005-10-23 05:13:53 +02:00
|
|
|
post-install:
|
2013-10-30 08:13:02 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/utils/js_server/js_server ${STAGEDIR}${PREFIX}/bin
|
2004-12-12 15:10:54 +01:00
|
|
|
|
2009-10-01 15:18:04 +02:00
|
|
|
.include <bsd.port.mk>
|