freebsd-ports/games/vamos/Makefile

55 lines
1.3 KiB
Makefile
Raw Normal View History

# 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
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
BUILD_DEPENDS= ${X11BASE}/lib/libsgmisc.a:${PORTSDIR}/devel/simgear \
${X11BASE}/lib/libplibul.a:${PORTSDIR}/x11-toolkits/plib
LIB_DEPENDS= sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \
glut.3:${PORTSDIR}/graphics/libglut \
png.5:${PORTSDIR}/graphics/png
USE_GNOME= gnometarget lthack
USE_GL= yes
USE_GETOPT_LONG= yes
USE_GMAKE= yes
USE_LIBTOOL_VER=13
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
MAKEINFO="makeinfo --no-split"
INSTALLS_SHLIB= yes
INFO= vamos
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 \
${PTHREAD_LIBS}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= "Does not compile on 4.x (port and dependencies need recent C++ compiler)"
.endif
post-extract:
@${RM} -f ${WRKSRC}/doc/*.info*
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-lsgxml -lsgmisc|-lsgxml -lsgstructure -lsgmisc|g ; \
s|-pedantic||g'
.include <bsd.port.post.mk>