Changeset 96110


Ignore:
Timestamp:
Aug 1, 2012, 4:45:22 AM (8 years ago)
Author:
takeshi@…
Message:

libnc-dap: make this port obsolete

Location:
trunk/dports/science/libnc-dap
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/libnc-dap/Portfile

    r80276 r96110  
    55
    66name            libnc-dap
     7replaced_by     netcdf
    78version         3.7.3
    8 revision        1
     9revision        2
    910platforms       darwin
    10 maintainers     takeshi
     11maintainers     nomaintainer
    1112categories      science
    1213description     an alternative implementation of Unidata's netCDF 3.6 API
    13 master_sites    http://www.opendap.org/pub/source/
    14 checksums       md5    b69f3fb1b26b65903e41c2aa832cab34         \
    15                 sha1   785726c7920daeb11de8989753da44e166ebd8e5 \
    16                 rmd160 d99025ad66a54d7676fe44a6a29d93c272a2e582
    17 homepage        http://www.opendap.org/
     14homepage        http://opendap.org/netCDF-DAP
    1815long_description \
    1916    The netCDF Client Library is an alternative implementation of   \
     
    2219    the library when linking your application and then simply pass  \
    2320    an OPeNDAP URL in where you would normally use a file name.
    24 patchfiles      patch-Makefile.in.diff
    25 depends_build   port:pkgconfig
    26 depends_lib     port:curl \
    27                 port:libdap \
    28                 port:libxml2
     21distfiles
    2922
    30 variant gcc43 conflicts g95 gcc44 gcc45 description {Build fortran interface using gcc43} {
    31     configure.args-delete   --disable-f77
    32     depends_build-append    port:gcc43
    33     configure.fc            ${prefix}/bin/gfortran-mp-4.3
     23pre-configure {
     24    ui_error "${name} has been moved into ${replaced_by}. Please install ${replaced_by} instead."
     25    return -code error "obsolete port"
    3426}
    3527
    36 variant gcc44 conflicts g95 gcc43 gcc45 description {Build fortran interface using gcc44} {
    37     configure.args-delete   --disable-f77
    38     depends_build-append    port:gcc44
    39     configure.fc            ${prefix}/bin/gfortran-mp-4.4
    40 }
    41 
    42 variant gcc45 conflicts g95 gcc43 gcc44 description {Build fortran interface using gcc45} {
    43     configure.args-delete   --disable-f77
    44     depends_build-append    port:gcc45
    45     configure.fc            ${prefix}/bin/gfortran-mp-4.5
    46 }
    47 
    48 variant g95 conflicts gcc43 gcc44 gcc45 description {Build fortran interface using g95} {
    49     configure.args-delete   --disable-f77
    50     depends_build-append    port:g95
    51     configure.fc            ${prefix}/bin/g95
    52 }
    53 
    54 configure.args-append       --disable-f77
    55 
    56 pre-build {
    57     if {[variant_isset universal]} {
    58         reinplace "s|single_module|single_module ${configure.universal_ldflags}|" ${worksrcpath}/libtool
    59     } else {
    60         reinplace "s|single_module|single_module ${configure.cc_archflags}|" ${worksrcpath}/libtool
    61     }
    62 }
     28livecheck.type  none
Note: See TracChangeset for help on using the changeset viewer.