1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/games/flightgear-aircraft/Makefile
2012-04-27 12:28:23 +00:00

89 lines
2.6 KiB
Makefile

# New ports collection makefile for: flightgear-aircrafts
# Date created: 19 Sep 2005
# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= flightgear-aircraft
PORTVERSION= 20120309
CATEGORIES= games
# see http://www.flightgear.org/templates.js
MASTER_SITES= http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Aircraft-2.6/ \
http://ftp.linux.kiev.ua/pub/mirrors/ftp.flightgear.org/flightgear/Aircraft-2.6/ \
ftp://ftp.kingmont.com/flightsims/flightgear/Aircraft-2.6/ \
ftp://ftp.de.flightgear.org/pub/fgfs/Aircraft-2.6/ \
ftp://flightgear.wo0t.de/flightgear-ftp/ftp/Aircraft-2.6/
# 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_20110713.zip \
A-10_20120104.zip \
A300_20101217.zip \
Alouette-II_20110523.zip \
Alphajet_20110228.zip \
B-17_20110516.zip \
Breguet-XIX_20101217.zip \
C130_20101217.zip \
Caravelle_20101217.zip \
Caudron-G3_20101217.zip \
F80C_20110915.zip \
Hurricane_20111202.zip \
IL-2_20110324.zip \
Lightning_20111219.zip \
Lockheed1049h_1.0.zip \
Messerschmitt-P1101_20101217.zip \
MirageIII_20110124.zip \
PaperAirplane_20110103.zip \
Pond-Racer_20101217.zip \
R44_20111024.zip \
Spitfire_20120217.zip \
Stieglitz_20101217.zip \
Super-Etendard_20110324.zip \
Supermarine-S.6B_20110118.zip \
Superwal_20101217.zip \
airwaveXtreme150_20101217.zip \
asw20_20101217.zip \
bf109_20111212.zip \
c310_20120117.zip \
dhc3_20110411.zip \
f16_20120104.zip \
harrier_20101217.zip \
pa24-250_20110222.zip \
tu154_20101217.zip \
wrightFlyer1903_20101217.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
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 <bsd.port.mk>