the Fink project is an effort to port
popular Unix programs to Mac OS X
# DISCLAIMER: Max Horn is the sole maintainer of this package.
# Please DO NOT MAKE MODIFICATIONS without informing the maintainer.
# Preferably, send a patch to me instead of making changes yourself!
# If that is not possible due to extra urgency, at least send me a mail.
#
# Explanation: I am sick and tired of getting back to my packages and
# discovering that people have messed with it. I am then forced to
# retrace their steps, find out who, when and why did make a certain
# change etc. -- i.e. it makes my life as maintainer harder.
# Furthermore, as maintainer I am responsible for problems caused by my
# packages. But I am not willing to take responsibility for something I
# did not do. In particular, for changes that other people introduced
# behind my back, no matter how good and noble their intentions were. As
# such, I may see myself forced to drop responsibility for (and hence,
# maintainership of) the affected package.
Package: xgalaga
Version: 2.0.34
Revision: 11
Maintainer: Max Horn
BuildDepends: x11-dev, xmkmf (>= 1.0.2-3), fink (>= 0.24.12-1)
Depends: x11
Source: mirror:debian:pool/main/x/xgalaga/xgalaga_%v.orig.tar.gz
Source-MD5: 9f7ee685e9c4741b5f0edc3f91df9510
SourceDirectory: %n-%v
UpdateConfigGuess: true
PatchFile: %n.patch
PatchFile-MD5: 416fc8096a95a128fd108e3a5fce6321
CompileScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
./configure --prefix=%p/share/xgalaga --exec-prefix=%p/bin
make
<<
InstallScript: <<
make install prefix=%i/share/xgalaga exec_prefix=%i/bin
<<
DocFiles: CHANGES COPYING README README.SOUND
Description: Clone of the classic game of galaga
DescPackaging: <<
Misuses configure heavily, which requires some "cheating" from our side.
Contains compatibility fixes for Tiger / GCC 4.0 (thanks to Matthew Sachs).
<<
Homepage: http://sourceforge.net/projects/xgalaga/
License: GPL
diff -ru -x *~ xgalaga-2.0.34/Makefile.in xgalaga-2.0.34-patched/Makefile.in
--- xgalaga-2.0.34/Makefile.in Mon May 11 08:52:59 1998
+++ xgalaga-2.0.34-patched/Makefile.in Sat Oct 6 20:31:45 2001
@@ -46,7 +46,6 @@
./mkinstalldirs $(bindir)
./mkinstalldirs $(prefix)
$(INSTALL) $(TARGET) $(bindir)/$(TARGET)
- $(INSTALL) $(SOUNDSRV) $(prefix)/$(SOUNDSRV)
./mkinstalldirs $(prefix)/sounds
./mkinstalldirs $(prefix)/levels
for i in levels/*.xgl; do $(INSTALL) $$i $(prefix)/$$i ; done
diff -ur xgalaga-2.0.34.bak/data.h xgalaga-2.0.34/data.h
--- xgalaga-2.0.34.bak/data.h 1998-05-10 23:37:19.000000000 -0700
+++ xgalaga-2.0.34/data.h 2005-06-13 17:11:55.000000000 -0700
@@ -1,4 +1,5 @@
#include "Wlib.h"
+#include "struct.h"
extern W_Window gal, baseWin;
diff -ur xgalaga-2.0.34.bak/libsprite/data.h xgalaga-2.0.34/libsprite/data.h
--- xgalaga-2.0.34.bak/libsprite/data.h 1998-04-11 23:03:22.000000000 -0700
+++ xgalaga-2.0.34/libsprite/data.h 2005-06-13 17:11:26.000000000 -0700
@@ -20,6 +20,7 @@
#include "Wlib.h"
#include "defs.h"
+#include "struct.h"
extern int nplanes;
extern int xpmORplanes ;
diff -ur xgalaga-2.0.34.bak/struct.h xgalaga-2.0.34/struct.h
--- xgalaga-2.0.34.bak/struct.h 1998-04-11 23:03:21.000000000 -0700
+++ xgalaga-2.0.34/struct.h 2005-06-13 17:12:18.000000000 -0700
@@ -1,3 +1,6 @@
+#ifndef __STRUCT_H
+#define __STRUCT_H
+
#include "Wlib.h"
struct torp {
@@ -38,3 +41,5 @@
int count;
W_Image *shape;
};
+
+#endif