- Chase FlightGear's 2.4.0 update

- Chase FLightGear's DATADIR change
This commit is contained in:
Ganael LAPLANCHE 2011-09-06 13:18:36 +00:00
parent 5f54711d93
commit 7e35c47bdc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281298

View file

@ -7,7 +7,7 @@
PORTNAME= flightgear-mb339-pan
PORTVERSION= 2.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://hcilab.uniud.it/pan/downloads/
DISTNAME= mb339pan_${PORTVERSION}
@ -15,7 +15,7 @@ DISTNAME= mb339pan_${PORTVERSION}
MAINTAINER= martymac@FreeBSD.org
COMMENT= A simulation of the MB-339 PAN aerobatic jet
RUN_DEPENDS= ${LOCALBASE}/share/FlightGear/version:${PORTSDIR}/games/flightgear-data
RUN_DEPENDS= ${LOCALBASE}/share/flightgear/version:${PORTSDIR}/games/flightgear-data
USE_ZIP= yes
NO_WRKSUBDIR= yes
@ -27,13 +27,13 @@ pre-install:
@${RM} -f ${PLIST}
@cd ${WRKSRC} && \
${FIND} * -type d -empty | ${SORT} \
| ${SED} -e 's|^|@exec ${MKDIR} share/FlightGear/Aircraft/|' >> ${PLIST} && \
| ${SED} -e 's|^|@exec ${MKDIR} share/flightgear/Aircraft/|' >> ${PLIST} && \
${FIND} * -type f | ${SORT} \
| ${SED} -e 's|^|share/FlightGear/Aircraft/|' >> ${PLIST} && \
| ${SED} -e 's|^|share/flightgear/Aircraft/|' >> ${PLIST} && \
${FIND} * -type d | ${SORT} -r \
| ${SED} -e 's|^|@dirrm share/FlightGear/Aircraft/|' >> ${PLIST}
| ${SED} -e 's|^|@dirrm share/flightgear/Aircraft/|' >> ${PLIST}
do-install:
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${PREFIX}/share/FlightGear/Aircraft/)
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${PREFIX}/share/flightgear/Aircraft/)
.include <bsd.port.mk>