Date: Wed, 14 Jan 2015 18:59:26 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r377037 - head/games/vdrift-data Message-ID: <201501141859.t0EIxQPe049148@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Jan 14 18:59:25 2015 New Revision: 377037 URL: https://svnweb.freebsd.org/changeset/ports/377037 QAT: https://qat.redports.org/buildarchive/r377037/ Log: - Fix typo (DATE vs DATA) - Use PORTDATA=* for plist generation, add empty dirs to plist - Pet portlint Approved by: bapt Modified: head/games/vdrift-data/Makefile Modified: head/games/vdrift-data/Makefile ============================================================================== --- head/games/vdrift-data/Makefile Wed Jan 14 18:36:22 2015 (r377036) +++ head/games/vdrift-data/Makefile Wed Jan 14 18:59:25 2015 (r377037) @@ -4,9 +4,9 @@ PORTNAME= data PORTVERSION= 20100630 CATEGORIES= games -MASTER_SITES= SF/vdrift/vdrift/vdrift-${DATE_VERSION} +MASTER_SITES= SF/vdrift/vdrift/vdrift-${DATA_VERSION} PKGNAMEPREFIX= vdrift- -DISTNAME= ${PKGNAMEPREFIX}${DATE_VERSION} +DISTNAME= ${PKGNAMEPREFIX}${DATA_VERSION} DIST_SUBDIR= vdrift MAINTAINER= acm@FreeBSD.org @@ -14,28 +14,32 @@ COMMENT= Vdrift driving simulation data LICENSE= GPLv2 -USES= tar:bzip2 +USES= tar:bzip2 NO_BUILD= yes DATADIR= ${PREFIX}/share/vdrift PLIST= ${WRKDIR}/pkg-plist -WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${DATE_VERSION} +WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${DATA_VERSION} -DATE_VERSION= 2010-06-30 +DATA_VERSION= 2010-06-30 + +PORTDATA= * +PLIST_DIRS= %%DATADIR%%/carparts/engine \ + %%DATADIR%%/carparts/exhaust \ + %%DATADIR%%/carparts/other \ + %%DATADIR%%/carparts/suspension \ + %%DATADIR%%/carparts/transmission \ + %%DATADIR%%/carparts/turbo \ + %%DATADIR%%/lists/fontinfo \ + %%DATADIR%%/settings/replays \ + %%DATADIR%%/settings/screenshots post-extract: @cd ${WRKSRC}/data && \ - ${FIND} * -name "SConscript*" -print0 | ${XARGS} -0 ${RM} + ${FIND} * -name "SConscript*" -delete .for DIRE in music @${RMDIR} ${WRKSRC}/data/${DIRE} .endfor -pre-install: - @${RM} -f ${PLIST} - @cd ${WRKSRC}/data && \ - ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \ - ${FIND} * -type d | ${SORT} -r | ${SED} -e 's|^|@dirrm %%DATADIR%%/|' >> ${PLIST} - @${ECHO_CMD} "@dirrmtry %%DATADIR%%" >> ${PLIST} - do-install: ${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501141859.t0EIxQPe049148>