freebsd-ports/games/flightgear-data/Makefile

45 lines
1.2 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
PORTVERSION= 2016.4.3
CATEGORIES= games
MASTER_SITES= SF/flightgear/release-${PORTVERSION:R}
DISTNAME= FlightGear-${PORTVERSION}-data
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%%
BROKEN_aarch64= Fails to install: runaway process
BROKEN_armv6= Fails to install: runaway process
BROKEN_mips64= Fails to install: runaway process
2006-04-07 22:27:43 +02:00
post-patch:
@${RM} ${WRKSRC}/COPYING
2006-04-07 22:27:43 +02:00
pre-install:
@${RM} ${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 .git -o -name .gitignore )")
.include <bsd.port.mk>