1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/gracer/Makefile
Juergen Lock de0c514e7c - Switch to USES= gmake tcl:84. (newer tcl versions cause crashes)
- Remove shlib major versions from LIB_DEPENDS.
- Don't add CPPFLAGS to CONFIGURE_ENV a second time.
- Remove indefinite article from COMMENT.
- Bump PORTREVISION.

Submitted by:	beefy1 via pkg-fallout
2013-09-27 16:36:58 +00:00

38 lines
830 B
Makefile

# Created by: nox@jelal.kn-bremen.de
# $FreeBSD$
PORTNAME= gracer
PORTVERSION= 0.1.5
PORTREVISION= 13
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= gif:${PORTSDIR}/graphics/giflib \
png15:${PORTSDIR}/graphics/png \
jpeg:${PORTSDIR}/graphics/jpeg
USE_GL= glut
USES= gmake perl5 tcl:84
USE_PERL5= build
USE_AUTOTOOLS= autoconf213
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include \
-I${TCL_INCLUDEDIR}
NO_STAGE= yes
# for plib (sound):
CONFIGURE_ARGS+= --with-plib=${LOCALBASE}/plib
MAN6= gracer.6
.include <bsd.port.pre.mk>
pre-patch:
@${REINPLACE_CMD} -i '' -e 's|<malloc.h>|<stdlib.h>|' \
${WRKSRC}/common/gr_memory.h
.include <bsd.port.post.mk>