aboutsummaryrefslogtreecommitdiff
path: root/games/vdrift-data
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-02-08 21:45:50 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-02-08 21:45:50 +0000
commit3e9631fc838c79d51d3010ec8b4e90830ebee2cc (patch)
tree16b08e744d4bbd025d8fd0ca3417c0533eff2d63 /games/vdrift-data
parent6411ac8594706ee51ae461e216c35a278f8e7560 (diff)
downloadports-3e9631fc838c79d51d3010ec8b4e90830ebee2cc.tar.gz
ports-3e9631fc838c79d51d3010ec8b4e90830ebee2cc.zip
Notes
Diffstat (limited to 'games/vdrift-data')
-rw-r--r--games/vdrift-data/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/vdrift-data/Makefile b/games/vdrift-data/Makefile
index b79703e7177c..290c865bb4e0 100644
--- a/games/vdrift-data/Makefile
+++ b/games/vdrift-data/Makefile
@@ -12,8 +12,9 @@ DIST_SUBDIR= vdrift
MAINTAINER= acm@FreeBSD.org
COMMENT= Vdrift driving simulation data files
+LICENSE= GPLv2
+
USE_BZIP2= yes
-NO_PACKAGE= Package will be 547MB, set FORCE_PACKAGE if you really want it
NO_BUILD= yes
DATADIR= ${PREFIX}/share/vdrift
PLIST= ${WRKDIR}/pkg-plist
@@ -21,7 +22,6 @@ WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${DATE_VERSION}
DATE_VERSION= 2010-06-30
-NO_STAGE= yes
post-extract:
@cd ${WRKSRC}/data && \
${FIND} * -name "SConscript*" -print0 | ${XARGS} -0 ${RM}
@@ -37,9 +37,7 @@ pre-install:
@${ECHO_CMD} "@dirrmtry %%DATADIR%%" >> ${PLIST}
do-install:
- ${MKDIR} ${DATADIR}
- cd ${WRKSRC}/data && \
- ${FIND} * -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
- ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>