New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79134


Ignore:
Timestamp:
06/02/11 18:57:31 (4 years ago)
Author:
jmr@…
Message:

xtide: update to 2.11 (also fixes #24917)

Location:
trunk/dports/x11/xtide
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/xtide/Portfile

    r79132 r79134  
    44 
    55name                                    xtide 
    6 version                                 2.8.3 
    7 revision                                2 
     6version                                 2.11 
    87 
    98categories                              x11 science 
    109platforms                               darwin 
     10license                 GPL-3+ 
    1111maintainers                             jberry openmaintainer 
    1212 
     
    2121use_bzip2                               yes 
    2222 
    23 set harmonics_version   20060708 
    24 set harmonics_file              harmonics-dwf-${harmonics_version}.tcd.bz2 
     23set harmonics_version   20110410 
     24set harmonics_file              harmonics-dwf-${harmonics_version}-free.tar.bz2 
    2525 
    26 distfiles                               ${distname}${extract.suffix} \ 
    27                                                 ${harmonics_file} 
    28 checksums                               ${distname}${extract.suffix} md5 653fd807116290ab96bd5aa1bb974315 \ 
    29                                                 ${harmonics_file} md5 7e8acfeb5aa454c1c19fc14bb7263513 
    30 patchfiles                              patch-Makefile.in 
    31 extract.only                    ${distname}${extract.suffix} 
     26distfiles-append                ${harmonics_file} 
     27checksums                               ${distname}${extract.suffix} \ 
     28                            md5 1d85890bb13b3345154e0f68831b7ebd \ 
     29                            sha1 6f2386ba0e6e1df0d304d3ef037317462d9cc24d \ 
     30                            rmd160 8c302774f244e958de529653a903d9be2f45b07b \ 
     31                                                ${harmonics_file} \ 
     32                                                    md5 985c2f69eea343782142fa459fc34128 \ 
     33                                                    sha1 9a33ade09c5ba0a6db007adb4075f7b1475b1130 \ 
     34                                                    rmd160 43a788ce9864236d45087ba6ba0a9c6b8287c07d 
    3235 
    33 depends_lib                             port:xorg-libXaw port:libpng 
    34 configure.args                  --mandir=${prefix}/share/man 
     36depends_lib                             port:libpng port:libtcd port:xorg-libXaw 
    3537 
    3638post-patch { 
    37         # Make the default harmonics path conveniently point to our file 
    38         reinplace s|harmonics.tcd|${prefix}/share/${name}/harmonics.tcd| ${worksrcpath}/TideContext.cc 
     39        # Make the default harmonics path conveniently point to our directory 
     40        reinplace s|harmonics.tcd|${prefix}/share/${name}/harmonics| ${worksrcpath}/HarmonicsPath.cc 
    3941} 
    4042 
    4143post-destroot { 
    42         xinstall -d -m 755 ${destroot}${prefix}/share/xtide 
    43         xinstall -m 644 ${distpath}/${harmonics_file} ${destroot}${prefix}/share/${name}/harmonics.tcd.bz2 
    44         system "bzip2 -d ${destroot}${prefix}/share/${name}/harmonics.tcd.bz2" 
     44        xinstall -d -m 755 ${destroot}${prefix}/share/${name}/harmonics \ 
     45                           ${destroot}${prefix}/share/doc/${name} 
     46        xinstall -m 644 ${workpath}/harmonics-dwf-${harmonics_version}-free.tcd ${destroot}${prefix}/share/${name}/harmonics 
     47    xinstall -m 644 ${workpath}/harmonics_boilerplate.txt ${destroot}${prefix}/share/doc/${name} 
    4548} 
     49 
     50notes \ 
     51"Only public domain harmonics for the United States are included in this port. 
     52Additional harmonics licensed for non-commercial use only can be downloaded 
     53from <ftp://ftp.flaterco.com/xtide/harmonics-dwf-20110410-nonfree.tar.bz2> 
     54and extracted into ${prefix}/share/${name}/harmonics to make them available to ${name}." 
Note: See TracChangeset for help on using the changeset viewer.