1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/games/gracer/Makefile

33 lines
770 B
Makefile

# 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|<malloc.h>|<stdlib.h>|' \
${WRKSRC}/common/gr_memory.h
.include <bsd.port.mk>