# Created by: nox@jelal.kn-bremen.de # $FreeBSD$ PORTNAME= gracer PORTVERSION= 0.1.5 PORTREVISION= 14 CATEGORIES= games MASTER_SITES= SF MAINTAINER= nox@FreeBSD.org COMMENT= 3D motor sport simulator BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \ libpng15.so:${PORTSDIR}/graphics/png \ libjpeg.so:${PORTSDIR}/graphics/jpeg USE_GL= glut USES= gmake perl5 tcl:84 USE_PERL5= build USE_AUTOTOOLS= autoconf213 CPPFLAGS+= -I${LOCALBASE}/include \ -I${TCL_INCLUDEDIR} LIBS+= -L${LOCALBASE}/lib # for plib (sound): CONFIGURE_ARGS+= --with-plib=${LOCALBASE}/plib pre-patch: @${REINPLACE_CMD} -i '' -e 's|||' \ ${WRKSRC}/common/gr_memory.h .include