summaryrefslogtreecommitdiff
path: root/lang/f2c/scripts/post-extract
blob: 2d1a0e51fa4d15532e672d84dee3dd3c88c1a9c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
#
# $NetBSD: post-extract,v 1.2 1998/08/07 11:09:01 agc Exp $
#

echo "Running post-extract"

cd $WRKSRC

# uncompress the top level files
rm index.html
gunzip *.gz

# extract the shell archives for libF77 and libI77
sh libf77
sh libi77

# copy the f2c.h header needed by the the libraries
cp f2c.h libF77/f2c.h
cp f2c.h libI77/f2c.h

# uncompress the main f2c source
cd src
rm index.html
mv .depend depend.orig
gunzip *.gz