Commits

Takeshi Enomoto authored 22e43d0a463
cdo: install shell completion
No tags

science/cdo/Portfile

Modified
1 1 # -*- 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
2 2
3 3 PortSystem 1.0
4 4 PortGroup mpi 1.0
5 5 PortGroup cxx11 1.1
6 6
7 7 name cdo
8 8 version 1.9.2
9 -revision 1
9 +revision 2
10 10 platforms darwin
11 11 maintainers takeshi openmaintainer
12 12 license GPL-2
13 13 categories science
14 14 description Climate Data Operators
15 15 homepage https://code.mpimet.mpg.de/projects/cdo
16 16 master_sites https://code.mpimet.mpg.de/attachments/download/16035
17 17 checksums rmd160 1626ab245e61afb157e975aed64e4c5af99a9877 \
18 18 sha256 d1c5092167034a48e4b8ada24cf78a1d4b84e364ffbb08b9ca70d13f428f300c
19 19
51 51 # Setting configure.cc h5pcc has been removed because it causes error
52 52 # because -Wl,-headerpad_max_install_names does not work with -pthread.
53 53 # See hdfeos5 Portfile to set h5pcc.
54 54
55 55 post-destroot {
56 56 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
57 57 xinstall -m 644 {*}[glob ${worksrcpath}/doc/*.pdf] ${destroot}${prefix}/share/doc/${name}
58 58 foreach f {AUTHORS ChangeLog NEWS OPERATORS README} {
59 59 xinstall -m 644 {*}[glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/doc/${name}
60 60 }
61 + xinstall -m 755 -d ${destroot}${prefix}/share/${name}
62 + file copy ${worksrcpath}/contrib ${destroot}${prefix}/share/${name}
61 63 }
62 64
63 65 default_variants +eccodes
64 66
65 67 if {[clang_variant_isset]} {
66 68 configure.args-delete --disable-openmp
67 69 configure.args-append --enable-openmp
68 70 }
69 71
70 72 variant grib2 description {obsoleted by grib_api variant} {

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut