Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/languages
In directory vz-cvs-3.sog:/tmp/cvs-serv1368
Modified Files:
f2c.info
Log Message:
move newer f2c to stable.
Index: f2c.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/languages/f2c.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- f2c.info 11 Sep 2009 21:17:01 -0000 1.5
+++ f2c.info 14 Jun 2011 11:32:33 -0000 1.6
@@ -1,10 +1,15 @@
Package: f2c
Version: 20090414
-Revision: 1
+Revision: 2
+Description: Convert Fortran 77 source code to C
+License: OSI-Approved
+Suggests: fort77
+
Source: mirror:sourceforge:fink/%n-%v.tar.bz2
-#Source: ftp://ftp.cdc.noaa.gov/Public/jsw/%n-%v.tar.bz2
Source-MD5: 55be2562c57c61cfcd7e7ee46cb56768
-Suggests: fort77
+#Source: ftp://ftp.netlib.org/f2c.tar.gz
+#Source: ftp://ftp.cdc.noaa.gov/Public/jsw/%n-%v.tar.bz2 # outdated, historic
+
CompileScript: <<
#!/bin/sh -ev
if test -f src/notice ; then /bin/mv src/notice src/Notice ; fi
@@ -13,7 +18,6 @@
sed 's/CFLAGS = -O/CFLAGS = -O2 -fno-common/; s/ld -r -x/ld -r/'
src/makefile.u > src/makefile
cd libf2c
make
- make libf2c.a
cd ../src
make
cd ..
@@ -21,6 +25,7 @@
sed 's/CFLAGS="$CFLAGS $O"/CFLAGS="$CFLAGS $O""3"/; s/ -lm//g; s/ -u
MAIN__//g; s|/usr/local|%p|g; s/lib\/cpp/usr\/bin\/cpp/g' fc.orig > fc
chmod +x fc
<<
+
InstallScript: <<
#!/bin/sh -ev
mkdir -p %i/include
@@ -30,26 +35,37 @@
ranlib %i/lib/libf2c.a
mkdir -p %i/bin
cp src/f2c %i/bin
+ cp src/xsum %i/bin
cp fc %i/bin
mkdir -p %i/share/man/man1
cp f2c.1t %i/share/man/man1/f2c.1
<<
-DocFiles: permission f2c.pdf
-License: OSI-Approved
-Description: Convert Fortran 77 source to C source
+
+DocFiles: <<
+f2c.pdf README libf2c/README:README.libf2c src/Notice permission disclaimer
+changes 00lastchange fixlog
+<<
+
DescUsage: <<
-The shell script fc converts f77 source code to c, and compiles the c.
-It acts very much like a 'real' compiler. The fort77 package provides
-a perl script with similar, but added, functionality.
-.
-To test: f2c myprog.f
- cc -O2 -I $PREFIX/include -L$PREFIX/lib -lf2c -o myprog myprog.c
- ./myprog
+f2c converts f77 source code to C, which can then be compiled with a C
+compiler. The shell script fc does both, conversion to C and compilation.
+It acts very much like a 'real' compiler. The fort77 package
+provides a perl script with similar, but added, functionality.
+
+To test:
+
+ f2c myprog.f
+ cc -O2 -I $PREFIX/include -L$PREFIX/lib -lf2c -o myprog myprog.c
+ ./myprog
+
or:
- setenv F2CFLAGS {any flags you want fc to pass to f2c here}
- fc -O -o myprog myprog.f; ./myprog
-.
+
+ setenv F2CFLAGS {any flags you want fc to pass to f2c here}
+ fc -O -o myprog myprog.f
+ ./myprog
+
where $PREFIX is the root of fink's directory hierarchy (/sw by default).
<<
+
Maintainer: Karl-Michael Schindler <[email protected]>
Homepage: http://www.netlib.org/f2c
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs