aboutsummaryrefslogtreecommitdiff
path: root/games/flightgear-mb339-pan
diff options
context:
space:
mode:
authorThomas Abthorpe <tabthorpe@FreeBSD.org>2008-05-20 22:45:51 +0000
committerThomas Abthorpe <tabthorpe@FreeBSD.org>2008-05-20 22:45:51 +0000
commitc72f7f99fa839c96bb8eaf482b1b2889ce83de63 (patch)
treec5e1ab7c512126e09302b58c47745a3b54f71e25 /games/flightgear-mb339-pan
parent5e2205d315f4ba008042292d616addb5ed8e3e63 (diff)
downloadports-c72f7f99fa839c96bb8eaf482b1b2889ce83de63.tar.gz
ports-c72f7f99fa839c96bb8eaf482b1b2889ce83de63.zip
Notes
Diffstat (limited to 'games/flightgear-mb339-pan')
-rw-r--r--games/flightgear-mb339-pan/Makefile19
-rw-r--r--games/flightgear-mb339-pan/distinfo6
2 files changed, 10 insertions, 15 deletions
diff --git a/games/flightgear-mb339-pan/Makefile b/games/flightgear-mb339-pan/Makefile
index c784dc593df9..11d6a89abcf8 100644
--- a/games/flightgear-mb339-pan/Makefile
+++ b/games/flightgear-mb339-pan/Makefile
@@ -6,38 +6,33 @@
#
PORTNAME= flightgear-mb339-pan
-PORTVERSION= 1.2
-PORTREVISION= 1
+PORTVERSION= 1.3
CATEGORIES= games
MASTER_SITES= http://hcilab.uniud.it/pan/downloads/
DISTNAME= MB339-PAN
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ganael.laplanche@martymac.com
COMMENT= A simulation of the MB-339 PAN aerobatic jet
RUN_DEPENDS= ${LOCALBASE}/share/FlightGear/version:${PORTSDIR}/games/fgfs-base
-BROKEN= Size mismatch
-
USE_ZIP= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
RESTRICTED= Redistribution prohibited
-PLIST= ${WRKDIR}/.plist
+PLIST= ${WRKDIR}/.pkg-plist
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} -d * -type d \
+ ${FIND} * -type d | ${SORT} -r \
| ${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/{}" \;
+ (cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${PREFIX}/share/FlightGear/Aircraft/)
.include <bsd.port.mk>
diff --git a/games/flightgear-mb339-pan/distinfo b/games/flightgear-mb339-pan/distinfo
index 9ba97cbcd49d..d310904eb945 100644
--- a/games/flightgear-mb339-pan/distinfo
+++ b/games/flightgear-mb339-pan/distinfo
@@ -1,3 +1,3 @@
-MD5 (MB339-PAN.zip) = d67cfbcd0e44139b43f4908324e9eca7
-SHA256 (MB339-PAN.zip) = a182a1bdb719010cb5c4fa6bd0d4b207834389a86a3bd13e3c8f725211f5fc44
-SIZE (MB339-PAN.zip) = 2524801
+MD5 (MB339-PAN.zip) = bfc86a3f4bd7beff545069f349b74a84
+SHA256 (MB339-PAN.zip) = acb7ee51e5249eec18eed03d293a073cd55b355d06aa0997b155d550b983a293
+SIZE (MB339-PAN.zip) = 2525222