75b50e11df
Only include Mesa/buildlink2.mk if the package requires all three of MesaLib, glu and glut - else only include the necessary buildlink2s.
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.25 2003/03/09 19:46:54 jschauma Exp $
|
|
#
|
|
|
|
DISTNAME= xracer-0.96.9
|
|
PKGREVISION= 1
|
|
CATEGORIES= games x11
|
|
MASTER_SITES= http://xracer.annexia.org/files/
|
|
|
|
MAINTAINER= bsieker@freenet.de
|
|
HOMEPAGE= http://xracer.annexia.org/
|
|
COMMENT= XRacer is a clone of the popular Psygnosis game Wipeout
|
|
|
|
BUILD_USES_MSGFMT= # defined
|
|
|
|
USE_BUILDLINK2= # defined
|
|
USE_X11= # defined
|
|
USE_GMAKE= # defined
|
|
USE_PERL5= # defined
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/XRacer/.packlist
|
|
|
|
USE_LIBTOOL= # defined
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
|
|
|
GNU_CONFIGURE= # defined
|
|
AUTOMAKE_REQD= 1.4
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && ${AUTOMAKE} --gnu && ${AUTOCONF}
|
|
|
|
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 "../../devel/gettext-lib/buildlink2.mk"
|
|
.include "../../graphics/Mesa/buildlink2.mk"
|
|
.include "../../graphics/jpeg/buildlink2.mk"
|
|
.include "../../mk/automake.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|