aboutsummaryrefslogtreecommitdiff
path: root/games/torcs
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-11-01 05:02:03 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-11-01 05:02:03 +0000
commit43713be2f1425565f0c2a90970e27cc23bb22cfa (patch)
tree89bdfa0c54af1fa6a16b215bf103de98e378604f /games/torcs
parent3d53a3f5b810933491ccf66263b98fac1f50a809 (diff)
downloadports-43713be2f1425565f0c2a90970e27cc23bb22cfa.tar.gz
ports-43713be2f1425565f0c2a90970e27cc23bb22cfa.zip
Notes
Diffstat (limited to 'games/torcs')
-rw-r--r--games/torcs/Makefile16
-rw-r--r--games/torcs/distinfo5
-rw-r--r--games/torcs/files/patch-Make-default.mk6
-rw-r--r--games/torcs/files/patch-Makefile6
-rw-r--r--games/torcs/pkg-plist11
5 files changed, 23 insertions, 21 deletions
diff --git a/games/torcs/Makefile b/games/torcs/Makefile
index a8ab9245aa0d..8dc68a3bad23 100644
--- a/games/torcs/Makefile
+++ b/games/torcs/Makefile
@@ -2,31 +2,30 @@
# $FreeBSD$
PORTNAME= torcs
-DISTVERSION= 1.3.6
-PORTREVISION= 3
+DISTVERSION= 1.3.7
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/all-in-one/${PORTVERSION}
MAINTAINER= monwarez@mailoo.org
-COMMENT= The Open Racing Car Simulator
+COMMENT= Free open source racing car simulator
LICENSE= GPLv2
-MAKE_JOBS_UNSAFE= yes
-
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib
LIB_DEPENDS= libpng.so:graphics/png \
libvorbis.so:audio/libvorbis
RUN_DEPENDS= bash:shells/bash
+MAKE_JOBS_UNSAFE= yes
+
USES= cpe gmake openal:al,alut shebangfix tar:bzip2
CPE_VENDOR= bernhard_wymann
SHEBANG_FILES= src/tools/accc/accc.in src/tools/nfsperf/nfsperf.in \
src/tools/texmapper/texmapper.in src/tools/nfs2ac/nfs2ac.in \
src/tools/trackgen/trackgen.in \
src/modules/telemetry/telemetry.sh robotgen
-USE_XORG= xrender xmu ice xext x11 xxf86vm xrandr
-USE_GL= glut
+USE_XORG= xrender xmu ice xext x11 xxf86vm xrandr xi xt sm
+USE_GL= glut glu gl
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
@@ -96,6 +95,9 @@ pre-install:
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/faq/|} ${STAGEDIR}${DOCSDIR}
+ # strip simuv2.so as reported by Q/A tests
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/torcs/modules/simu/simuv2.so
+
.for ed in ${EMPTYDIR}
${TOUCH} ${STAGEDIR}${INSTDIR}/results/${ed}/.keep_me
.endfor
diff --git a/games/torcs/distinfo b/games/torcs/distinfo
index 3defdb291e90..8e65d81829c0 100644
--- a/games/torcs/distinfo
+++ b/games/torcs/distinfo
@@ -1,2 +1,3 @@
-SHA256 (torcs-1.3.6.tar.bz2) = 193cb1820170eb18335dffeaa345499229a4b7972a78acbfaca197597a3075af
-SIZE (torcs-1.3.6.tar.bz2) = 477954437
+TIMESTAMP = 1477934188
+SHA256 (torcs-1.3.7.tar.bz2) = 8a1bb0862e49a4d715e392630bc6f586ed38177bafaff740a6dfe9769806b84d
+SIZE (torcs-1.3.7.tar.bz2) = 478492421
diff --git a/games/torcs/files/patch-Make-default.mk b/games/torcs/files/patch-Make-default.mk
index fda0c16608f4..d1c2dcefe13f 100644
--- a/games/torcs/files/patch-Make-default.mk
+++ b/games/torcs/files/patch-Make-default.mk
@@ -1,6 +1,6 @@
---- Make-default.mk.orig 2010-10-17 19:26:58.000000000 +0200
-+++ Make-default.mk 2010-10-17 19:27:26.000000000 +0200
-@@ -134,7 +134,7 @@
+--- Make-default.mk.orig 2013-01-12 14:25:08 UTC
++++ Make-default.mk
+@@ -134,7 +134,7 @@ include .depend
endif
.depend:
diff --git a/games/torcs/files/patch-Makefile b/games/torcs/files/patch-Makefile
index 1aaf3bed0c9a..12eeed4e0ddd 100644
--- a/games/torcs/files/patch-Makefile
+++ b/games/torcs/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig Sat Aug 19 17:07:30 2006
-+++ Makefile Mon Oct 9 22:08:30 2006
-@@ -78,7 +78,7 @@
+--- Makefile.orig 2008-09-03 21:49:41 UTC
++++ Makefile
+@@ -71,7 +71,7 @@ SUBDIRS = src
DATADIR = .
diff --git a/games/torcs/pkg-plist b/games/torcs/pkg-plist
index c19cf4e99e2b..bd01a0031ae3 100644
--- a/games/torcs/pkg-plist
+++ b/games/torcs/pkg-plist
@@ -946,7 +946,6 @@ share/games/torcs/drivers/human/car.xml
share/games/torcs/drivers/human/human.xml
share/games/torcs/drivers/human/logo.rgb
share/games/torcs/drivers/human/preferences.xml
-share/games/torcs/drivers/human/tracks/dirt-2/car-pw-206wrc.xml
share/games/torcs/drivers/inferno/1/default.xml
share/games/torcs/drivers/inferno/10/car1-trb3.rgb
share/games/torcs/drivers/inferno/10/default.xml
@@ -2776,9 +2775,9 @@ share/games/torcs/wheels/trb1-6/wheel1.acc
share/games/torcs/wheels/trb1-6/wheel2.acc
share/games/torcs/wheels/trb1-6/wheel3.acc
share/games/torcs/wheels/trb1-6/wheel3d.png
-@dir share/games/torcs/drivers/bt/1/race
-@dir share/games/torcs/drivers/bt/1/qualifying
-@dir share/games/torcs/drivers/bt/1/practice
-@dir share/games/torcs/drivers/bt/0/race
-@dir share/games/torcs/drivers/bt/0/qualifying
@dir share/games/torcs/drivers/bt/0/practice
+@dir share/games/torcs/drivers/bt/0/qualifying
+@dir share/games/torcs/drivers/bt/0/race
+@dir share/games/torcs/drivers/bt/1/practice
+@dir share/games/torcs/drivers/bt/1/qualifying
+@dir share/games/torcs/drivers/bt/1/race