mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
fe54d2a7c7
Approved by: portmgr (self)
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
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= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= nox@jelal.kn-bremen.de
|
|
COMMENT= A 3D motor sport simulator
|
|
|
|
BUILD_DEPENDS= ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
|
|
LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
tcl82.1:${PORTSDIR}/lang/tcl82
|
|
|
|
USE_MESA= YES
|
|
USE_PERL5_BUILD=yes
|
|
USE_AUTOCONF_VER=213
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
|
|
-I${LOCALBASE}/include/tcl8.2 \
|
|
-I${X11BASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
USE_GMAKE= yes
|
|
# for plib (sound):
|
|
CONFIGURE_ARGS+= --with-plib=${X11BASE}/plib
|
|
|
|
MAN6= gracer.6
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 502126
|
|
BROKEN= "Does not compile on FreeBSD >= 5.x"
|
|
.endif
|
|
|
|
pre-patch:
|
|
@${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
|
|
${WRKSRC}/common/gr_memory.h
|
|
|
|
.include <bsd.port.post.mk>
|