|
|||||||||
Friday the 16th of May, 2008 |
|||||||||
cdf most recent diff
Scroll down toward the bottom of the page to get installation instructions for cdf. The raw portfile for cdf 32 is located here: http://cdf.darwinports.com/dports/science/cdf/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/cdf # $Id: Portfile 33662 2008-02-02 19:20:07Z gwright PortSystem 1.0 Name: cdf Version: 32 Maintainers: gwright Platform: darwin Category: science Description: CDF: Common Data Format Long Description: The Common Data Format (CDF) is a self-describing data format for the storage and manipulation of scalar and multidimensional data in a platform and discipline independent fashion. Homepage: http://cdf.gsfc.nasa.gov/ master_sites ftp://cdaweb.gsfc.nasa.gov/pub/cdf/dist/${name}${version}/unix distfiles ${name}${version}-dist-all${extract.suffix} checksums sha1 c24a88dee108ab3ae7787697350f77ca3e9bd776 depends_build port:gcc42 fetch.use_epsv no configure { } worksrcdir ${name}${version}-dist-readonly platform darwin i386 { global cdf_arch set cdf_arch i386 } platform darwin powerpc { global cdf_arch set cdf_arch ppc } patchfiles patch-Makefile post-patch { reinplace "s|-L/usr/lib/gcc/powerpc-apple-darwin8/4.0.1|`gcc-mp-4.2 -print-libgcc-file-name`|g" Makefile reinplace "s|-L/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/ppc64|`gcc-mp-4.2 -print-libgcc-file-name`|g" Makefile reinplace "s|-L/usr/lib/gcc/i686-apple-darwin8/4.0.1|`gcc-mp-4.2 -print-libgcc-file-name`|g" Makefile reinplace "s|/Developer/SDKs/MacOSX10.4u.sdk/usr/lib|${prefix}/lib|g" Makefile } build { system "make OS=macosx ENV=${cdf_arch} FORTRAN=yes FC=gfortran-mp-4.2 all" } destroot { reinplace "s|(INSTALLDIR)/bin/definitions.B|/${prefix}/bin/definitions.B|" ${worksrcpath}/Makefile reinplace "s|(INSTALLDIR)/bin/definitions.C|/${prefix}/bin/definitions.C|" ${worksrcpath}/Makefile reinplace "s|(INSTALLDIR)/bin/definitions.K|/${prefix}/bin/definitions.K|" ${worksrcpath}/Makefile system "make INSTALLDIR=${destroot}${prefix} install" } post-destroot { reinplace "s|${destroot}${prefix}|${prefix}|" ${destroot}${prefix}/bin/definitions.B reinplace "s|${destroot}${prefix}|${prefix}|" ${destroot}${prefix}/bin/definitions.C reinplace "s|${destroot}${prefix}|${prefix}|" ${destroot}${prefix}/bin/definitions.K system "install_name_tool -id ${prefix}/lib/libcdf.dylib ${destroot}${prefix}/lib/libcdf.dylib" } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/cdfYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using cdf with these commands: % man cdf Where to find more information:
|
![]() |
![]() Digg cdf on MacOSX
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
aqua
archivers audio benchmarks cad comms cross databases devel editors emulators games genealogy gnome gnustep graphics irc java kde lang math multimedia net news palm perl python ruby science security shells sysutils textproc www x11 xfce zope
Current CVS DownloadsDarwin Ports Current :nightly CVS snapshot OpenDarwin CVSWeb SSH Key Gen |
|||||||
| |




