2013-02-22 11:57:24 +01:00
|
|
|
# Created by: Brian Buchanan <brian@CSUA.Berkeley.EDU>
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1999-07-03 08:36:37 +02:00
|
|
|
|
2011-09-06 15:14:19 +02:00
|
|
|
PORTNAME= flightgear-data
|
2015-03-11 08:11:51 +01:00
|
|
|
PORTVERSION= 3.4.0
|
2015-03-18 20:43:42 +01:00
|
|
|
PORTREVISION= 1
|
2003-01-22 14:58:58 +01:00
|
|
|
CATEGORIES= games
|
2008-05-05 09:43:49 +02:00
|
|
|
# see http://www.flightgear.org/templates.js
|
2014-01-06 14:50:21 +01:00
|
|
|
MASTER_SITES= http://mirrors.ibiblio.org/flightgear/ftp/Shared/ \
|
2010-11-23 14:33:32 +01:00
|
|
|
http://ftp.linux.kiev.ua/pub/mirrors/ftp.flightgear.org/flightgear/Shared/ \
|
2008-05-05 09:43:49 +02:00
|
|
|
ftp://ftp.kingmont.com/flightsims/flightgear/Shared/ \
|
2010-11-23 14:33:32 +01:00
|
|
|
ftp://ftp.de.flightgear.org/pub/fgfs/Shared/ \
|
|
|
|
ftp://flightgear.wo0t.de/flightgear-ftp/ftp/Shared/
|
2014-02-19 08:27:51 +01:00
|
|
|
DISTNAME= FlightGear-data-${PORTVERSION}
|
2003-01-22 14:58:58 +01:00
|
|
|
|
2010-09-27 14:08:23 +02:00
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
2012-07-28 17:57:55 +02:00
|
|
|
COMMENT= FlightGear scenery, textures, and aircraft models
|
2003-01-22 14:58:58 +01:00
|
|
|
|
2010-11-23 14:33:32 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2004-12-11 19:01:24 +01:00
|
|
|
NO_BUILD= yes
|
2014-03-28 15:13:02 +01:00
|
|
|
USES= tar:bzip2
|
2013-10-30 08:13:02 +01:00
|
|
|
WRKSRC= ${WRKDIR}/fgdata
|
2011-09-06 15:14:19 +02:00
|
|
|
DATADIR= ${PREFIX}/share/flightgear
|
2004-09-18 00:47:50 +02:00
|
|
|
|
2005-11-20 23:16:15 +01:00
|
|
|
PLIST= ${WRKDIR}/pkg-plist
|
2014-12-22 22:38:23 +01:00
|
|
|
PLIST_DIRS= %%DATADIR%%
|
2005-11-20 23:16:15 +01:00
|
|
|
|
2014-11-03 14:07:17 +01:00
|
|
|
MANUAL_PACKAGE_BUILD= very large distfile (>1 GB)
|
2011-09-07 21:57:48 +02:00
|
|
|
|
2006-04-07 22:27:43 +02:00
|
|
|
post-patch:
|
2009-01-15 23:17:04 +01:00
|
|
|
@${RM} -f ${WRKSRC}/COPYING
|
2006-04-07 22:27:43 +02:00
|
|
|
|
2005-11-20 23:16:15 +01:00
|
|
|
pre-install:
|
|
|
|
@${RM} -f ${PLIST}
|
|
|
|
@cd ${WRKSRC} && \
|
2006-04-07 22:27:43 +02:00
|
|
|
${FIND} * -type d -empty | ${SORT} \
|
2011-09-06 15:14:19 +02:00
|
|
|
| ${SED} -e 's|^|@exec ${MKDIR} %D/share/flightgear/|' >> ${PLIST} && \
|
2005-11-20 23:16:15 +01:00
|
|
|
${FIND} * -type f | ${SORT} \
|
|
|
|
| ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \
|
2014-10-13 14:33:47 +02:00
|
|
|
${FIND} * -type d -empty | ${SORT} -r \
|
|
|
|
| ${SED} -e 's|^|@dir %%DATADIR%%/|' >> ${PLIST}
|
2003-11-19 12:04:39 +01:00
|
|
|
|
2003-07-15 01:50:36 +02:00
|
|
|
do-install:
|
2013-10-30 08:13:02 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
2013-11-26 08:59:03 +01:00
|
|
|
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} '! -name .gitignore')
|
1999-07-03 08:36:37 +02:00
|
|
|
|
2004-12-11 19:01:24 +01:00
|
|
|
.include <bsd.port.mk>
|