source: trunk/dports/games/xracer/Portfile @ 1594

Last change on this file since 1594 was 1594, checked in by eric, 18 years ago

Add and use x11prefix.

  • Property svn:eol-style set to native
File size: 3.6 KB
Line 
1PortSystem 1.0
2
3name            xracer
4version         0.96.9
5description     WipeOut clone for OpenGL and X11
6
7long_description XRacer is a Wipeout clone. At the moment it is incomplete, but work is undergoing
8
9maintainers     jkh@opendarwin.org
10categories      x11 games
11platforms       darwin
12master_sites    http://xracer.annexia.org/files/
13checksums       ${distname}${extract.sufx} md5 8daee4a6f7864f37203b4f8db25dfc2d xracer-data.tar.gz md5 167c3e0688ec7a880ccd8fabac48252f
14
15x11prefix       yes
16distfiles       ${distname}${extract.sufx} xracer-data.tar.gz
17patchfiles      patch-configure patch-joystick.c patch-src-Makefile.in \
18                patch-track.c patch-craft.c
19
20depends_lib     lib:libdl.1:dlcompat lib:libjpeg.9:jpeg lib:libglut.3:glut lib:libX11.6:XFree86
21
22configure.env   CPPFLAGS="-I${prefix}/include" LIBS="-L${prefix}/lib"
23configure.post_args   --with-jpeg-libs=/opt/local/lib --with-jpeg-inc=/opt/local/include --disable-nls ppc-netbsd
24
25pre-build {
26        system "cp /usr/bin/glibtool ${worksrcpath}/libtool"
27}
28
29post-install {
30        system "rm -rf ${prefix}/share/xracer/doc"
31        system "mv ${prefix}/doc ${prefix}/share/xracer/doc"
32}
33
34contents \
35        bin/xracer \
36        bin/xracer-blender2track.pl \
37        bin/xracer-blenderexport.py \
38        bin/xracer-mkcraft.pl \
39        bin/xracer-mkmeshnotex.pl \
40        bin/xracer-mktrack.pl \
41        bin/xracer-mktrackscenery.pl \
42        bin/xracer-mktube.pl \
43        man/man6/xracer.6 \
44        share/xracer/doc/xracer-0.96.9/AUTHORS \
45        share/xracer/doc/xracer-0.96.9/faq.html \
46        share/xracer/doc/xracer-0.96.9/faq.txt \
47        share/xracer/doc/xracer-0.96.9/index.html \
48        share/xracer/doc/xracer-0.96.9/README.html \
49        share/xracer/doc/xracer-0.96.9/README.txt \
50        share/xracer/.xracer-data-directory \
51        share/xracer/backdrops/mountains4-alpha.jpg \
52        share/xracer/backdrops/mountains4.jpg \
53        share/xracer/craft/libcraftsimple.0.0.0.dylib \
54        share/xracer/craft/libcraftsimple.a \
55        share/xracer/craft/libcraftsimple.la \
56        share/xracer/flare-textures/Flare1.jpg \
57        share/xracer/flare-textures/Flare2.jpg \
58        share/xracer/flare-textures/Flare3.jpg \
59        share/xracer/flare-textures/Flare4.jpg \
60        share/xracer/flare-textures/Flare5.jpg \
61        share/xracer/flare-textures/Flare6.jpg \
62        share/xracer/flare-textures/Shine0.jpg \
63        share/xracer/flare-textures/Shine1.jpg \
64        share/xracer/flare-textures/Shine2.jpg \
65        share/xracer/flare-textures/Shine3.jpg \
66        share/xracer/flare-textures/Shine4.jpg \
67        share/xracer/flare-textures/Shine5.jpg \
68        share/xracer/flare-textures/Shine6.jpg \
69        share/xracer/flare-textures/Shine7.jpg \
70        share/xracer/flare-textures/Shine8.jpg \
71        share/xracer/flare-textures/Shine9.jpg \
72        share/xracer/fonts/crillee14.jpg \
73        share/xracer/fonts/crillee24.jpg \
74        share/xracer/fonts/crillee36.jpg \
75        share/xracer/fonts/crillee48.jpg \
76        share/xracer/powerups/autopilot-alpha.jpg \
77        share/xracer/powerups/autopilot.jpg \
78        share/xracer/powerups/energy-alpha.jpg \
79        share/xracer/powerups/energy.jpg \
80        share/xracer/powerups/faster-alpha.jpg \
81        share/xracer/powerups/faster.jpg \
82        share/xracer/powerups/shield-alpha.jpg \
83        share/xracer/powerups/shield.jpg \
84        share/xracer/scene-textures/golgotha/5sqtunnelroaddark.jpg \
85        share/xracer/scene-textures/golgotha/buldbrickflr2half.jpg \
86        share/xracer/scene-textures/snow/snow1.jpg \
87        share/xracer/scene-textures/snow/snow2.jpg \
88        share/xracer/scene-textures/snow/snowtex1.jpg \
89        share/xracer/scene-textures/snow/snowtex2.jpg \
90        share/xracer/scene-textures/snow/snowtex3.jpg \
91        share/xracer/scene-textures/start_gantry_green.jpg \
92        share/xracer/sky/clouds2.jpg \
93        share/xracer/track-textures/beestripes1.jpg \
94        share/xracer/track-textures/egyptsandbig.jpg \
95        share/xracer/track-textures/solid_grey.jpg \
96        share/xracer/track-textures/track5.jpg \
97        share/xracer/tracks/libtracksimple2.0.0.0.dylib \
98        share/xracer/tracks/libtracksimple2.a \
99        share/xracer/tracks/libtracksimple2.la
Note: See TracBrowser for help on using the repository browser.