1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Update to 20061006

This commit is contained in:
Jose Alonso Cardenas Marquez 2006-10-06 20:09:24 +00:00
parent cce4c384e8
commit a75d705012
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174672
6 changed files with 22 additions and 38 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= data
PORTVERSION= 20060708
PORTREVISION= 1
PORTVERSION= 20061006
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= vdrift
@ -22,7 +21,7 @@ USE_BZIP2= yes
NO_BUILD= yes
DATADIR= ${PREFIX}/share/vdrift
PLIST= ${WRKDIR}/pkg-plist
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}2006-02-21
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}2006-10-06-src
OPTIONS= MINIMAL "Install minimal requerimients of data files" off \
FULL "Install all data files" on
@ -40,31 +39,31 @@ pre-everything::
.endif
.if defined(WITH_MINIMAL)
DISTFILES+= ${PKGNAMEPREFIX}2006-07-08-${PORTNAME}-minimal.tar.bz2
DISTFILES+= ${PKGNAMEPREFIX}2006-10-06-${PORTNAME}-minimal.tar.bz2
.endif
.if defined(WITH_FULL)
DISTFILES+= ${PKGNAMEPREFIX}2006-07-08-${PORTNAME}-full.tar.bz2
DISTFILES+= ${PKGNAMEPREFIX}2006-10-06-${PORTNAME}-full.tar.bz2
.endif
post-extract:
@cd ${WRKDIR}/data && \
@cd ${WRKSRC}/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}
@${RMDIR} ${WRKSRC}/data/${DIRE}
.endfor
pre-install:
@${RM} -f ${PLIST}
@cd ${WRKDIR}/data && \
@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} "@dirrm %%DATADIR%%" >> ${PLIST}
do-install:
${MKDIR} ${DATADIR}
cd ${WRKDIR}/data && \
cd ${WRKSRC}/data && \
${FIND} * -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;

View File

@ -1,6 +1,6 @@
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
MD5 (vdrift/vdrift-2006-10-06-data-full.tar.bz2) = 0a0608e425d63c38799fecbf7537391c
SHA256 (vdrift/vdrift-2006-10-06-data-full.tar.bz2) = af79b99c754a310334c0ec4796d2c9df6fc293f5cc3178b5c924fbc0211ac1ec
SIZE (vdrift/vdrift-2006-10-06-data-full.tar.bz2) = 147782774
MD5 (vdrift/vdrift-2006-10-06-data-minimal.tar.bz2) = 0b1d2560dcb9ec07dded8f52081c1541
SHA256 (vdrift/vdrift-2006-10-06-data-minimal.tar.bz2) = 2934a1b86142b7b67ff20e5abcb0fe82bcaca322c9c2d9fdc6e70fd5c2e6a018
SIZE (vdrift/vdrift-2006-10-06-data-minimal.tar.bz2) = 16899457

View File

@ -6,12 +6,11 @@
#
PORTNAME= vdrift
PORTVERSION= 20060708
PORTREVISION= 1
PORTVERSION= 20061006
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-2006-07-08-src
DISTNAME= ${PORTNAME}-2006-10-06-src
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= acm@FreeBSD.org

View File

@ -1,3 +1,3 @@
MD5 (vdrift/vdrift-2006-07-08-src.tar.bz2) = c2275e99ad0d5802a11d3263a2818bff
SHA256 (vdrift/vdrift-2006-07-08-src.tar.bz2) = 8fba3d6bae4f21cbf65073529dc05170d2af4861954887346edc88f2cf5cc4ad
SIZE (vdrift/vdrift-2006-07-08-src.tar.bz2) = 1082005
MD5 (vdrift/vdrift-2006-10-06-src.tar.bz2) = bd3f20a889b879277b5f02f07a400af5
SHA256 (vdrift/vdrift-2006-10-06-src.tar.bz2) = cacd03ec7c3ebb87e3c2cc028646b6e9d2c783d01a849a02fc2707987ffd250e
SIZE (vdrift/vdrift-2006-10-06-src.tar.bz2) = 1072960

View File

@ -1,15 +0,0 @@
--- SConstruct.orig Sun Jul 9 03:05:30 2006
+++ SConstruct Tue Sep 12 19:16:12 2006
@@ -42,10 +42,10 @@
env = Environment(ENV = os.environ,
CPPPATH = ['#include',LOCALBASE + '/include', LOCALBASE + '/include/AL',X11BASE + '/include'],
LIBPATH = ['.', '#lib', LOCALBASE + '/lib', X11BASE + '/lib'],
- LINKFLAGS = ['-pthread'],
+ LINKFLAGS = ['-pthread','-lintl'],
options = opts)
- check_headers = ['GL/gl.h', 'GL/glu.h', 'SDL11/SDL.h', 'SDL11/SDL_image.h', 'SDL11/SDL_net.h']
+ check_headers = ['GL/gl.h', 'GL/glu.h', 'SDL/SDL.h', 'SDL/SDL_image.h', 'SDL/SDL_net.h']
env.Replace(CC = os.environ['CC'])
env.Replace(CXX = os.environ['CXX'])

View File

@ -1,6 +1,7 @@
####################################################
###############################################################################
1) Set write permissions on ~/.vdrift/VDrift.config
2) Run vdrift -datadir %%DATADIR%%
3) Enjoy it ;)
####################################################
###############################################################################