aboutsummaryrefslogtreecommitdiffstats
path: root/games/f1lt
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-04-20 07:33:17 +0800
committerjgh <jgh@FreeBSD.org>2013-04-20 07:33:17 +0800
commit31cb62637288262f33489ba93fc25ef5c28d5a2a (patch)
tree37083b3c544ec005bbc2e1c3f7e4ad95ac09c130 /games/f1lt
parent0480422973d8144bbb667dc6101bb1e2c73190d3 (diff)
downloadfreebsd-ports-gnome-31cb62637288262f33489ba93fc25ef5c28d5a2a.tar.gz
freebsd-ports-gnome-31cb62637288262f33489ba93fc25ef5c28d5a2a.tar.zst
freebsd-ports-gnome-31cb62637288262f33489ba93fc25ef5c28d5a2a.zip
- 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
Diffstat (limited to 'games/f1lt')
-rw-r--r--games/f1lt/Makefile25
-rw-r--r--games/f1lt/distinfo4
-rw-r--r--games/f1lt/files/patch-src__core__f1ltcore.h29
3 files changed, 14 insertions, 44 deletions
diff --git a/games/f1lt/Makefile b/games/f1lt/Makefile
index c66eddbb8f95..c33120641cbe 100644
--- a/games/f1lt/Makefile
+++ b/games/f1lt/Makefile
@@ -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@FreeBSD.org
@@ -19,24 +20,22 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
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>
diff --git a/games/f1lt/distinfo b/games/f1lt/distinfo
index 994348ab32a1..f03b1398fa6d 100644
--- a/games/f1lt/distinfo
+++ b/games/f1lt/distinfo
@@ -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
diff --git a/games/f1lt/files/patch-src__core__f1ltcore.h b/games/f1lt/files/patch-src__core__f1ltcore.h
deleted file mode 100644
index 1d549471b8c0..000000000000
--- a/games/f1lt/files/patch-src__core__f1ltcore.h
+++ /dev/null
@@ -1,29 +0,0 @@
---- ./src/core/f1ltcore.h.orig 2013-03-22 16:57:29.000000000 -0700
-+++ ./src/core/f1ltcore.h 2013-03-22 16:59:40.000000000 -0700
-@@ -74,7 +74,7 @@
- QString prefix = STR(INSTALL_PREFIX);
- QDir dir;
- if (dir.exists(prefix))
-- return prefix + "/share/season.dat";
-+ return prefix + "/share/F1LT/season.dat";
- else
- return programHomeDir() + "/season.dat";
- #endif
-@@ -88,7 +88,7 @@
- QString prefix = STR(INSTALL_PREFIX);
- QDir dir;
- if (dir.exists(prefix))
-- return prefix + "/share/trackdata.dat";
-+ return prefix + "/share/F1LT/trackdata.dat";
- else
- return programHomeDir() + "/trackdata.dat";
- #endif
-@@ -102,7 +102,7 @@
- QString prefix = STR(INSTALL_PREFIX);
- QDir dir;
- if (dir.exists(prefix))
-- return prefix + "/share/trackrecords.dat";
-+ return prefix + "/share/F1LT/trackrecords.dat";
- else
- return programHomeDir() + "/trackrecords.dat";
- #endif