summaryrefslogtreecommitdiff
path: root/lang/f2c/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/f2c/Makefile')
-rw-r--r--lang/f2c/Makefile29
1 files changed, 21 insertions, 8 deletions
diff --git a/lang/f2c/Makefile b/lang/f2c/Makefile
index 926eb2a3c6a..bfce63237aa 100644
--- a/lang/f2c/Makefile
+++ b/lang/f2c/Makefile
@@ -1,18 +1,31 @@
-# $NetBSD: Makefile,v 1.9 2001/02/17 09:07:05 agc Exp $
+# $NetBSD: Makefile,v 1.10 2001/02/24 18:37:45 dmcmahill Exp $
-DISTNAME= f2c-19991025
-PKGNAME= f2c-19991025p1
+DISTNAME= f2c-20001205
WRKSRC= ${WRKDIR}/f2c
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_LOCAL}
+# Note. the distfile is kept locally because it is
+# created "on the fly" by the real master site with
+# no version number included. This makes it difficult
+# at best to use the real master site. The distfile
+# was created by:
+# ftp ftp://netlib.bell-labs.com/netlib/f2c.tar
+# tar -xvf f2c.tar f2c/00lastchange.gz
+# gzcat f2c/00lastchange.gz
+#
+#read what the last change date was.
+#
+# mv f2c.tar f2c-yyyymmdd.tar
+# gzip f2c-yyyymmdd.tar
+
MAINTAINER= dmcmahill@netbsd.org
HOMEPAGE= http://www.netlib.org/f2c/index.html
-COMMENT= Fortran to C compiler (translates fortran to C)
+COMMENT= Fortran to C compiler including a script to emulate f77
CONFLICTS= egcs-current-19980608
-post-extract::
+post-extract:
@${RM} ${WRKSRC}/index.html
@${GUNZIP_CMD} ${WRKSRC}/*.gz
@cd ${WRKSRC} ; ${SH} libf77 ; ${SH} libi77
@@ -20,9 +33,9 @@ post-extract::
@${MV} ${WRKSRC}/src/.depend ${WRKSRC}/src/depend.orig
@${GUNZIP_CMD} ${WRKSRC}/src/*.gz
-post-patch::
- @cd ${WRKSRC} ; ${CC} -o chktypes chktypes.c
- ${WRKSRC}/chktypes
+post-patch:
+ @cd ${WRKSRC} && ${CC} -o chktypes chktypes.c
+ ${WRKSRC}/chktypes -v
@${CP} ${WRKSRC}/f2c.h ${WRKSRC}/libF77/f2c.h
@${CP} ${WRKSRC}/f2c.h ${WRKSRC}/libI77/f2c.h