New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 80346


Ignore:
Timestamp:
07/10/11 01:25:01 (4 years ago)
Author:
takeshi@…
Message:

emos: removed dependency to grib_api

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/emos/Portfile

    r80345 r80346  
    66name                emos 
    77version             000382 
     8revision            1 
    89platforms           darwin 
    910maintainers         takeshi 
     
    2021    The Interpolation library (EMOSLIB) includes Interpolation software \ 
    2122    and GRIB, BUFR, CREX encoding/decoding routines. 
    22  
    23 depends_build       port:grib_api 
    2423 
    2524post-patch { 
     
    5049    file copy -force ${worksrcpath}/Makefile.in ${worksrcpath}/Makefile 
    5150    reinplace "s:reals:R64:" ${worksrcpath}/Makefile 
    52     reinplace "s:glue:grib_api_merging:" ${worksrcpath}/Makefile 
    53     foreach d {gribex pbio bufrdc bufrtables crexdc interpolation fft grib_api_merging} { 
     51# skip grib_api_merging (grib_api and emos depend upon each other) 
     52    reinplace "s:glue::" ${worksrcpath}/Makefile 
     53    foreach d {gribex pbio bufrdc bufrtables crexdc interpolation fft} { 
    5454        file copy -force ${worksrcpath}/${d}/Makefile.in ${worksrcpath}/${d}/Makefile 
    5555        reinplace "s:reals:R64:" ${worksrcpath}/${d}/Makefile 
     
    5858        reinplace "s:\$(ARCH)\$(CNAME)\$(R64)\$(A64):site:" ${worksrcpath}/${d}/Makefile 
    5959    } 
    60     reinplace "s:I\$(GRIB_API_PATH):I${prefix}:" ${worksrcpath}/grib_api_merging/Makefile 
    6160    reinplace "s:`cat -s .r64`:R64:" ${worksrcpath}/install 
    6261    reinplace "s:`cat -s .emos`:${destroot}${prefix}/lib/${name}:" ${worksrcpath}/install 
Note: See TracChangeset for help on using the changeset viewer.