mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
- Update to 20060708
- Removed USE_X_PREFIX - Added MINIMAL and FULL options - Removed pkg-plist file. Now, it's generating dynamically Approved by: garga (mentor)
This commit is contained in:
parent
9cdc3f36bc
commit
b1690176de
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168827
@ -6,28 +6,64 @@
|
||||
#
|
||||
|
||||
PORTNAME= data
|
||||
PORTVERSION= 20060221
|
||||
PORTVERSION= 20060708
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= vdrift
|
||||
PKGNAMEPREFIX= vdrift-
|
||||
DISTNAME= ${PKGNAMEPREFIX}2006-02-21-${PORTNAME}
|
||||
DISTFILES= #
|
||||
DIST_SUBDIR= vdrift
|
||||
|
||||
MAINTAINER= acm@FreeBSD.org
|
||||
COMMENT= Vdrift driving simulation data files
|
||||
|
||||
USE_ZIP= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_BZIP2= yes
|
||||
NO_BUILD= yes
|
||||
DATADIR= ${PREFIX}/share/vdrift
|
||||
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}2006-02-21
|
||||
|
||||
OPTIONS= MINIMAL "Install minimal requerimients of data files" off \
|
||||
FULL "Install all data files" on
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_FULL) && defined(WITH_MINIMAL)
|
||||
pre-everything::
|
||||
@${ECHO_CMD} "##############################################################"
|
||||
@${ECHO_CMD} ""
|
||||
@${ECHO_CMD} " * Please only select one option, try \"make config\" again"
|
||||
@${ECHO_CMD} ""
|
||||
@${ECHO_CMD} "##############################################################"
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
.if defined(WITH_MINIMAL)
|
||||
DISTFILES+= ${PKGNAMEPREFIX}2006-07-08-${PORTNAME}-minimal.tar.bz2
|
||||
.endif
|
||||
|
||||
.if defined(WITH_FULL)
|
||||
DISTFILES+= ${PKGNAMEPREFIX}2006-07-08-${PORTNAME}-full.tar.bz2
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@cd ${WRKDIR}/data && \
|
||||
${FIND} * -name SConscript -print0 | ${XARGS} -0 ${RM}
|
||||
.for DIRE in settings/replays settings/screenshots carparts/turbo carparts/transmission \
|
||||
carparts/suspension carparts/other carparts/exhaust carparts/engine
|
||||
@${RMDIR} ${WRKDIR}/data/${DIRE}
|
||||
.endfor
|
||||
|
||||
pre-install:
|
||||
@${RM} -f ${PLIST}
|
||||
@cd ${WRKDIR}/data && \
|
||||
${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \
|
||||
${FIND} * -type d | ${SORT} -r | ${SED} -e 's|^|@dirrm %%DATADIR%%/|' >> ${PLIST}
|
||||
@${ECHO_CMD} "@dirrm %%DATADIR%%" >> ${PLIST}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${DATADIR}
|
||||
cd ${WRKSRC}/data && \
|
||||
${FIND} * -name SConscript -print0 | ${XARGS} -0 ${RM} && \
|
||||
cd ${WRKDIR}/data && \
|
||||
${FIND} * -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
|
||||
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,3 +1,6 @@
|
||||
MD5 (vdrift/vdrift-2006-02-21-data.zip) = f88813208e6bf2d180ddde6bc0bacc21
|
||||
SHA256 (vdrift/vdrift-2006-02-21-data.zip) = b188477159f5e57ce0afc82a2ba62800779adad0bd72ea612a038bac16913d4c
|
||||
SIZE (vdrift/vdrift-2006-02-21-data.zip) = 44955341
|
||||
MD5 (vdrift/vdrift-2006-07-08-data-minimal.tar.bz2) = 7dc9b0ac50c2de4d75da5ecf610701d2
|
||||
SHA256 (vdrift/vdrift-2006-07-08-data-minimal.tar.bz2) = 29795fb9a4bde6ea26cf1de17c2d9a295f840a3824ff41829c00a6223df8d5d0
|
||||
SIZE (vdrift/vdrift-2006-07-08-data-minimal.tar.bz2) = 30402694
|
||||
MD5 (vdrift/vdrift-2006-07-08-data-full.tar.bz2) = edb66d2a8af2b8267cd765f72b2fd73e
|
||||
SHA256 (vdrift/vdrift-2006-07-08-data-full.tar.bz2) = dc00667b0b87257f659201d23a42a0fcf8b6b3fe8908ccc2c991582ab472a30e
|
||||
SIZE (vdrift/vdrift-2006-07-08-data-full.tar.bz2) = 146155586
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user