aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-12-12 00:07:56 +0800
committerjylefort <jylefort@FreeBSD.org>2005-12-12 00:07:56 +0800
commit671d8cbb2bd5237263f42711603c2cbb86910c82 (patch)
tree0b1464fbccfb0aabbcb579d7174d3c458055ac3c
parent44d00b968cd356f231464bab447b7639298819f9 (diff)
downloadfreebsd-ports-gnome-671d8cbb2bd5237263f42711603c2cbb86910c82.tar.gz
freebsd-ports-gnome-671d8cbb2bd5237263f42711603c2cbb86910c82.tar.zst
freebsd-ports-gnome-671d8cbb2bd5237263f42711603c2cbb86910c82.zip
Add flightgear-mb339-pan.
The MB-339 PAN package simulates the jet used by the aerobatic team of the Italian Air Force, and is provided as an aircraft for the FlightGear flight simulator. It is developed by the University of Udine's Human-Computer Interaction Laboratory, in collaboration with the Italian Aerobatic team. WWW: http://hcilab.uniud.it/pan/
-rw-r--r--games/Makefile1
-rw-r--r--games/flightgear-mb339-pan/Makefile41
-rw-r--r--games/flightgear-mb339-pan/distinfo3
-rw-r--r--games/flightgear-mb339-pan/pkg-descr9
4 files changed, 54 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index d81258cdab24..6849b3e2bd15 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -170,6 +170,7 @@
SUBDIR += flightgear
SUBDIR += flightgear-aircrafts
SUBDIR += flightgear-atlas
+ SUBDIR += flightgear-mb339-pan
SUBDIR += flying
SUBDIR += fmars
SUBDIR += foobillard
diff --git a/games/flightgear-mb339-pan/Makefile b/games/flightgear-mb339-pan/Makefile
new file mode 100644
index 000000000000..2d5c4cc7117e
--- /dev/null
+++ b/games/flightgear-mb339-pan/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: flightgear-mb339-pan
+# Date created: 11 Dec 2005
+# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= flightgear-mb339-pan
+PORTVERSION= 1.1
+CATEGORIES= games
+MASTER_SITES= http://hcilab.uniud.it/pan/downloads/
+DISTNAME= MB339-PAN
+
+MAINTAINER= jylefort@FreeBSD.org
+COMMENT= A simulation of the MB-339 PAN aerobatic jet
+
+RUN_DEPENDS= ${X11BASE}/share/FlightGear/version:${PORTSDIR}/games/fgfs-base
+
+PREFIX?= ${X11BASE} # USE_X_PREFIX would pull in USE_XLIB
+USE_ZIP= yes
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+RESTRICTED= "Redistribution prohibited"
+PLIST= ${WRKDIR}/.plist
+
+pre-install:
+ @${RM} -f ${PLIST}
+ @cd ${WRKSRC} && \
+ ${FIND} * -type f | ${SORT} \
+ | ${SED} -e 's|^|share/FlightGear/Aircraft/|' >> ${PLIST} && \
+ ${FIND} -d * -type d \
+ | ${SED} -e 's|^|@dirrm share/FlightGear/Aircraft/|' >> ${PLIST}
+
+do-install:
+ cd ${WRKSRC} && \
+ ${FIND} * -type d -exec \
+ ${MKDIR} "${PREFIX}/share/FlightGear/Aircraft/{}" \; && \
+ ${FIND} * -type f -exec \
+ ${INSTALL_DATA} "{}" "${PREFIX}/share/FlightGear/Aircraft/{}" \;
+
+.include <bsd.port.mk>
diff --git a/games/flightgear-mb339-pan/distinfo b/games/flightgear-mb339-pan/distinfo
new file mode 100644
index 000000000000..eae8000a63f6
--- /dev/null
+++ b/games/flightgear-mb339-pan/distinfo
@@ -0,0 +1,3 @@
+MD5 (MB339-PAN.zip) = ef00f4688a7dc8f425b5239f44e09efb
+SHA256 (MB339-PAN.zip) = efe520f9d7ef8ca6ffeba4ccd8634778fc8e1ea1f4be6c574d35883c55dcc07a
+SIZE (MB339-PAN.zip) = 2524743
diff --git a/games/flightgear-mb339-pan/pkg-descr b/games/flightgear-mb339-pan/pkg-descr
new file mode 100644
index 000000000000..151f68b8a9a2
--- /dev/null
+++ b/games/flightgear-mb339-pan/pkg-descr
@@ -0,0 +1,9 @@
+The MB-339 PAN package simulates the jet used by the aerobatic team of the
+Italian Air Force, and is provided as an aircraft for the FlightGear flight
+simulator. It is developed by the University of Udine's Human-Computer
+Interaction Laboratory, in collaboration with the Italian Aerobatic team.
+
+WWW: http://hcilab.uniud.it/pan/
+
+- Jean-Yves Lefort
+jylefort@FreeBSD.org