Ticket #53713: update-weechat.diff

File update-weechat.diff, 1.8 KB (added by Nax (Maxime Bacoux), 8 years ago)
  • Portfile

    diff -bur weechat-orig/Portfile weechat/Portfile
    old new  
    2929
    3030if {${name} eq ${subport}} {
    3131    conflicts       weechat-devel
    32     github.setup    weechat weechat 1.5 v
     32    github.setup    weechat weechat 1.7 v
    3333
    34     checksums       rmd160  3eba0f051cc158798a9810a83ff950faeaa48e49 \
    35                     sha256  fe8cc22db690ed62b10514acf1142fa3669e50aff35e3bce41e478104fa56446
     34    checksums       rmd160  bca54a60f89f1113488036ba591e7ca6e24fd59d \
     35                    sha256  d761aa50141cbd5f3e375665c7b84ee5da4516ee467831633b68adbc374d42eb
    3636}
    3737
     38# No 1.8 prerelease exists yet, so weechat and weechat-devel both install the
     39# exact same version.
    3840subport weechat-devel {
    39     github.setup    weechat weechat 290b40af8905152e82f83a6f521ee420f7631c7a
    40     version         1.6-dev-20160715
    41 
    4241    conflicts       weechat
    43     checksums       rmd160  6473a48520503ca8941aa5f53f604a83515e2b84 \
    44                     sha256  285803b61ab62a7e1e83b494a246b9eb300105a705f1687fd68443720ac9dbef
     42    github.setup    weechat weechat 1.7 v
     43
     44    checksums       rmd160  bca54a60f89f1113488036ba591e7ca6e24fd59d \
     45                    sha256  d761aa50141cbd5f3e375665c7b84ee5da4516ee467831633b68adbc374d42eb
    4546}
    4647
    4748depends_build-append \
     
    156157}
    157158
    158159post-destroot {
    159 #   https://github.com/weechat/weechat/issues/722
    160160    set ext "adoc"
    161     if {${subport} eq ${name}} {set ext "asciidoc"}
    162161    xinstall -m 755 -d ${destroot}${prefix}/share/doc/weechat
    163162    xinstall -m 644 -W ${worksrcpath} AUTHORS.${ext} COPYING ChangeLog.${ext} README.${ext} ${destroot}${prefix}/share/doc/weechat
    164163    xinstall -m 644 -W ${worksrcpath} {*}[glob doc/en/weechat*.${ext}] ${destroot}${prefix}/share/doc/weechat