2002-03-16 04:47:18 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: vamos
|
|
|
|
# Date created: Mar 15, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= vamos
|
2005-02-07 00:30:41 +01:00
|
|
|
PORTVERSION= 0.5.3
|
2002-03-16 04:47:18 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:32:26 +01:00
|
|
|
COMMENT= An automotive simulation framework
|
2002-03-16 04:47:18 +01:00
|
|
|
|
2004-11-14 10:08:36 +01:00
|
|
|
BUILD_DEPENDS= ${X11BASE}/lib/libplibul.a:${PORTSDIR}/x11-toolkits/plib
|
2005-02-07 00:30:41 +01:00
|
|
|
LIB_DEPENDS= cppunit-1.10.2:${PORTSDIR}/devel/cppunit \
|
|
|
|
sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \
|
2003-11-10 19:51:28 +01:00
|
|
|
glut.3:${PORTSDIR}/graphics/libglut \
|
2003-06-23 01:07:55 +02:00
|
|
|
png.5:${PORTSDIR}/graphics/png
|
2002-03-16 04:47:18 +01:00
|
|
|
|
2003-11-10 19:51:28 +01:00
|
|
|
USE_GL= yes
|
2003-06-23 00:37:31 +02:00
|
|
|
USE_GETOPT_LONG= yes
|
2003-05-02 08:02:47 +02:00
|
|
|
USE_GMAKE= yes
|
2004-11-14 10:08:36 +01:00
|
|
|
USE_LIBTOOL_VER= 15
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-09-02 20:37:12 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
|
|
|
|
MAKEINFO="makeinfo --no-split"
|
2004-12-05 01:32:06 +01:00
|
|
|
CONFIGURE_ARGS= --x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib
|
2002-03-16 04:47:18 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2003-09-02 20:37:12 +02:00
|
|
|
INFO= vamos
|
|
|
|
|
2003-06-23 01:07:55 +02:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include/libpng -I${X11BASE}/include \
|
|
|
|
${PTHREAD_CFLAGS}
|
2004-06-25 07:31:17 +02:00
|
|
|
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lusbhid -lGL -lGLU -lglut \
|
2003-06-23 01:07:55 +02:00
|
|
|
${PTHREAD_LIBS}
|
2002-07-06 03:31:03 +02:00
|
|
|
|
2004-06-27 20:07:32 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
BROKEN= "Does not compile on 4.x (port and dependencies need recent C++ compiler)"
|
|
|
|
.endif
|
|
|
|
|
2003-09-02 20:37:12 +02:00
|
|
|
post-extract:
|
|
|
|
@${RM} -f ${WRKSRC}/doc/*.info*
|
|
|
|
|
2004-06-27 20:07:32 +02:00
|
|
|
.include <bsd.port.post.mk>
|