Changeset 148045 for trunk


Ignore:
Timestamp:
Apr 25, 2016, 3:44:17 PM (3 years ago)
Author:
mf2k@…
Message:

h4h5tools: Add and conform to mode line. Sort dependencies.

File:
1 edited

Legend:

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

    r148043 r148045  
     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
    12# $Id$
    23
    3 PortSystem 1.0
     4PortSystem      1.0
    45
    5 name                    h4h5tools
    6 version                 2.2.1
    7 revision    10
    8 categories              science
     6name            h4h5tools
     7version         2.2.1
     8revision        10
     9categories      science
    910# Equivalent to BSD + explicitly requiring modifications to be documented
    10 license                 Permissive
    11 platforms               darwin
    12 maintainers             nomaintainer
     11license         Permissive
     12platforms       darwin
     13maintainers     nomaintainer
    1314
    14 description             HDF4 to HDF5 conversion tools.
    15 long_description        Provides the h4toh5 conversion utility and \
    16                         library.
     15description     HDF4 to HDF5 conversion tools.
     16long_description    Provides the h4toh5 conversion utility and library.
    1717
    18 homepage                http://www.hdfgroup.org/h4toh5/
    19 master_sites            http://www.hdfgroup.org/ftp/HDF5/tools/h4toh5/src/
     18homepage        http://www.hdfgroup.org/h4toh5/
     19master_sites    http://www.hdfgroup.org/ftp/HDF5/tools/h4toh5/src/
    2020
    21 checksums               rmd160 f90ac82c900e59564fe9d4da93dd2cf70cd87763 \
    22                         sha256 a814e5312355a97dc41b837dfcf057d925844b6a00f06c6d68fe9418094eb893
     21checksums       rmd160 f90ac82c900e59564fe9d4da93dd2cf70cd87763 \
     22                sha256 a814e5312355a97dc41b837dfcf057d925844b6a00f06c6d68fe9418094eb893
    2323
    24 depends_lib-append      port:hdf5 \
    25                         port:hdf4 \
    26                         port:netcdf
     24depends_lib-append \
     25                port:hdf4 \
     26                port:hdf5 \
     27                port:netcdf
    2728
    28 configure.cc            ${prefix}/bin/h4cc
     29configure.cc    ${prefix}/bin/h4cc
    2930
    3031post-destroot {
    31   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    32   xinstall -m 644 -W ${worksrcpath} README.txt COPYING Copyright.html \
    33     ${destroot}${prefix}/share/doc/${name}
     32    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     33    xinstall -m 644 -W ${worksrcpath} README.txt COPYING Copyright.html \
     34        ${destroot}${prefix}/share/doc/${name}
    3435
    35   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/pdf
    36   xinstall -m 644 -W ${worksrcpath}/doc \
    37     H4H5ProgrammersNotes.pdf h4toh5lib_RM.pdf h4toh5lib_UG.pdf \
    38     ${destroot}${prefix}/share/doc/${name}/pdf
     36    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/pdf
     37    xinstall -m 644 -W ${worksrcpath}/doc \
     38        H4H5ProgrammersNotes.pdf h4toh5lib_RM.pdf h4toh5lib_UG.pdf \
     39        ${destroot}${prefix}/share/doc/${name}/pdf
    3940
    40   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/html
    41   xinstall -m 644 -W ${worksrcpath}/doc \
    42     h4toh5lib_RM.html h4toh5lib_UG.html \
    43     ${destroot}${prefix}/share/doc/${name}/html
     41    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/html
     42    xinstall -m 644 -W ${worksrcpath}/doc \
     43        h4toh5lib_RM.html h4toh5lib_UG.html \
     44        ${destroot}${prefix}/share/doc/${name}/html
    4445}
    4546
    46 livecheck.type     regex
    47 livecheck.url      ${homepage}
    48 livecheck.regex    {Current Release:</note> &nbsp; ([0-9]+\.[0-9.]+)<br />}
     47livecheck.type  regex
     48livecheck.url   ${homepage}
     49livecheck.regex {Current Release:</note> &nbsp; ([0-9]+\.[0-9.]+)<br />}
Note: See TracChangeset for help on using the changeset viewer.