# Created by: Jean-Yves Lefort # $FreeBSD$ PORTNAME= flightgear-aircraft PORTVERSION= 20130221 CATEGORIES= games # see http://www.flightgear.org/templates.js MASTER_SITES= http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Aircraft-2.10/ \ http://ftp.linux.kiev.ua/pub/mirrors/ftp.flightgear.org/flightgear/Aircraft-2.10/ \ ftp://ftp.kingmont.com/flightsims/flightgear/Aircraft-2.10/ \ ftp://ftp.de.flightgear.org/pub/fgfs/Aircraft-2.10/ \ ftp://flightgear.wo0t.de/flightgear-ftp/ftp/Aircraft-2.10/ # Selection of production-ready/well-known planes # (planes already included in flightgear-data are excluded) # Please contact the MAINTAINER if a plane is missing DISTFILES= 737-200_20120506.zip \ A-10_20121203.zip \ A300_20120717.zip \ Alouette-II_20120506.zip \ Alphajet_20120506.zip \ B-17_20120506.zip \ Breguet-XIX_20100829.zip \ C130_20120717.zip \ Caravelle_20120506.zip \ Caudron-G3_20120506.zip \ F80C_20120717.zip \ Hurricane_20130117.zip \ IL-2_20110311.zip \ Lightning_20121005.zip \ Lockheed1049h_1.0.zip \ Messerschmitt-P1101_20101005.zip \ MirageIII_20120222.zip \ PaperAirplane_20101229.zip \ Pond-Racer_20120506.zip \ R44_20120506.zip \ Spitfire_20130117.zip \ Stieglitz_20091025.zip \ Super-Etendard_20120501.zip \ Supermarine-S.6B_20110114.zip \ Superwal_20100330.zip \ airwaveXtreme150_July-2012.zip \ asw20_20130115.zip \ bf109_20120717.zip \ c310_20130209.zip \ dhc3_20120506.zip \ f16_20120812.zip \ harrier_20120717.zip \ pa24-250_20121128.zip \ tu154_20081221.zip \ wrightFlyer1903_20070710.zip DIST_SUBDIR= ${PORTNAME} MAINTAINER= martymac@FreeBSD.org COMMENT= Selection of additional aircraft for the FlightGear flight simulator LICENSE= GPLv2 RUN_DEPENDS= ${LOCALBASE}/share/flightgear/version:${PORTSDIR}/games/flightgear-data USE_ZIP= yes NO_WRKSUBDIR= yes NO_BUILD= yes PLIST= ${WRKDIR}/.pkg-plist MANUAL_PACKAGE_BUILD= package exceeds pointyhat filesize limit NO_STAGE= yes post-patch: @${FIND} ${WRKSRC} -type f \ \( -name COPYING -or -name LICENSE -or -name copyright \) -delete pre-install: @${RM} -f ${PLIST} @cd ${WRKSRC} && \ ${FIND} * -type d -empty | ${SORT} \ | ${SED} -e 's|^|@exec ${MKDIR} share/flightgear/Aircraft/|' >> ${PLIST} && \ ${FIND} * -type f | ${SORT} \ | ${SED} -e 's|^|share/flightgear/Aircraft/|' >> ${PLIST} && \ ${FIND} * -type d | ${SORT} -r \ | ${SED} -e 's|^|@dirrm share/flightgear/Aircraft/|' >> ${PLIST} do-install: (cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${PREFIX}/share/flightgear/Aircraft/) .include