Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2014 21:45:50 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343395 - head/games/vdrift-data
Message-ID:  <201402082145.s18Ljoqp099815@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Feb  8 21:45:50 2014
New Revision: 343395
URL: http://svnweb.freebsd.org/changeset/ports/343395
QAT: https://qat.redports.org/buildarchive/r343395/

Log:
  - Add LICENSE
  - Remove NO_PACKAGE for size reason, it will package fine and allow us to package games/vdrift too
  - Stage support

Modified:
  head/games/vdrift-data/Makefile

Modified: head/games/vdrift-data/Makefile
==============================================================================
--- head/games/vdrift-data/Makefile	Sat Feb  8 21:45:20 2014	(r343394)
+++ head/games/vdrift-data/Makefile	Sat Feb  8 21:45:50 2014	(r343395)
@@ -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}${DAT
 
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402082145.s18Ljoqp099815>