blob: 534f610943cde55d26f824617cda30a65ac62e4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: nox@jelal.kn-bremen.de
# $FreeBSD$
PORTNAME= gracer
PORTVERSION= 0.1.5
PORTREVISION= 20
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D motor sport simulator
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \
libpng.so:${PORTSDIR}/graphics/png
USE_GL= glut
USES= gmake jpeg localbase perl5 tcl:84
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-plib=${LOCALBASE}
CPPFLAGS+= -I${TCL_INCLUDEDIR}
post-patch:
@${REINPLACE_CMD} -i '' -e 's|<malloc.h>|<stdlib.h>|' \
${WRKSRC}/common/gr_memory.h
@${REINPLACE_CMD} \
-e 's|lib/tclConfig.sh|lib/tcl${TCL_VER}/tclConfig.sh|' \
-e '/SOUND_LIBS=/s/"$$/ -lplibul"/' \
${WRKSRC}/configure
.include <bsd.port.mk>
|