floppy stable port information

Package: floppy
Version: 7.0
Revision: 4
Description: Fortran source code analyzer
Architecture: powerpc, i386, x86_64
Provides: floppy
Recommends: flow
BuildDepends: g77 | g95 | gcc42 | gcc43 | gcc44 | gcc45
License: OSI-Approved

# Unpack Phase:
Source: http://www.netlib.org/floppy/floppy7.tgz
Source-MD5: d6b18299d2be71e9fa25a8046cdd530c
NoSourceDirectory: true

PatchScript: <<
#!/bin/sh -ev
# newer fortrans have a function range. Rename it.
sed -i.bak 's|RANGE|EGNAR|g' range.for procom.for settyp.for

# replace f77 by g95 or gfortran if available
# this is poor fortran man's configure
if [ -f %p/bin/gfortran ]; then
sed -i.bak 's|f77|gfortran|g' makefile
elif [ -f %p/bin/g95 ]; then
sed -i.bak 's|f77|g95|g' makefile
fi
<<

# Compile Phase (NOTE: there is no configure):
CompileScript: <<
#!/bin/sh -ev
make
<<

# Install Phase:
DocFiles: aaareadme copyright floppy.ps readme contents.html

InstallScript: <<
#!/bin/sh -ev
# programs
mkdir -p %i/bin
install -m 755 %b/floppy %i/bin
strip %i/bin/floppy
# man pages
mkdir -p %i/share/man/manl
install -m 644 %b/floppy.l %i/share/man/manl/floppy.l
<<

DescDetail: <<
FLOPPY is a software tool that takes as input a file of FORTRAN
77 code and checks it according to various "coding conventions".
Floppy can "tidy" the source FORTRAN, producing a new file with
indented DO-loops, block IF-s, and so on. Floppy can be used to
generate HTML from the Fortran program. In this case, a new file
is written where each module and include file name in the source
Fortran is replaced by an HTML Anchor. The format of the source
is preserved when the document is browsed by an HTML browser.
FLOPPY can also be used to write a binary summary file which is
then used as input to the FLOW program.
<<

DescUsage: <<
Floppy operates on a single input file of Fortran code. floppy [-l]
[-c checks] [-f] [-o old] [-i names] [-j number] [-F] [-G] [-r start,step]
[-s start,step] [-n new] [-t] [-H dictionary] [-A] [file]
<<

DescPort: <<
Nothing so far
<<

Homepage: http://www.netlib.org/floppy/
Maintainer: Karl-Michael Schindler