freebsd-ports/games/flightgear-data/Makefile

49 lines
1.3 KiB
Makefile
Raw Normal View History

# Created by: Brian Buchanan <brian@CSUA.Berkeley.EDU>
1999-08-25 08:06:33 +02:00
# $FreeBSD$
PORTNAME= flightgear-data
2015-03-11 08:11:51 +01:00
PORTVERSION= 3.4.0
PORTREVISION= 1
CATEGORIES= games
# see http://www.flightgear.org/templates.js
MASTER_SITES= http://mirrors.ibiblio.org/flightgear/ftp/Shared/ \
http://ftp.linux.kiev.ua/pub/mirrors/ftp.flightgear.org/flightgear/Shared/ \
ftp://ftp.kingmont.com/flightsims/flightgear/Shared/ \
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}
MAINTAINER= martymac@FreeBSD.org
COMMENT= FlightGear scenery, textures, and aircraft models
LICENSE= GPLv2
NO_BUILD= yes
USES= tar:bzip2
WRKSRC= ${WRKDIR}/fgdata
DATADIR= ${PREFIX}/share/flightgear
PLIST= ${WRKDIR}/pkg-plist
PLIST_DIRS= %%DATADIR%%
MANUAL_PACKAGE_BUILD= very large distfile (>1 GB)
2006-04-07 22:27:43 +02:00
post-patch:
@${RM} -f ${WRKSRC}/COPYING
2006-04-07 22:27:43 +02:00
pre-install:
@${RM} -f ${PLIST}
@cd ${WRKSRC} && \
2006-04-07 22:27:43 +02:00
${FIND} * -type d -empty | ${SORT} \
| ${SED} -e 's|^|@exec ${MKDIR} %D/share/flightgear/|' >> ${PLIST} && \
${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:
${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} '! -name .gitignore')
.include <bsd.port.mk>