the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: xpilot
Version: 4.5.4
Revision: 2
Source: mirror:custom:%n-%v.tar.gz
CustomMirror: <<
Primary: ftp://ftp.xpilot.org/pub/xpilot/
Secondary: ftp://ftp.xpilot.org/pub/xpilot/old/
<<
Source-MD5: f2774fda5938629001ed65a311554c01
BuildDepends: x11-dev, xmkmf (>= 1.0.2-3), fink (>= 0.24.12)
Depends: x11
PatchFile: %n.patch
PatchFile-MD5: 12429697d35bf669ae004fa8e204216a
PatchScript: sed 's:@PREFIX@:%p:g' <%{PatchFile} | patch -p1
CompileScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
export IMAKEINCLUDE=-I%p/lib/X11/config
xmkmf -a
make
<<
InstallScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
export IMAKEINCLUDE=-I%p/lib/X11/config
make install DESTDIR=%d INSTALLFLAGS=-c
make install.man DESTDIR=%d MANPATH=%p/share/man DOCDIR=%p/share/doc/%n INSTALLFLAGS=-c
<<
DocFiles: README.txt LICENSE doc/FAQ doc/CREDITS doc/README.* doc/TODO
Description: Multi-player 2D space game
DescDetail: <<
Some features are borrowed from classics like the Atari coin-ups Asteroids
and Gravitar,
and the home-computer games Thrust (Commodore 64) and Gravity Force
(Commodore Amiga),
but XPilot has many new aspects too.
<<
DescUsage: <<
To try a local game, do:
"xpilots &; xpilot -join 127.0.0.1" (to run a local server, and join it)
Or, to play on the net, just run "xpilot" and click Internet.
Basic keys: shift to accelerate, enter to shoot, A-D to turn left and right.
(see help+manpage for more)
<<
DescPackaging: <<
Download server is extremely slow here, it would be good to find another
mirror.
<<
License: GPL
Maintainer: Ben Hines
Homepage: http://www.xpilot.org/
--- xpilot-4.5.3/Local.config Sun Apr 21 13:42:12 2002
+++ xpilot-4.5.3-patched/Local.config Sun Jun 2 12:16:33 2002
@@ -36,12 +36,12 @@
#define LocalGuru xpilot@xpilot.org /* The one to contact for problems */
#endif /* LocalGuru */
-PREFIX = /usr/local
+PREFIX = @PREFIX@
/* Manual pages for games usually go to section 6. */
MANSUFFIX = 6
-INSTMANDIR = $(PREFIX)/man/man$(MANSUFFIX)
-INSTLIBDIR = $(PREFIX)/lib/xpilot
+INSTMANDIR = $(PREFIX)/share/man/man$(MANSUFFIX)
+INSTLIBDIR = $(PREFIX)/share/xpilot
INSTBINDIR = $(PREFIX)/bin
/* #define Log /* Try to log every server start to log file */