summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/ftnchek/Makefile27
-rw-r--r--devel/ftnchek/files/md54
-rw-r--r--devel/ftnchek/files/patch-sum4
-rw-r--r--devel/ftnchek/patches/patch-aa52
4 files changed, 41 insertions, 46 deletions
diff --git a/devel/ftnchek/Makefile b/devel/ftnchek/Makefile
index f61379be3d4..b6e0db74d54 100644
--- a/devel/ftnchek/Makefile
+++ b/devel/ftnchek/Makefile
@@ -1,21 +1,18 @@
-# $NetBSD: Makefile,v 1.3 2001/02/16 14:38:24 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.4 2001/03/15 23:48:22 jtb Exp $
-DISTNAME= ftnchek
-PKGNAME= ftnchek-3.0.0
-CATEGORIES= devel
-MASTER_SITES= ftp://ftp.netlib.org/fortran/ \
- ftp://netlib.bell-labs.com/netlib/fortran/ \
- ftp://www.hensa.ac.uk/mirrors/netlib/fortran/
-EXTRACT_SUFX= .tgz
+DISTNAME= ftnchek-3.0.3
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SUNSITE:=devel/lang/fortran/}
-MAINTAINER= jasontd@indigo.ie
-HOMEPAGE= http://www.dsm.fordham.edu/~ftnchek
-COMMENT= Static analyzer for Fortran programs
+MAINTAINER= jtb@netbsd.org
+HOMEPAGE= http://www.dsm.fordham.edu/~ftnchek
+COMMENT= Static analyzer for Fortran programs
-WRKSRC= ${WRKDIR}/${PKGNAME}
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --libdir=${PREFIX}/libexec
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--libdir=${PREFIX}/libexec
+
+pre-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ftnchek
diff --git a/devel/ftnchek/files/md5 b/devel/ftnchek/files/md5
index a35cdbcbafe..26e3b14c468 100644
--- a/devel/ftnchek/files/md5
+++ b/devel/ftnchek/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.1.1.1 2000/11/06 18:11:40 wennmach Exp $
+$NetBSD: md5,v 1.2 2001/03/15 23:48:23 jtb Exp $
-MD5 (ftnchek.tgz) = efbd686e1a35d0fb3a4dd237f05f23ce
+SHA1 (ftnchek-3.0.3.tar.gz) = e85f28a3cff4b44ff14da06edde221a1a4b421c8
diff --git a/devel/ftnchek/files/patch-sum b/devel/ftnchek/files/patch-sum
index 1315f95c554..760ebc3448e 100644
--- a/devel/ftnchek/files/patch-sum
+++ b/devel/ftnchek/files/patch-sum
@@ -1,3 +1,3 @@
-$NetBSD: patch-sum,v 1.1 2000/12/08 21:00:57 jtb Exp $
+$NetBSD: patch-sum,v 1.2 2001/03/15 23:48:23 jtb Exp $
-MD5 (patch-aa) = 3b37b10232a6df1f53aae8e26060400f
+SHA1 (patch-aa) = c0594e830575602b70e26385c3b3eba3e99577df
diff --git a/devel/ftnchek/patches/patch-aa b/devel/ftnchek/patches/patch-aa
index 5afbefa0aad..493e4126930 100644
--- a/devel/ftnchek/patches/patch-aa
+++ b/devel/ftnchek/patches/patch-aa
@@ -1,31 +1,29 @@
-$NetBSD: patch-aa,v 1.1 2000/12/08 21:00:57 jtb Exp $
+$NetBSD: patch-aa,v 1.2 2001/03/15 23:48:23 jtb Exp $
---- Makefile.in.orig Mon Oct 2 12:56:30 2000
-+++ Makefile.in
-@@ -89,7 +89,7 @@
- manext = .1
- sgimansubdir = @sgimansubdir@
- libdir = @libdir@/ftnchek
--lispdir = @lispdir@
-+lispdir = $(prefix)/share/emacs/site-lisp
+--- configure.orig Mon Mar 5 18:56:11 2001
++++ configure
+@@ -2510,6 +2510,8 @@
+ else
+ OS_FLAGS="-O2";
+ fi;;
++ netbsd*)
++ ;;
+ next*)
+ OS_FLAGS="-O2";;
- # Define suffix for executables, for non-unix systems which have one.
- EXE = @EXE@
-@@ -470,14 +470,9 @@
+@@ -2574,13 +2576,13 @@
+ fi
- # The emacs lisp file will be installed only if lispdir exists.
- install-lisp:
-- @if test -d "$(lispdir)" ; \
-- then \
-- echo $(CP) ftnchek.el $(lispdir)/ftnchek.el ; \
-- if $(CP) ftnchek.el $(lispdir)/ftnchek.el ; \
-- then \
-- echo "If desired, use emacs to byte-compile $(lispdir)/ftnchek.el"; \
-- fi \
-- fi
-+ -mkdir -p $(lispdir)
-+ -cp ftnchek.el $(lispdir)/ftnchek.el
-+ -echo "If desired, use emacs to byte-compile $(lispdir)/ftnchek.el"
- # Remove everything that the install target installed.
- uninstall:
+-CFLAGS="-DUNIX $OS_FLAGS $PROTOFLAG \$(OPTIONS)"
++CFLAGS="$CFLAGS -DUNIX $OS_FLAGS $PROTOFLAG \$(OPTIONS)"
+ echo "$ac_t""Compile command is $CC $CFLAGS" 1>&6
+ if test $GCC; then
+ echo "$ac_t""If you prefer using cc, setenv CC cc; rm config.cache and re-run" 1>&6
+ fi
+
+-LDFLAGS=
++
+
+
+ EXE=