mgv stable port information

Package: mgv
Version: 3.1.5
Revision: 1
Description: Motif PostScript viewer based on Ghostview
Depends: x11-shlibs, openmotif3-shlibs, ghostscript
BuildDepends: x11-dev, openmotif3
License: GPL
Source: http://www.netsw.org/graphic/postscript/interpreter/%n/%n-%v.tar.gz
Source-MD5: 6c67fcd284f29e7b50352d5d7e504232
PatchScript: <<
%{default_script}
perl -pi -e "s|(#include )|#include \n\1|" wlib/wlib/sanity.h
perl -pi -e "s|(HAVE_PUTENV) 0|\1 1|" configure
<<
SetCPPFLAGS: -I/usr/X11R6/include
ConfigureParams: --mandir='${prefix}/share/man' --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --with-motif-includes=%p/include --with-motif-libraries=%p/lib
InstallScript: <<
make install DESTDIR=%d

mkdir -p %i/share/doc/%n
mv doc %i/share/doc/%n/html
<<
DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README
Maintainer: Todai Fink Team
Homepage: http://www.trends.net/~mu/mgv.html