svn commit: r316123 - in head/games/f1lt: . files

Jason Helfman jgh at FreeBSD.org
Fri Apr 19 23:33:18 UTC 2013


Author: jgh
Date: Fri Apr 19 23:33:17 2013
New Revision: 316123
URL: http://svnweb.freebsd.org/changeset/ports/316123

Log:
  - update to 2.0.2
  - add symlink so ${PREFIX}/bin/f1lt will also start application
  
  Just in time for Bahrain!
  
  v2.0.2 (19-04-2013):
  - fixed bug with refreshing data during live session
  - fixed bug that caused starting recording previous race before FP1
  
  v2.0.1 (18-04-2013):
  - added 'check for updates' feature - you should now be on time with application updates
  - fixed lap order in head to head and lap time comparison
  - fixed driver tracker crashes
  - all drivers are now "in pits" before fp/quali start
  - fixed getting current track data and map according to system time (UTC time is now used instead)
  - fixed quali timer - it now doesn't start during quali breaks
  - optimized painting weather charts, should decrease CPU load
  - commentary auto-scrolling can be disabled now
  - driver sector times can now be also compared with a selected driver on the main view
  - UNIX only: trackrecords.dat file is now also saved in $HOME/.config/f1lt directory,
    application reads and stores records there, global trackrecords.dat file is used only
    during first run of the application
  - UNIX only: installation prefixes can be now easily set in F1LT.pro file (see INSTALL file)
  - WINDOWS only: added installator
  
  Feature safe:	yes

Deleted:
  head/games/f1lt/files/
Modified:
  head/games/f1lt/Makefile
  head/games/f1lt/distinfo

Modified: head/games/f1lt/Makefile
==============================================================================
--- head/games/f1lt/Makefile	Fri Apr 19 22:37:27 2013	(r316122)
+++ head/games/f1lt/Makefile	Fri Apr 19 23:33:17 2013	(r316123)
@@ -2,9 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	f1lt
-PORTVERSION=	2.0.0
+PORTVERSION=	2.0.2
 CATEGORIES=	games
-MASTER_SITES=	GOOGLE_CODE
+MASTER_SITES=	GOOGLE_CODE \
+		LOCAL/jgh/games/${PORTNAME}/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 
 MAINTAINER=	jgh at FreeBSD.org
@@ -19,24 +20,22 @@ WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERS
 
 HAS_CONFIGURE=	yes
 USE_GMAKE=	yes
+MAKE_JOBS_SAFE=	yes
 
 PLIST_FILES=	bin/F1LT \
-		share/F1LT/season.dat \
-		share/F1LT/trackdata.dat \
-		share/F1LT/trackrecords.dat
-PLIST_DIRSTRY=	share/F1LT
+		bin/f1lt \
+		share/f1lt/season.dat \
+		share/f1lt/trackdata.dat \
+		share/f1lt/trackrecords.dat
+PLIST_DIRSTRY=	share/f1lt
 PORTDOCS=	CHANGELOG
 
 .include <bsd.port.pre.mk>
 
 post-patch-script:
-	@${REINPLACE_CMD} -e 's|PREFIX = /opt|PREFIX = /usr/local|g' \
+	@${REINPLACE_CMD} -e 's|PREFIX = /opt/$$$$TARGET|PREFIX = ${PREFIX}|g' \
 		${WRKSRC}/F1LT.pro
-	@${REINPLACE_CMD} -e 's|$$PREFIX/share/|$$PREFIX/share/$$$$TARGET/|g' \
-		${WRKSRC}/F1LT.pro
-	@${REINPLACE_CMD} -e 's|PREFIX = /usr/local/$$$$TARGET|PREFIX = /usr/local/|g' \
-		${WRKSRC}/F1LT.pro
-	@${REINPLACE_CMD} -e 's|target.path = $$PREFIX/bin/|target.path = /usr/local/bin/|g' \
+	@${REINPLACE_CMD} -e 's|SHARE=$$$$PREFIX/share|SHARE=$$$$PREFIX/share/${PORTNAME}|g' \
 		${WRKSRC}/F1LT.pro
 .if ${ARCH} == "i386"
 	@${REINPLACE_CMD} -e 's|999999999998|1000000|g' \
@@ -54,6 +53,6 @@ post-install:
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR}
 .endif
-	@${CHMOD} 0664 ${PREFIX}/share/F1LT/trackrecords.dat
+	@${LN} -s ${PREFIX}/bin/F1LT ${PREFIX}/bin/${PORTNAME}
 
 .include <bsd.port.post.mk>

Modified: head/games/f1lt/distinfo
==============================================================================
--- head/games/f1lt/distinfo	Fri Apr 19 22:37:27 2013	(r316122)
+++ head/games/f1lt/distinfo	Fri Apr 19 23:33:17 2013	(r316123)
@@ -1,2 +1,2 @@
-SHA256 (f1lt-2.0.0-src.tar.gz) = cb2c61cacc5d7b0b75bd3796d7f27eedf210fab2579daf22c0a80cd2c60ee277
-SIZE (f1lt-2.0.0-src.tar.gz) = 11826566
+SHA256 (f1lt-2.0.2-src.tar.gz) = aa84b97de08f051fbf0acd52904753c298331d9815b3f39f324945aa629024c5
+SIZE (f1lt-2.0.2-src.tar.gz) = 12099269


More information about the svn-ports-all mailing list