moria _unstable_ port information

Package: moria
Version: 5.5.2
Revision: 4
BuildDepends: libncurses5
Depends: libncurses5-shlibs, passwd
License: GPL
Maintainer: James Gibbs
Source: mirror:custom:source/um%v.tar.Z
SourceDirectory: umoria
Source-MD5: 04a2852864302c702e82992023d97184
CustomMirror: <<
# nam-US: ftp://ftp.greyhelm.com/pub/Games/Moria/
nam-US: http://www.piratehaven.org/~beej/moria/mirror/Games/Moria/
eur-SE: http://www.funet.fi/pub/unix/games/moria/
oce-AU: http://www.planetmirror.com/pub/roguelike/moria/
<<
PatchScript: <<
sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
cp -Rp unix/* source/
perl -ni -e 'print unless / (get[ug]id|lseek)\(\);/' source/main.c source/unix.c source/death.c
# perl -ni -e 'print unless /void sleep\(\);/' source/main.c source/signals.c source/io.c
# perl -ni -e 'print unless s/char \*getenv\(\);' source/io.c

<<
SetCPPFLAGS: -Wall
CompileScript: cd source && make LFLAGS="-L%p/lib"
InstallScript: <<
mkdir -p -m 0755 %i/var/games/%n/files/
cp files/{hours,news,*.hlp} %i/var/games/%n/files/
/usr/bin/install -o games -m 0644 files/scores %i/var/games/%n/files/

mkdir -p -m 0755 %i/bin/
/usr/bin/install -o games -m 4511 source/moria %i/bin/

mkdir -p -m 0755 %i/share/doc/%n/doc/
cp -Rp doc/* %i/share/doc/%n/doc/

mkdir -p -m 0755 %i/share/man/man6/
cp doc/moria.6 %i/share/man/man6/
<<
DocFiles: OCHANGES OOCHANGES CHANGES.~1~ CHANGES ERRORS INSTALL README
ConfFiles: %p/var/games/%n/files/scores
Description: Terminal-based dungeon exploration game
DescDetail: <<
Moria is a "graphical" dungeon adventure game using textual characters
to represent the walls and floors of a dungeon and the inhabitants therein,
in the vein of "rogue", "hack", "nethack", "angband", and "t.o.m.e.".
<<
DescPort: <<
Add lots of missing #include. Don't define things that exist in the system.
<<
Homepage: http://www.piratehaven.org/~beej/moria/