aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/ftnchek/Makefile18
-rw-r--r--devel/ftnchek/distinfo2
-rw-r--r--devel/ftnchek/files/patch-makehtml.c10
-rw-r--r--devel/ftnchek/pkg-plist4
4 files changed, 22 insertions, 12 deletions
diff --git a/devel/ftnchek/Makefile b/devel/ftnchek/Makefile
index 6e653a2afd71..43b72955dd0b 100644
--- a/devel/ftnchek/Makefile
+++ b/devel/ftnchek/Makefile
@@ -5,22 +5,22 @@
# $FreeBSD$
PORTNAME= ftnchek
-PORTVERSION= 3.1.2
+PORTVERSION= 3.2.0
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.netlib.org/fortran/
-DISTFILES= ${PORTNAME}.tgz
+MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+ http://www.dsm.fordham.edu/~ftnchek/download/
+MASTER_SITE_SUBDIR= devel/lang/fortran
MAINTAINER= ports@FreeBSD.org
MAN1= dcl2inc.1 ftnchek.1
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= ac_cv_dir_lispdir=${PREFIX}/share/emacs/site-lisp
+CONFIGURE_ARGS= --libdir=${PREFIX}/share
-pre-install:
- ${MKDIR} ${PREFIX}/share/emacs/site-lisp
-
-post-install:
- strip ${PREFIX}/bin/ftnchek
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|^CFLAGS=.*$$|CFLAGS="-DUNIX \$$CFLAGS"|g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/devel/ftnchek/distinfo b/devel/ftnchek/distinfo
index 9c58ed6a86ee..d0338183e05e 100644
--- a/devel/ftnchek/distinfo
+++ b/devel/ftnchek/distinfo
@@ -1 +1 @@
-MD5 (ftnchek.tgz) = 26d41011599e08f06f89ca500f95f000
+MD5 (ftnchek-3.2.0.tar.gz) = 9ba23218e38568b16945a4c69309a43d
diff --git a/devel/ftnchek/files/patch-makehtml.c b/devel/ftnchek/files/patch-makehtml.c
new file mode 100644
index 000000000000..84ee590fbda7
--- /dev/null
+++ b/devel/ftnchek/files/patch-makehtml.c
@@ -0,0 +1,10 @@
+--- makehtml.c.orig Thu Nov 21 08:16:41 2002
++++ makehtml.c Sat Dec 7 03:18:59 2002
+@@ -43,6 +43,7 @@
+
+ #include <stdio.h>
+ #include <ctype.h>
++#include <sys/types.h>
+ #include <string.h>
+ #include <errno.h>
+ #include "ftnchek.h"
diff --git a/devel/ftnchek/pkg-plist b/devel/ftnchek/pkg-plist
index c155fa123350..6737048156b3 100644
--- a/devel/ftnchek/pkg-plist
+++ b/devel/ftnchek/pkg-plist
@@ -1,5 +1,5 @@
bin/dcl2inc
bin/ftnchek
-lib/ftnchek/dcl2inc.awk
share/emacs/site-lisp/ftnchek.el
-@dirrm lib/ftnchek
+share/ftnchek/dcl2inc.awk
+@dirrm share/ftnchek