|
|||||||||
Friday the 19th of March, 2010 |
|||||||||
ncarg most recent diffversion 5.1.1
Scroll down toward the bottom of the page to get installation instructions for ncarg. The raw portfile for ncarg 5.1.1 is located here: http://ncarg.darwinports.com/dports/science/ncarg/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/ncarg # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 The ncarg Portfile 60206 2009-11-05 07:17:21Z takeshi PortSystem 1.0 Name: ncarg Version: 5.1.1 Revision: 1 Category: science Maintainers: takeshi Description: language for scientific data processing and visualization Long Description: The NCAR Command Language (NCL), a product of the Computational & Information Systems Laboratory at the National Center for Atmospheric Research (NCAR) and sponsored by the National Science Foundation, is a free interpreted language designed specifically for scientific data processing and visualization. Homepage: http://www.ncl.ucar.edu/ Platform: darwin Master Sites: http://www.earthsystemgrid.org/ distname ncl_${name}_src-${version} worksrcdir ncl_${name}-${version} Checksums: md5 42154992f2966320dc9f8958b9d81da3 sha1 729abefde701f1f812bc168dd9ef04ca753b861c rmd160 cc83ee928d05ff82794021ef589300d80961955e depends_lib port:jpeg port:netcdf port:hdf4 port:libpng port:gdal port:udunits port:vis5d port:hdfeos port:wgrib2 port:openssl port:curl port:libxml2 port:libnc-dap port:xorg-libXaw port:xorg-libice port:lesstif depends_build port:gcc43 port:triangle use_parallel_build no universal_variant no fetch { if {![file exists ${distpath}/${distfiles}]} { xinstall -d ${distpath} ui_error "Download ${distfiles} manually and place it in ${distpath}.\n See instructions on ${homepage}/Download/index.shtml" } } set usedap y platform darwin 8 { set usedap n depends_lib-delete port:libnc-dap } if {$build_arch eq "x86_64"} { patchfiles patch-config-ymake.diff } post-patch { foreach f {Darwin Darwin_Intel} { if {[variant_isset g95]} { reinplace "s|-lgfortran|-lf95|" ${worksrcpath}/config/${f} reinplace "s| gfortran$| g95|" ${worksrcpath}/config/${f} } else { reinplace "s|-lgfortran|-L${prefix}/lib/gcc43 -lgfortran|" ${worksrcpath}/config/${f} reinplace "s| gfortran$| gfortran-mp-4.3|" ${worksrcpath}/config/${f} } reinplace "s|-lXext$|-lXext\ #define CcOptions -fPIC -ansi -D_DARWIN_C_SOURCE\ #define COptimizeFlag ${configure.cflags}\ #define FOptimizeFlag ${configure.fflags}\ #define ManRoot ${destroot}${prefix}/share/man\ #define NetCDF4lib -lnetcdf|" ${worksrcpath}/config/${f} reinplace "s|/sw/lib|${prefix}/lib|" ${worksrcpath}/config/${f} reinplace "s|/sw/include|${prefix}/include|" ${worksrcpath}/config/${f} } if {[variant_isset g95]} { reinplace "s|-fno-range-check||" ${worksrcpath}/config/Darwin_Intel } reinplace "s|hdf\/||" ${worksrcpath}/ni/src/ncl/NclHDF.c reinplace "s|hdf\/||" ${worksrcpath}/ni/src/ncl/NclHDFEOS.c reinplace "s|hdf\/||" ${worksrcpath}/ncarview/src/lib/libncarg_ras/hdf.c } pre-configure { system "cd ${worksrcpath}/config; make -f Makefile.ini; ./ymake -config `pwd`" system "unzip -o ${prefix}/var/macports/distfiles/triangle/triangle.zip -d /tmp; mv /tmp/triangle.* ${worksrcpath}/ni/src/lib/hlu" } configure { system "cd ${worksrcpath}; ./Configure -v << EOF y ${destroot}${prefix} y y y n y y y y y ${usedap} ${prefix}/lib ${prefix}/include EOF" } post-configure { system "cd ${worksrcpath}; make Info" system "cat ${worksrcpath}/config/Site.local" } build.target Build Variant: g95 description {compile with g95} { depends_build-delete port:gcc43 depends_build-append port:g95 } livecheck.type regex livecheck.url ${homepage} livecheck.regex {Current Version:.* .*([0-9]+\.[0-9]+\.[0-9]+)} 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/ncargYou 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 ncarg with these commands: % man ncarg Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




