Ticket #41460: xtide-2.13.2.diff

File xtide-2.13.2.diff, 3.0 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago)

in-progress patch

  • Portfile

     
    33PortSystem 1.0
    44
    55name                                    xtide
    6 version                                 2.11
    7 revision                                1
    8 
     6version                 2.13.2
    97categories                              x11 science
    108platforms                               darwin
    119license                 GPL-3+
     
    1715                                                can be generated, or a tide clock can be provided on your desktop. \
    1816                                                For x11, plain command line, and as an http server.
    1917
    20 homepage                http://www.flaterco.com/xtide/
    21 master_sites            ftp://ftp.flaterco.com/xtide/
    2218use_bzip2                               yes
     19set source_file         ${distfiles}
     20set harmonics_version   20121224
     21set harmonics_file      harmonics-dwf-${harmonics_version}-free${extract.suffix}
    2322
    24 set harmonics_version   20110410
    25 set harmonics_file              harmonics-dwf-${harmonics_version}-free.tar.bz2
     23homepage                http://www.flaterco.com/xtide/
     24master_sites            ftp://ftp.flaterco.com/xtide/ \
     25                        http://pkgs.fedoraproject.org/repo/pkgs/${name}/${source_file}/59de866e0684e123419d7a1c97ea23a5:source \
     26                        http://pkgs.fedoraproject.org/repo/pkgs/${name}/${harmonics_file}/f9a8c5414aa14bd6b08d1be4e6a3eea7/:harmonics
    2627
    27 distfiles-append                ${harmonics_file}
    28 checksums                               ${distname}${extract.suffix} \
    29                             md5 1d85890bb13b3345154e0f68831b7ebd \
    30                             sha1 6f2386ba0e6e1df0d304d3ef037317462d9cc24d \
    31                             rmd160 8c302774f244e958de529653a903d9be2f45b07b \
     28distfiles               ${source_file}:source \
     29                        ${harmonics_file}:harmonics
     30
     31checksums               ${source_file} \
     32                        rmd160  1a6cb8885fb71361cc7ce035186a6ac627a9cb0d \
     33                        sha256  fabf6b3097bb345598649ea55d1f2db269cbb651cddd73c60a9768088173d542 \
    3234                                                ${harmonics_file} \
    33                                                     md5 985c2f69eea343782142fa459fc34128 \
    34                                                     sha1 9a33ade09c5ba0a6db007adb4075f7b1475b1130 \
    35                                                     rmd160 43a788ce9864236d45087ba6ba0a9c6b8287c07d
     35                        rmd160  40ef64cff50ddcaf91b8648441a12ce2c6b07734 \
     36                        sha256  d80d7e99181c60a42660392abbe25789c395453dd88944c41dc19c7f4b0f11be
    3637
    3738depends_lib                             port:libpng port:libtcd port:xorg-libXaw
    3839
     
    4142        reinplace s|harmonics.tcd|${prefix}/share/${name}/harmonics| ${worksrcpath}/HarmonicsPath.cc
    4243}
    4344
     45# per the configure script: "if using GCC, version 4.4 or later is required"
     46compiler.blacklist      gcc-* apple-gcc-* macports-gcc-4.2 macports-gcc-4.3
     47
    4448post-destroot {
    4549        xinstall -d -m 755 ${destroot}${prefix}/share/${name}/harmonics \
    4650                           ${destroot}${prefix}/share/doc/${name}
     
    5357Additional harmonics licensed for non-commercial use only can be downloaded\
    5458from
    5559
    56 [lindex ${master_sites} 0]harmonics-dwf-20110410-nonfree.tar.bz2
     60[lindex ${master_sites} 0]harmonics-dwf-20111230-nonfree${extract.suffix}
    5761
    5862and extracted into ${prefix}/share/${name}/harmonics to make them available to ${name}.
    5963"