summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authoradam <adam>2010-08-27 08:02:05 +0000
committeradam <adam>2010-08-27 08:02:05 +0000
commit74bae2700d99650c877bbfa60988a380c5a4b6db (patch)
tree0f93e1b9cb0975171a339843f4d986efdc6a8bf5 /games
parentbc437704d2bcaf4d01ef6803bdf0ac2f64aafd23 (diff)
downloadpkgsrc-74bae2700d99650c877bbfa60988a380c5a4b6db.tar.gz
FlightGear is a free, open-source, multi-platform, and sophisticated flight
simulator framework for the development and pursuit of interesting flight simulator ideas. This package contains the data files (textures, models, etc). Changes 2.0.0: * This is primarily a bug fix release. games/flightgear-base has been renamed to games/flightgear-data,
Diffstat (limited to 'games')
-rw-r--r--games/flightgear-data/DESCR3
-rw-r--r--games/flightgear-data/Makefile40
-rw-r--r--games/flightgear-data/PLIST2
-rw-r--r--games/flightgear-data/distinfo5
4 files changed, 50 insertions, 0 deletions
diff --git a/games/flightgear-data/DESCR b/games/flightgear-data/DESCR
new file mode 100644
index 00000000000..5e3c6d902cd
--- /dev/null
+++ b/games/flightgear-data/DESCR
@@ -0,0 +1,3 @@
+FlightGear is a free, open-source, multi-platform, and sophisticated flight
+simulator framework for the development and pursuit of interesting flight
+simulator ideas. This package contains the data files (textures, models, etc).
diff --git a/games/flightgear-data/Makefile b/games/flightgear-data/Makefile
new file mode 100644
index 00000000000..f566abfd2c5
--- /dev/null
+++ b/games/flightgear-data/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/08/27 08:02:05 adam Exp $
+
+DISTNAME= FlightGear-data-2.0.0
+PKGNAME= ${DISTNAME:tl}
+CATEGORIES= games
+MASTER_SITES= http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Shared/ \
+ ftp://ftp.de.flightgear.org/pub/fgfs/Shared/ \
+ ftp://ftp.linux.kiev.ua/pub/mirrors/ftp.flightgear.org/flightgear/Shared/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.flightgear.org/
+COMMENT= FlightGear Simulator data files
+
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}/data
+NO_BUILD= yes
+NO_CONFIGURE= yes
+
+SHARESUBDIR= share/FlightGear
+SHAREDIR= ${PREFIX}/${SHARESUBDIR}
+PLIST_SRC= PLIST ${WRKDIR}/PLIST.F
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${SHAREDIR}
+ # auto-generated PLIST
+ rm -f ${WRKDIR}/PLIST.F
+ set -e; cd ${WRKSRC} && \
+ find . -type d -print | while read d; do \
+ ${INSTALL_DATA_DIR} ${DESTDIER}${SHAREDIR}/"$${d}"; \
+ done; \
+ find . -type f -print | while read f; do \
+ ${INSTALL_DATA} "$${f}" ${DESTDIR}${SHAREDIR}/"$${f}"; \
+ ${ECHO} ${SHARESUBDIR}/"$${f#./}" >> ${WRKDIR}/PLIST.F; \
+ done;
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/flightgear-data/PLIST b/games/flightgear-data/PLIST
new file mode 100644
index 00000000000..4bf8ead9dfa
--- /dev/null
+++ b/games/flightgear-data/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/08/27 08:02:05 adam Exp $
+@pkgdir share/FlightGear/Aircraft/Instruments-3d/mk-viii/Textures/gpws/xcf
diff --git a/games/flightgear-data/distinfo b/games/flightgear-data/distinfo
new file mode 100644
index 00000000000..6382c340445
--- /dev/null
+++ b/games/flightgear-data/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/08/27 08:02:05 adam Exp $
+
+SHA1 (FlightGear-data-2.0.0.tar.bz2) = dba35023df93d5f2d2a6cb63370336a54f771b2f
+RMD160 (FlightGear-data-2.0.0.tar.bz2) = 0a3d0aa3ec5ccbaf7f699b47db1b99b0bc4cf4d1
+Size (FlightGear-data-2.0.0.tar.bz2) = 302068846 bytes