1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Import of ftnchek, a lint-like program for Fortran 77.

PR:		6517
Submitted by:	Steven G. Kargl <kargl@troutmask.apl.washington.edu>
This commit is contained in:
Matthew Hunt 1998-05-05 05:07:48 +00:00
parent 96a0997a9a
commit f5f39766c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10853
5 changed files with 43 additions and 0 deletions

25
devel/ftnchek/Makefile Normal file
View File

@ -0,0 +1,25 @@
# New ports collection makefile for: ftnchek
# Version required: 2.9.5
# Date created: 4 May 1998
# Whom: kargl@apl.washington.edu
#
# $Id$
DISTNAME= ftnchek
PKGNAME= ftnchek-2.9.5
CATEGORIES= devel
MASTER_SITES= ftp://ftp.netlib.org/fortran/
MAINTAINER= kargl@apl.washington.edu
WRKSRC= ${WRKDIR}/ftnchek-2.9.5
MAN1= ftnchek.1
post-extract:
${CP} ${FILESDIR}/Makefile ${WRKSRC}
post-install:
strip ${PREFIX}/bin/ftnchek
.include <bsd.port.mk>

1
devel/ftnchek/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (ftnchek.tar.gz) = 0338b8030bfb00f736f815c033543076

View File

@ -0,0 +1 @@
Fortran 77 semantic checking utility.

12
devel/ftnchek/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
ftnchek (short for Fortran checker) is designed to detect certain errors
in a Fortran 77 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
77 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 77 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.

4
devel/ftnchek/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
bin/ftnchek
lib/ftnchek/dcl2inc.awk
man/man1/ftnchek.1.gz
@dirrm lib/ftnchek