the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: xmahjongg
Version: 3.7
Revision: 2
Maintainer: None
BuildDepends: x11-dev, xmkmf (>= 1.0.2-3)
Depends: x11
Source: http://www.lcdf.org/%n/%n-%v.tar.gz
Source-MD5: 9db5bf1b329b410220b7976cd9b3d374
#Patch: %n.patch
ConfigureParams: --mandir='${prefix}/share/man'
CompileScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
./configure %c
make
<<
InstallScript: <<
make install DESTDIR=%d
mkdir -p %i/share/doc/%n
tail -n 9 README > %i/share/doc/%n/COPYING
<<
DocFiles: NEWS README
Description: X-Windows version of Mah Jongg
DescDetail: <<
Xmahjongg is an X-Windows version of Mah Jongg, where the aim is to remove
all 144 tiles from the board, by matching pairs.
Some features of Xmahjongg are:
* Colourful Mah Jongg tiles.
* Multiple tile sets.
* Undo function.
* A count of matches remaining.
<<
DescPackaging: <<
InstallScript includes 'tail' command to create COPYING file and place it in
correct directory.
ConfigureParams places manpages in correct directories.
Patch adds 'DESTDIR' support for 'install-share' target in Makefile.in file.
Previously maintained by Jeremy Higgs
<<
Homepage: http://www.lcdf.org/xmahjongg/
License: GPL
diff -ru xmahjongg-3.5/Makefile.in xmahjongg-3.5-patched/Makefile.in
--- xmahjongg-3.5/Makefile.in Sun Jul 1 14:15:44 2001
+++ xmahjongg-3.5-patched/Makefile.in Wed Sep 26 17:02:25 2001
@@ -513,13 +513,13 @@
./giftoc -extern -makename -dir $(srcdir) $(IMAGES) > $@
install-share:
- $(mkinstalldirs) $(pkgdatadir)/layouts $(pkgdatadir)/tiles $(pkgdatadir)/backgrounds
+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/layouts $(DESTDIR)$(pkgdatadir)/tiles $(DESTDIR)$(pkgdatadir)/backgrounds
for i in $(LAYOUTS); do \
- $(INSTALL_DATA) $(srcdir)/share/layouts/$$i $(pkgdatadir)/layouts; done
+ $(INSTALL_DATA) $(srcdir)/share/layouts/$$i $(DESTDIR)$(pkgdatadir)/layouts; done
for i in $(TILESETS); do \
- $(INSTALL_DATA) $(srcdir)/share/tiles/$$i $(pkgdatadir)/tiles; done
+ $(INSTALL_DATA) $(srcdir)/share/tiles/$$i $(DESTDIR)$(pkgdatadir)/tiles; done
for i in $(BACKGROUNDS); do \
- $(INSTALL_DATA) $(srcdir)/share/backgrounds/$$i $(pkgdatadir)/backgrounds; done
+ $(INSTALL_DATA) $(srcdir)/share/backgrounds/$$i $(DESTDIR)$(pkgdatadir)/backgrounds; done
install-data-local: install-share
uninstall-local: