blob: d18c0f84a3a57234414324aa07659d31b8680b63 (
plain)
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
|
# $NetBSD: Makefile,v 1.5 2009/04/28 21:30:09 zafer Exp $
#
DISTNAME= fgfs-base-1.0.0
PKGNAME= ${DISTNAME:S/fgfs/flightgear/}
CATEGORIES= games
MASTER_SITES= ftp://ftp.flightgear.org/pub/fgfs/Shared/ \
http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Shared/ \
ftp://ftp.de.flightgear.org/pub/fgfs/Shared/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= ftp://ftp.flightgear.org/pub/fgfs/Shared/
COMMENT= FlightGear Simulator (data files)
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/data
NO_BUILD= yes
USE_LANGUAGES= # empty
USE_TOOLS+= pax
FG_SHAREDIR= ${PREFIX}/share/FlightGear
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${FG_SHAREDIR}
( \
cd ${WRKSRC}; \
${FIND} . -type f -name .\* -print|${XARGS} rm -f; \
pax -rwppm . ${DESTDIR}${FG_SHAREDIR}; \
)
.include "../../mk/bsd.pkg.mk"
|