blob: a136473bdf4b48e1eba3c408720406b4dcba6fb2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# 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.0
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://hcilab.uniud.it/pan/downloads/
DISTNAME= mb339pan
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
post-patch:
@${MV} ${WRKSRC}/${DISTNAME}/engines ${WRKDIR}/${DISTNAME}/Engines
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>
|