version 1.6, 2010/10/26 05:40:18 |
version 1.9, 2012/07/20 17:37:07 |
|
|
|
|
COMMENT = The Open Racing Car Simulator |
COMMENT = The Open Racing Car Simulator |
|
|
DISTNAME = torcs-1.3.1 |
DISTNAME = torcs-1.3.3 |
|
|
#SHARED_LIBS = ??? |
|
|
|
CATEGORIES = games x11 |
CATEGORIES = games x11 |
|
|
HOMEPAGE = http://torcs.sourceforge.net/ |
HOMEPAGE = http://torcs.sourceforge.net/ |
|
|
PERMIT_DISTFILES_CDROM =Yes |
PERMIT_DISTFILES_CDROM =Yes |
PERMIT_DISTFILES_FTP = Yes |
PERMIT_DISTFILES_FTP = Yes |
|
|
WANTLIB = GL GLU ICE SM X11 Xext Xi Xmu Xrandr Xrender Xt Xxf86vm \ |
WANTLIB += GL GLU ICE SM X11 Xext Xi Xmu Xrandr Xrender Xt Xxf86vm |
alut c glut m openal png pthread stdc++ z |
WANTLIB += alut c glut m ogg openal png pthread stdc++ vorbis |
|
WANTLIB += vorbisfile z |
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=torcs/} |
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=torcs/} |
EXTRACT_SUFX = .tar.bz2 |
EXTRACT_SUFX = .tar.bz2 |
|
|
BUILD_DEPENDS = ::devel/plib |
BUILD_DEPENDS = devel/plib |
LIB_DEPENDS = ::audio/freealut \ |
LIB_DEPENDS = audio/freealut \ |
::graphics/freeglut \ |
audio/libvorbis \ |
::audio/openal \ |
audio/openal \ |
::graphics/png |
graphics/freeglut \ |
|
graphics/png |
|
|
USE_GMAKE = Yes |
USE_GMAKE = Yes |
USE_LIBTOOL = Yes |
|
CONFIGURE_STYLE = gnu |
CONFIGURE_STYLE = gnu |
CONFIGURE_ARGS += ${CONFIGURE_SHARED} |
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ |
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ |
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -pthread -lm -logg -lvorbis" |
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -pthread" |
|
|
|
NO_REGRESS = Yes |
NO_REGRESS = Yes |
|
|
|
|
|
|
post-patch: |
post-patch: |
.for i in ${FILES} |
.for i in ${FILES} |
perl -pi -e "s,/bin/bash,/bin/sh," \ |
@perl -pi -e "s,/bin/bash,/bin/sh," \ |
|
${WRKSRC}/${i} |
|
@perl -pi -e "s,games\/,," \ |
${WRKSRC}/${i} |
${WRKSRC}/${i} |
.endfor |
.endfor |
|
|