Lines 6-43
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= flightgear-mb339-pan |
8 |
PORTNAME= flightgear-mb339-pan |
9 |
PORTVERSION= 1.2 |
9 |
PORTVERSION= 1.3 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= games |
10 |
CATEGORIES= games |
12 |
MASTER_SITES= http://hcilab.uniud.it/pan/downloads/ |
11 |
MASTER_SITES= http://hcilab.uniud.it/pan/downloads/ |
13 |
DISTNAME= MB339-PAN |
12 |
DISTNAME= MB339-PAN |
14 |
|
13 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ganael.laplanche@martymac.com |
16 |
COMMENT= A simulation of the MB-339 PAN aerobatic jet |
15 |
COMMENT= A simulation of the MB-339 PAN aerobatic jet |
17 |
|
16 |
|
18 |
RUN_DEPENDS= ${LOCALBASE}/share/FlightGear/version:${PORTSDIR}/games/fgfs-base |
17 |
RUN_DEPENDS= ${LOCALBASE}/share/FlightGear/version:${PORTSDIR}/games/fgfs-base |
19 |
|
18 |
|
20 |
BROKEN= Size mismatch |
|
|
21 |
|
22 |
USE_ZIP= yes |
19 |
USE_ZIP= yes |
23 |
NO_WRKSUBDIR= yes |
20 |
NO_WRKSUBDIR= yes |
24 |
NO_BUILD= yes |
21 |
NO_BUILD= yes |
25 |
RESTRICTED= Redistribution prohibited |
22 |
RESTRICTED= Redistribution prohibited |
26 |
PLIST= ${WRKDIR}/.plist |
23 |
PLIST= ${WRKDIR}/.pkg-plist |
27 |
|
24 |
|
28 |
pre-install: |
25 |
pre-install: |
29 |
@${RM} -f ${PLIST} |
26 |
@${RM} -f ${PLIST} |
30 |
@cd ${WRKSRC} && \ |
27 |
@cd ${WRKSRC} && \ |
|
|
28 |
${FIND} * -type d -empty | ${SORT} \ |
29 |
| ${SED} -e 's|^|@exec ${MKDIR} share/FlightGear/Aircraft/|' >> ${PLIST} && \ |
31 |
${FIND} * -type f | ${SORT} \ |
30 |
${FIND} * -type f | ${SORT} \ |
32 |
| ${SED} -e 's|^|share/FlightGear/Aircraft/|' >> ${PLIST} && \ |
31 |
| ${SED} -e 's|^|share/FlightGear/Aircraft/|' >> ${PLIST} && \ |
33 |
${FIND} -d * -type d \ |
32 |
${FIND} * -type d | ${SORT} -r \ |
34 |
| ${SED} -e 's|^|@dirrm share/FlightGear/Aircraft/|' >> ${PLIST} |
33 |
| ${SED} -e 's|^|@dirrm share/FlightGear/Aircraft/|' >> ${PLIST} |
35 |
|
34 |
|
36 |
do-install: |
35 |
do-install: |
37 |
cd ${WRKSRC} && \ |
36 |
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${PREFIX}/share/FlightGear/Aircraft/) |
38 |
${FIND} * -type d -exec \ |
|
|
39 |
${MKDIR} "${PREFIX}/share/FlightGear/Aircraft/{}" \; && \ |
40 |
${FIND} * -type f -exec \ |
41 |
${INSTALL_DATA} "{}" "${PREFIX}/share/FlightGear/Aircraft/{}" \; |
42 |
|
37 |
|
43 |
.include <bsd.port.mk> |
38 |
.include <bsd.port.mk> |