1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/games/flightgear-mb339-pan/Makefile
Ganael LAPLANCHE 7e35c47bdc - Chase FlightGear's 2.4.0 update
- Chase FLightGear's DATADIR change
2011-09-06 13:18:36 +00:00

40 lines
1.1 KiB
Makefile

# 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= 2.1
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://hcilab.uniud.it/pan/downloads/
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
USE_ZIP= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
RESTRICTED= Redistribution prohibited
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} * -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>