Package: mtools
Version: 3.9.10
Revision: 1
Maintainer: None <fink-devel@lists.sourceforge.net>
Source: http://%n.linux.lu/%n-%v.tar.bz2
Source-MD5: 0d0eb50a52eaf2e1921e1a61bab09be7
Patch: %n.patch
PatchScript: <<
  perl -pi -e 's,/usr/local/etc,%p/etc,g' mtools.texi mtools.5
  perl -pi -e 's,/etc/mtools.conf,%p\1,g' mtools.1
  rm -f getopt.h
<<
BuildDepends: x11-dev
Depends: x11
ConfigureParams: --mandir=%i/share/man --infodir=%i/share/info
InstallScript: <<
make install prefix=%i
mkdir -p %i/etc
cp mtools.conf %i/etc
<<
DocFiles: Changelog COPYING README Release.notes
ConfFiles: %p/etc/mtools.conf
InfoDocs: mtools.info 
Description: Collection of tools to manipulate MSDOS files
DescDetail: <<
 Mtools is a collection of programs to allow unix systems to read, write,
and manipulate files on an MSDOS filesystem. Each program attempts to
emulate the MSDOS eqivalent command as closely as practical.
<<
DescPackaging: <<
 Originally packaged by Matt Stephenson.

 dmacks: patched to use fink-installed conf file (and adjusted docs
 accordingly).
<<
DescPort: <<
 There are darwin-versioned and CPU-dependent -D flags determined in
 configure and passed via Makefile, but none of the values we get have
 any effect.

 Patch out the #define Free() that is the same as in <net/radix.h>

 Use system's real getopt.h, not pkg's own lobotomized one.
<<
License: GPL
Homepage: http://mtools.linux.lu