# Ports collection makefile for:	vamos
# Date created:			Mar 15, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	vamos
PORTVERSION=	0.7.0
PORTREVISION=	2
CATEGORIES=	games
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	An automotive simulation framework

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png

USE_OPENAL=	al alut
USE_XORG=	sm ice x11 xi xext xmu
USE_GL=		glut
USE_SDL=	sdl
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool
CONFIGURE_ARGS=	ac_cv_header_boost_test_unit_test_hpp=no \
		ac_cv_lib_freeglut_glutGetModifiers=no
USE_LDCONFIG=	yes
MAKE_JOBS_SAFE=	yes

INFO=		vamos

CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}

post-extract:
	@${CHMOD} ${BINMODE} ${WRKSRC}/config/install-sh

post-patch:
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
		'/^AM_CXXFLAGS/s| -pedantic|| ; \
		 /^AM_CXXFLAGS/s| -O[[:alnum:]]|| ; \
		 /^AM_CXXFLAGS/s| -g|| ; \
		 /^AM_CXXFLAGS/s| -DBOOST_TEST_DYN_LINK|| ; \
		 /^AM_CXXFLAGS/s| -L/usr/lib/boost||'

.include <bsd.port.mk>
ain'><a href='/~lantw44/cgit/cgit.cgi/'>index</a> : <a title='freebsd-ports-graphics' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/'>freebsd-ports-graphics</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='3024be15ce16ecb683d884aa503302970540cc36'/><select name='h' onchange='this.form.submit();'>
<option value='master'>master</option>
<option value='mesa-next' selected='selected'>mesa-next</option>
<option value='wayland'>wayland</option>
<option value='xorg-server-1.19.6'>xorg-server-1.19.6</option>
<option value='xserver-next'>xserver-next</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>FreeBSD graphics obsolete development ports (https://github.com/freebsd/freebsd-ports-graphics)</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/about/'>about</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/'>summary</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/refs/?id=3024be15ce16ecb683d884aa503302970540cc36'>refs</a><a class='active' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/www/mod_backhand'>log</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/tree/www/mod_backhand?id=3024be15ce16ecb683d884aa503302970540cc36'>tree</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/www/mod_backhand?id=3024be15ce16ecb683d884aa503302970540cc36'>commit</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/diff/www/mod_backhand?id=3024be15ce16ecb683d884aa503302970540cc36'>diff</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/stats/www/mod_backhand'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/www/mod_backhand'>
<input type='hidden' name='id' value='3024be15ce16ecb683d884aa503302970540cc36'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/?id=3024be15ce16ecb683d884aa503302970540cc36'>root</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/www?id=3024be15ce16ecb683d884aa503302970540cc36'>www</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/www/mod_backhand?id=3024be15ce16ecb683d884aa503302970540cc36'>mod_backhand</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/www/mod_backhand?id=3024be15ce16ecb683d884aa503302970540cc36&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/www/mod_backhand?id=264cdcd7a6bead083ad3106f86fb0744dedb57f5'>Use the new Apache bits from bsd.port.mk.</a></td><td>marcus</td><td><span title='2003-11-07 17:12:58 +0800'>2003-11-07</span></td><td>1</td><td><span class='deletions'>-4</span>/<span class='insertions'>+1</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/www/mod_backhand?id=2d8335cb10ed8b1c6e7204f798cbb038781bbdf7'>Add an additional mirror hosted by the module author's company.</a></td><td>seanc</td><td><span title='2003-10-15 09:22:11 +0800'>2003-10-15</span></td><td>1</td><td><span class='deletions'>-1</span>/<span class='insertions'>+2</span></td></tr>