Index: head/devel/ftnchek/Makefile =================================================================== --- head/devel/ftnchek/Makefile (revision 517640) +++ head/devel/ftnchek/Makefile (revision 517641) @@ -1,22 +1,23 @@ # Created by: kargl@apl.washington.edu # $FreeBSD$ PORTNAME= ftnchek PORTVERSION= 3.3.1 CATEGORIES= devel MASTER_SITES= SUNSITE/devel/lang/fortran \ http://www.dsm.fordham.edu/~ftnchek/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Fortran 77 semantic checking utility LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE PORTSCOUT= skipv:3.3.a,3.3.b,3.3.c GNU_CONFIGURE= yes CONFIGURE_ARGS= --libdir=${PREFIX}/share CONFIGURE_ENV= ac_cv_path_CC="${CC}" ac_cv_path_EMACS="${TRUE}" MAKE_ARGS= OPT="${CFLAGS}" .include Index: head/devel/ftnchek/files/patch-Makefile.in =================================================================== --- head/devel/ftnchek/files/patch-Makefile.in (revision 517640) +++ head/devel/ftnchek/files/patch-Makefile.in (revision 517641) @@ -1,76 +1,76 @@ ---- Makefile.in.orig 2014-06-14 22:09:43.102302676 +0800 -+++ Makefile.in 2014-06-14 22:11:35.750296619 +0800 +--- Makefile.in.orig 2004-11-14 15:52:12 UTC ++++ Makefile.in @@ -491,31 +491,31 @@ average.out: ftnchek.h install: install-exe @INSTALL_MAN@ install-lisp install-exe: ftnchek$(EXE) dcl2inc$(CMD) - -$(RM) $(bindir)/ftnchek$(EXE) - -$(MKDIR) -p $(bindir) - $(CP) ftnchek$(EXE) $(bindir) - -$(STRIP) $(bindir)/ftnchek$(EXE) - $(CHMOD) 755 $(bindir)/ftnchek$(EXE) - -$(MKDIR) -p $(libdir) - $(CP) dcl2inc.awk $(libdir)/dcl2inc.awk - $(CHMOD) 644 $(libdir)/dcl2inc.awk - $(CP) dcl2inc$(CMD) $(bindir)/dcl2inc$(CMD) - $(CHMOD) 755 $(bindir)/dcl2inc$(CMD) - -$(RM) $(bindir)/fcl2vcg + -$(RM) $(DESTDIR)$(bindir)/ftnchek$(EXE) + -$(MKDIR) -p $(DESTDIR)$(bindir) + $(CP) ftnchek$(EXE) $(DESTDIR)$(bindir) + -$(STRIP) $(DESTDIR)$(bindir)/ftnchek$(EXE) + $(CHMOD) 755 $(DESTDIR)$(bindir)/ftnchek$(EXE) + -$(MKDIR) -p $(DESTDIR)$(libdir) + $(CP) dcl2inc.awk $(DESTDIR)$(libdir)/dcl2inc.awk + $(CHMOD) 644 $(DESTDIR)$(libdir)/dcl2inc.awk + $(CP) dcl2inc$(CMD) $(DESTDIR)$(bindir)/dcl2inc$(CMD) + $(CHMOD) 755 $(DESTDIR)$(bindir)/dcl2inc$(CMD) + -$(RM) $(DESTDIR)$(bindir)/fcl2vcg # Install man pages, taking care to remove old formatted ones, because # many man implentations fail to compare time stamps of raw and # formatted files, and will show out-of-date formatted files. install-man: ftnchek$(manext) - -$(MKDIR) -p $(mandir)/man1 - $(CP) dcl2inc.man $(mandir)/man1/dcl2inc$(manext) - -$(RM) $(mandir)/cat1/dcl2inc$(manext) - $(CHMOD) 644 $(mandir)/man1/dcl2inc$(manext) - $(CP) ftnchek$(manext) $(mandir)/man1/ftnchek$(manext) - -$(RM) $(mandir)/cat1/ftnchek$(manext) - $(CHMOD) 644 $(mandir)/man1/ftnchek$(manext) - -$(RM) $(mandir)/man1/fcl2vcg$(manext) - -$(RM) $(mandir)/cat1/fcl2vcg$(manext) + -$(MKDIR) -p $(DESTDIR)$(mandir)/man1 + $(CP) dcl2inc.man $(DESTDIR)$(mandir)/man1/dcl2inc$(manext) + -$(RM) $(DESTDIR)$(mandir)/cat1/dcl2inc$(manext) + $(CHMOD) 644 $(DESTDIR)$(mandir)/man1/dcl2inc$(manext) + $(CP) ftnchek$(manext) $(DESTDIR)$(mandir)/man1/ftnchek$(manext) + -$(RM) $(DESTDIR)$(mandir)/cat1/ftnchek$(manext) + $(CHMOD) 644 $(DESTDIR)$(mandir)/man1/ftnchek$(manext) + -$(RM) $(DESTDIR)$(mandir)/man1/fcl2vcg$(manext) + -$(RM) $(DESTDIR)$(mandir)/cat1/fcl2vcg$(manext) # IRIX uses pre-formatted, packed man pages and nroff is not bundled with it. install-man-sgi: catman @@ -558,16 +558,16 @@ catman: dcl2inc.cat ftnchek.cat # The emacs lisp file will be installed only if lispdir exists. It will # be byte-compiled if emacs is present. install-lisp: - @if test -d "$(lispdir)" ; \ + @if test -d "$(DESTDIR)$(lispdir)" ; \ then \ - echo $(CP) ftnchek.el $(lispdir)/ftnchek.el ; \ - if $(CP) ftnchek.el $(lispdir)/ftnchek.el ; \ + echo $(CP) ftnchek.el $(DESTDIR)$(lispdir)/ftnchek.el ; \ + if $(CP) ftnchek.el $(DESTDIR)$(lispdir)/ftnchek.el ; \ then \ if test -x "$(EMACS)" ; \ then \ - $(EMACS) -batch -f batch-byte-compile $(lispdir)/ftnchek.el ; \ + $(EMACS) -batch -f batch-byte-compile $(DESTDIR)$(lispdir)/ftnchek.el ; \ else \ - echo "If desired, use emacs to byte-compile $(lispdir)/ftnchek.el"; \ + echo "If desired, use emacs to byte-compile $(DESTDIR)$(lispdir)/ftnchek.el"; \ fi \ fi \ else \ Index: head/devel/ftnchek/pkg-descr =================================================================== --- head/devel/ftnchek/pkg-descr (revision 517640) +++ head/devel/ftnchek/pkg-descr (revision 517641) @@ -1,14 +1,14 @@ 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. -WWW: http://www.dsm.fordham.edu/~ftnchek/ +WWW: https://www.dsm.fordham.edu/~ftnchek/