blob: 2d1f1e9a1761effce9b31954fef95499a2b19760 (
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
|
# New ports collection makefile for: flightgear
# Date created: 26 June 1999
# Whom: Brian Buchanan <brian@CSUA.Berkeley.EDU>
#
# $FreeBSD$
#
PORTNAME= fgfs-base
PORTVERSION= 0.9.8
CATEGORIES= games
MASTER_SITES= ftp://ftp.flightgear.org/pub/fgfs/Shared/ \
ftp://ftp.de.flightgear.org/pub/fgfs/Shared/
MAINTAINER= jylefort@FreeBSD.org
COMMENT= FlightGear scenery, textures and aircraft models
NO_BUILD= yes
USE_BZIP2= yes
WRKSRC= ${WRKDIR}/data
DATADIR= ${PREFIX}/share/FlightGear
post-extract:
@${FIND} ${WRKSRC} \( -name '.#*' -or -name '*~' \) -print -delete
do-install:
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0755 ${DATADIR}
@(cd ${WRKSRC} && ${FIND} . -type d | (cd ${DATADIR} &&\
${XARGS} ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0755))
@(cd ${WRKSRC} && ${FIND} . -type f |\
${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DATADIR})
.include <bsd.port.mk>
|