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
|
2004-06-25 07:31:17 +02:00
|
|
|
PORTVERSION= 0.5.0
|
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
|
|
|
|
2003-05-02 08:02:47 +02:00
|
|
|
BUILD_DEPENDS= ${X11BASE}/lib/libsgmisc.a:${PORTSDIR}/devel/simgear \
|
|
|
|
${X11BASE}/lib/libplibul.a:${PORTSDIR}/x11-toolkits/plib
|
2003-09-19 08:12:27 +02:00
|
|
|
LIB_DEPENDS= 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
|
|
|
|
2004-01-26 21:02:17 +01:00
|
|
|
USE_GNOME= gnometarget lthack
|
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-03-14 07:17:56 +01:00
|
|
|
USE_LIBTOOL_VER=13
|
2003-09-02 20:37:12 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
|
|
|
|
MAKEINFO="makeinfo --no-split"
|
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*
|
|
|
|
|
2003-07-24 21:56:25 +02:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
2003-12-17 17:46:45 +01:00
|
|
|
's|-lsgxml -lsgmisc|-lsgxml -lsgstructure -lsgmisc|g ; \
|
|
|
|
s|-pedantic||g'
|
2003-07-24 21:56:25 +02:00
|
|
|
|
2004-06-27 20:07:32 +02:00
|
|
|
.include <bsd.port.post.mk>
|