summaryrefslogtreecommitdiff
path: root/games/xracer/Makefile
diff options
context:
space:
mode:
authorrh <rh>2000-05-29 06:36:00 +0000
committerrh <rh>2000-05-29 06:36:00 +0000
commitbc5b49442d8c80ed3f21f39f0bb4012c15f2a820 (patch)
tree7829da235a49f38ddda33a0586d55bba3a46493f /games/xracer/Makefile
parentfe8fc3e12b316a8ed8b2071c120988685154b6c6 (diff)
downloadpkgsrc-bc5b49442d8c80ed3f21f39f0bb4012c15f2a820.tar.gz
Initial import of xracer-0.96.9, a clone of the popular Psygnosis game
Wipeout, as provided in PR 10217 by Bernd Sieker.
Diffstat (limited to 'games/xracer/Makefile')
-rw-r--r--games/xracer/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/games/xracer/Makefile b/games/xracer/Makefile
new file mode 100644
index 00000000000..ee9ec33462c
--- /dev/null
+++ b/games/xracer/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/05/29 06:36:00 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+= perl-*:../../lang/perl5
+DEPENDS+= Mesa-*:../../graphics/Mesa
+DEPENDS+= mpeg-*:../../graphics/mpeg-lib
+DEPENDS+= jpeg>=6:../../graphics/jpeg
+
+USE_X11= YES
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
+CONFIGURE_ENV+= LDFLAGS="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -lintl"
+
+USE_LIBTOOL= YES
+LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig
+
+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!${LOCALBASE}/bin/perl!g' \
+ < ${WRKSRC}/tools/${perlfile}.BAK > ${WRKSRC}/tools/${perlfile}
+ @${RM} ${WRKSRC}/tools/${perlfile}.BAK
+.endfor
+
+.include "../../mk/bsd.pkg.mk"