the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: xinvaders
Version: 2.1.2
Revision: 6
Architecture: i386, powerpc
Maintainer: None
BuildDepends: libgettext3-dev, gettext-bin, gettext-tools, x11-dev, fink (>= 0.24.12-1), xmkmf (>= 1.0.2-3)
Depends: x11, passwd-games, libgettext3-shlibs
Source: mirror:debian:pool/non-free/x/%n/%n_%v.tar.gz
Source-MD5: 0c0677071cc4558e8412abc965c7d707
SourceDirectory: %n-%v
PatchFile: %n.patch
PatchFile-MD5: 9383cf861e7dec809ca3833fcc823be2
UpdatePoMakefile: true
ConfigureParams: --mandir=%p/share/man --localstatedir=%p/var/games
CompileScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
export IMAKEINCLUDE=-I%p/lib/X11/config
./configure %c
make
<<
InstallScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
export IMAKEINCLUDE=-I%p/lib/X11/config
make install DESTDIR=%d
<<
DocFiles: README
PostInstScript: <<
chgrp games %p/var/games/%n
chmod 0660 %p/var/games/%n
chgrp games %p/bin/%n
chmod g+s %p/bin/%n
<<
ConfFiles: %p/var/games/xinvaders
Description: Space Invaders clone for X
DescUsage: <<
To start the game type "xinvaders" at the command prompt. Use the spacebar
to fire and the comma and fullstop keys to move left and right.
<<
DescPort: <<
Small patch to include a missing library at linking and to ensure the
xinvaders application installs in the correct place.
<<
DescPackaging: <<
Listed under a restrictive license but binaries can be distributed. For
for more infomation on legal/distribution details please refer to the
document 'README' installed in yourfinkdirectory/share/doc/xinvaders.
Originally packaged by Matt Stephenson.
<<
License: Restrictive/Distributable
--- xinvaders-2.1.2/Makefile.in 2000-09-18 05:51:02.000000000 +1100
+++ xinvaders-2.1.2-patched/Makefile.in 2002-08-22 11:23:53.000000000 +1000
@@ -91,7 +91,7 @@
SUBDIRS = intl po
EXTRA_DIST = debian Vaders xinvaders.6 icon.xpm xinvaders.lsm
-execgamesdir = $(prefix)/games
+execgamesdir = $(prefix)/bin
execgames_PROGRAMS = xinvaders
xinvaders_SOURCES = base.c main.c score.c shot.c spacers.c vaders.c widget.c me.h patchlevel.h vaders.h base1.bit base2.bit explode1.bit explode2.bit spacer1.bit spacer2.bit sperma1.bit sperma2.bit spermb1.bit spermb2.bit vader1a1.bit vader1a2.bit vader1b1.bit vader1b2.bit vader2a1.bit vader2a2.bit vader2b1.bit vader2b2.bit vader3a1.bit vader3a2.bit vader3b1.bit vader3b2.bit vexplod1.bit vexplod2.bit
@@ -107,7 +107,7 @@
DEFS = @DEFS@ -I. -I$(srcdir) -I.
CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@
+LDFLAGS = @LDFLAGS@ -lintl
LIBS = @LIBS@
X_CFLAGS = @X_CFLAGS@
X_LIBS = @X_LIBS@
@@ -549,12 +549,8 @@
install-data-local:
mkdir -p $(shell dirname $(DESTDIR)$(SCOREFILE) )
echo 0 > $(DESTDIR)$(SCOREFILE)
- chgrp games $(DESTDIR)$(SCOREFILE)
- chmod 0660 $(DESTDIR)$(SCOREFILE)
install-exec-local:
- chgrp games $(DESTDIR)$(execgamesdir)/xinvaders
- chmod g+s $(DESTDIR)$(execgamesdir)/xinvaders
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.