ftnchek stable port information

Package: ftnchek
Version: 3.3.1
Revision: 2
Distribution: 10.4, 10.5, 10.6
Architecture: powerpc, i386, x86_64
License: GPL/LGPL
Source: ftp://netlib.org/fortran/ftnchek.tgz
Source-MD5: e1f4ce51ea1a85e7b080ab5d23013f97

SourceDirectory: ftnchek-%v

ConfigureParams: --disable-submodel

InstallScript: <<
#!/bin/sh -ev
# programs
mkdir -p %i/bin
install -m 755 %b/ftnchek %i/bin
strip %i/bin/ftnchek
mkdir -p %i/lib
install -m 644 %b/dcl2inc.awk %i/lib/dcl2inc.awk
install -m 755 %b/dcl2inc %i/bin/dcl2inc
# man pages
mkdir -p %i/share/man/man1
install -m 644 %b/ftnchek.1 %i/share/man/man1/ftnchek.1
install -m 644 %b/dcl2inc.man %i/share/man/man1/dcl2inc.1
# doc
mkdir -p %i/share/doc/%n
mkdir -p %i/share/doc/%n/html
mv %b/LICENSE %i/share/doc/%n
mv %b/README %i/share/doc/%n
mv %b/FAQ %i/share/doc/%n
mv %b/INSTALL %i/share/doc/%n
mv %b/ToDo %i/share/doc/%n
mv %b/PATCHES %i/share/doc/%n
mv %b/ftnchek.ps %i/share/doc/%n
mv %b/dcl2inc.ps %i/share/doc/%n
mv %b/html/* %i/share/doc/%n/html
ln -s html/index.html %i/share/doc/%n/index.html
<<

Description: Fortran source code analyzer

DescDetail: <<
ftnchek is a static analyzer for Fortran 77 programs. It is designed
to detect certain errors in a Fortran program that a compiler usually
does not. ftnchek is not primarily intended to detect syntax errors.
Its purpose is to assist the user in finding semantic errors.
Semantic errors are legal in the Fortran language but are wasteful
or may cause incorrect operation. For example, variables which are
never used may indicate some omission in the program; uninitialized
variables contain garbage which may cause incorrect results to be
calculated; and variables which are not declared may not have the
intended type. ftnchek is intended to assist users in the debugging
of their Fortran program. It is not intended to catch all syntax errors.
This is the function of the compiler. Prior to using ftnchek, the user
should verify that the program compiles correctly.
<<

DescUsage: <<
Usage: ftnchek [-option -option ...] filename [filename ...]
"ftnchek --help" gives a brief list of commandline options
<<

DescPort: <<
The submodel optimization is disabled in configure. Otherwise the
resulting -march i686 option for gcc causes trouble on 10.6.

The Makefile contains some rm, which are unnecessary for fink and
prevent validation. Therefore, the programs, the man pages and
the documentation are installed explicitly.
Installation of emacs modules is missing for now. Too much work.
<<

Homepage: http://www.dsm.fordham.edu/~ftnchek

Maintainer: Karl-Michael Schindler