summaryrefslogtreecommitdiff
path: root/lang/f2c/Makefile
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1999-01-14 13:56:04 +0000
committerfrueauf <frueauf@pkgsrc.org>1999-01-14 13:56:04 +0000
commit8a09c3c50bf11a748c0dc705e7c47a7b054d914c (patch)
treeff7e88d46fe8a708cf75485a4416f2c1c7b8ccc7 /lang/f2c/Makefile
parentc623ca8a13810a6af24cd16b017ff8d168abdd94 (diff)
downloadpkgsrc-8a09c3c50bf11a748c0dc705e7c47a7b054d914c.tar.gz
Update f2c to 19980913. Provided in pr 6804 by Dan McMahill.
Diffstat (limited to 'lang/f2c/Makefile')
-rw-r--r--lang/f2c/Makefile19
1 files changed, 16 insertions, 3 deletions
diff --git a/lang/f2c/Makefile b/lang/f2c/Makefile
index 2447eb7d64e..d934fe3a2fe 100644
--- a/lang/f2c/Makefile
+++ b/lang/f2c/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.4 1998/08/25 08:54:06 agc Exp $
+# $NetBSD: Makefile,v 1.5 1999/01/14 13:56:04 frueauf Exp $
-DISTNAME= f2c-19980516p1
+DISTNAME= f2c-19980913
+WRKSRC= ${WRKDIR}/f2c
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_LOCAL}
@@ -9,6 +10,18 @@ HOMEPAGE= http://www.netlib.org/f2c/index.html
CONFLICTS= egcs-current-19980608
-WRKSRC= ${WRKDIR}/f2c
+post-extract::
+ @rm ${WRKSRC}/index.html
+ @gunzip ${WRKSRC}/*.gz
+ @cd ${WRKSRC} ; sh libf77 ; sh libi77
+ @rm ${WRKSRC}/src/index.html
+ @mv ${WRKSRC}/src/.depend ${WRKSRC}/src/depend.orig
+ @gunzip ${WRKSRC}/src/*.gz
+
+post-patch::
+ @cd ${WRKSRC} ; ${CC} -o chktypes chktypes.c
+ ${WRKSRC}/chktypes
+ @cp ${WRKSRC}/f2c.h ${WRKSRC}/libF77/f2c.h
+ @cp ${WRKSRC}/f2c.h ${WRKSRC}/libI77/f2c.h
.include "../../mk/bsd.pkg.mk"