blob: 94feaf64debf2caa41791bbe4f9ab67f73299c87 (
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
36
37
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.6 2000/10/15 12:06:35 rh Exp $
#
DISTNAME= xracer-0.96.9
CATEGORIES= games x11
MASTER_SITES= http://xracer.annexia.org/files/
MAINTAINER= bsieker@freenet.de
HOMEPAGE= http://xracer.annexia.org/
DEPENDS+= jpeg-*:../../graphics/jpeg
DEPENDS+= gettext>=0.10.35nb1:../../devel/gettext
USE_X11= # defined
USE_MESA= # defined
USE_GMAKE= # defined
USE_PERL5= # defined
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/XRacer/.packlist
USE_LIBTOOL= # defined
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= # defined
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
CPPFLAGS+= -I${LOCALBASE}/include
CPPFLAGS+= -I${X11BASE}/include
pre-patch:
.for perlfile in blender2track/xracer-blender2track.pl \
mktube/xracer-mktube.pl \
mktrack/xracer-mktrack.pl \
mktrackscenery/xracer-mktrackscenery.pl \
mkcraft/xracer-mkcraft.pl \
mkmeshnotex/xracer-mkmeshnotex.pl
@${CP} ${WRKSRC}/tools/${perlfile} ${WRKSRC}/tools/${perlfile}.BAK
@${SED} 's!/usr/bin/perl!${PERL5}!g' \
< ${WRKSRC}/tools/${perlfile}.BAK > ${WRKSRC}/tools/${perlfile}
@${RM} ${WRKSRC}/tools/${perlfile}.BAK
.endfor
.include "../../mk/bsd.pkg.mk"
|