xboard stable port information

Package: xboard
Version: 4.2.7
Revision: 1
Maintainer: Matthias Neeracher
Depends: x11, chess
BuildDepends: texinfo, x11-dev, xmkmf (>= 1.0.2-3)
Source: gnu
Source-Md5: b70ad8ff7569975302c5fb402d5eea32
UpdateConfigGuess: true
PatchScript: <<
perl -pi.bak -e 's|\$\(prefix\)/info|\$\(prefix\)/share/info|' Makefile.in
perl -ni.bak -e '$kill = 2 if /install-info/; print unless $kill-- > 0' Makefile.in
perl -pi.bak -e 'BEGIN(){for(qw(gnuchess sjeng crafty)){$p=$_ if -x "%p/bin/$_"}} s|gnuchessx|$p|;' xboard.h
<<
ConfigureParams: --mandir='$(prefix)/share/man'
DocFiles: COPYING COPYRIGHT FAQ FAQ.html READ_ME ToDo
InfoDocs: xboard.info
Description: X11 based chess playing interface
DescDetail: <<
Xboard allows you to play chess either against a computer, against a human,
or through an internet chess server.
<<
DescPort: <<
Straightforward port, except that xboard misguidedly calls install-info.
<<
License: GPL
Homepage: http://www.tim-mann.org/xboard.html
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 prefix=%i
<<