1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/games/gracer/Makefile
Juergen Lock 946a9c012b - Depend on tcl 8.4 instead of 8.2 since the latter is going to be removed
from ports
- Bump PORTREVISION

PR:		ports/130877
Submitted by:	mm
2009-01-24 19:34:06 +00:00

43 lines
1023 B
Makefile

# New ports collection makefile for: gracer
# Date created: Fri Jul 30 20:50:16 MET DST 1999
# Whom: nox@jelal.kn-bremen.de
#
# $FreeBSD$
#
PORTNAME= gracer
PORTVERSION= 0.1.5
PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= nox@FreeBSD.org
COMMENT= A 3D motor sport simulator
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg \
tcl84.1:${PORTSDIR}/lang/tcl84
USE_GL= glut
USE_PERL5_BUILD=yes
USE_AUTOTOOLS= autoconf:213
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/tcl8.4 \
-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${LOCALBASE}/lib"
USE_GMAKE= yes
# for plib (sound):
CONFIGURE_ARGS+= --with-plib=${LOCALBASE}/plib
MAN6= gracer.6
.include <bsd.port.pre.mk>
pre-patch:
@${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/common/gr_memory.h
.include <bsd.port.post.mk>