the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: netcdf-absoft
Version: 3.5.1
Revision: 1015
Distribution: 10.4, 10.5
Maintainer: None
Depends: %N-shlibs (= %v-%r) | netcdf-shlibs (>= 3.5.1-14), %N-bin | netcdf-bin, system-fortran
Conflicts: netcdf, netcdf7, netcdf-c7, netcdf-cxx4
Replaces: netcdf, netcdf-c7, netcdf-cxx4
Provides: netcdf
GCC: 4.0
Source: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-%v-beta13.tar.Z
SourceDirectory: netcdf-%v-beta13/src
Source-MD5: b9fd84353502b79fff84b99593eacad6
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
NoSetLDFLAGS: true
SetCXX: c++
SetCPPFLAGS: -DNDEBUG -DAbsoftProFortran
CompileScript: <<
(export ABSOFT=/Applications/Absoft; CXXFLAGS="-O2 -fno-common" CFLAGS="-O2 -fno-common" FLIBS="-L$ABSOFT/lib -lU77" FPP=cpp FC="$ABSOFT/bin/f95" F90="$ABSOFT/bin/f95" ./configure %c; make)
<<
InstallScript: <<
mkdir -p %i/share/man
make install prefix=%i MANDIR=%i/share/man
(mkdir libtmp; cd libtmp; ar -x ../libsrc/libnetcdf.a)
(mkdir libtmp2; cd libtmp2; ar -x ../cxx/libnetcdf_c++.a)
(cd libtmp; objfiles=`ls -1 *.o`; cc -dynamiclib -flat_namespace -undefined suppress -o libnetcdf.%v.dylib $objfiles -install_name %p/lib/libnetcdf.3.dylib -current_version %v -compatibility_version 3.5; cp libnetcdf.%v.dylib %i/lib)
(cd %i/lib; ln -s %p/lib/libnetcdf.%v.dylib libnetcdf.3.dylib; ln -s %p/lib/libnetcdf.3.dylib libnetcdf.dylib; ln -s %p/lib/libnetcdf.%v.dylib libnetcdf.3.5.0.dylib)
(cd libtmp2; objfiles=`ls -1 *.o`; c++ -dynamiclib -flat_namespace -undefined suppress -o libnetcdf_c++.%v.dylib $objfiles -install_name %p/lib/libnetcdf_c++.3.dylib -current_version %v -compatibility_version 3.5; cp libnetcdf_c++.%v.dylib %i/lib)
(cd %i/lib; ln -s %p/lib/libnetcdf_c++.%v.dylib libnetcdf_c++.3.dylib; ln -s %p/lib/libnetcdf_c++.3.dylib libnetcdf_c++.dylib)
rm -rf %i/share/man/man3f
rm -rf %i/share/man/cat1
rm -rf %i/share/man/cat3
rm -f %i/share/man/whatis.db
<<
SplitOff: <<
Package: %N-shlibs
Conflicts: netcdf-shlibs
Provides: netcdf-shlibs
Replaces: %N (<= 3.5.1-2), netcdf-shlibs, netcdf (<= 3.5.0-6)
Shlibs: <<
%p/lib/libnetcdf.3.5.0.dylib 3.5.0 netcdf (>= 3.5.1-14) | netcdf-absoft-shlibs (>= 3.5.1-14)
%p/lib/libnetcdf.3.dylib 3.5.0 netcdf (>= 3.5.1-14) | netcdf-absoft-shlibs (>= 3.5.1-14)
%p/lib/libnetcdf_c++.3.dylib 3.5.0 netcdf (>= 3.5.1-14) | netcdf-absoft-shlibs (>= 3.5.1-14)
<<
Files: lib/libnetcdf*.*.dylib
DocFiles: COPYRIGHT README RELEASE_NOTES
<<
SplitOff2: <<
Package: %N-bin
Conflicts: netcdf-bin
Provides: netcdf-bin
Replaces: %N (<= 3.5.1-2), netcdf-bin, netcdf (<= 3.5.0-6)
Files: bin
DocFiles: COPYRIGHT README RELEASE_NOTES
<<
DocFiles: COPYRIGHT README RELEASE_NOTES
Description: Lib for array-oriented data & interface to Absoft Fortran
DescDetail: <<
The NetCDF (network Common Data Form) library defines a machine-independent
format for representing scientific data. Together, the interface, library,
and format support the creation, access, and sharing of scientific data.
Includes Absoft Fortran interface.
<<
Homepage: http://www.unidata.ucar.edu/packages/netcdf/
License: OSI-Approved