Ticket #51922: Portfile-weechat.diff

File Portfile-weechat.diff, 2.6 KB (added by harciga, 8 years ago)
  • Portfile

    old new  
    2929
    3030if {${name} eq ${subport}} {
    3131    conflicts       weechat-devel
    32     github.setup    weechat weechat 1.4 v
     32    github.setup    weechat weechat 1.5 v
    3333
    34      checksums      rmd160  26d3c50a44bf4b17751107003cdb773a22015187 \
    35                     sha256  25dc0b27295c69c1114d21c12525fc2b9c9decc3cb4250b03a74c0a3aca97c5e
     34    checksums       rmd160  3eba0f051cc158798a9810a83ff950faeaa48e49 \
     35                    sha256  fe8cc22db690ed62b10514acf1142fa3669e50aff35e3bce41e478104fa56446
    3636}
    3737
    3838subport weechat-devel {
    39     github.setup    weechat weechat 94ef33022dc2dabed3458e2770e500c7ad944696
    40     version         1.5-dev-20160211
     39    github.setup    weechat weechat 290b40af8905152e82f83a6f521ee420f7631c7a
     40    version         1.6-dev-20160715
    4141
    4242    conflicts       weechat
    43     checksums       rmd160  6ac7d9bf1f781ac88de636e86097290e1c30c20d \
    44                     sha256  9885f3b3684c3052611a4a994ff0f66763f93f4aee5d304cc933e11162960003
     43    checksums       rmd160  6473a48520503ca8941aa5f53f604a83515e2b84 \
     44                    sha256  285803b61ab62a7e1e83b494a246b9eb300105a705f1687fd68443720ac9dbef
    4545}
    4646
    4747depends_build-append \
     
    6464                    -DENABLE_PYTHON3=OFF \
    6565                    -DENABLE_RUBY=OFF \
    6666                    -DENABLE_ASPELL=OFF \
     67                    -DENABLE_TCL=OFF \
    6768                    -DENABLE_MAN=ON
    6869
    6970variant python requires python27 description {Compatibility variant, requires +python27} {}
     
    100101    }
    101102}
    102103
     104variant tcl description {Support for tcl} {
     105    configure.args-delete   -DENABLE_TCL=OFF
     106    configure.args-append   -DENABLE_TCL=ON
     107    depends_lib-append      port:tcl
     108}
     109
    103110variant aspell description {Support for aspell} {
    104111    configure.args-delete   -DENABLE_ASPELL=OFF
    105112    configure.args-append   -DENABLE_ASPELL=ON
     
    146153}
    147154
    148155post-destroot {
     156#   https://github.com/weechat/weechat/issues/722
     157    set ext "adoc"
     158    if {${subport} eq ${name}} {set ext "asciidoc"}
    149159    xinstall -m 755 -d ${destroot}${prefix}/share/doc/weechat
    150     xinstall -m 644 -W ${worksrcpath} AUTHORS.asciidoc COPYING ChangeLog.asciidoc README.asciidoc ${destroot}${prefix}/share/doc/weechat
    151     xinstall -m 644 -W ${worksrcpath} {*}[glob doc/en/weechat*.asciidoc] ${destroot}${prefix}/share/doc/weechat
     160    xinstall -m 644 -W ${worksrcpath} AUTHORS.${ext} COPYING ChangeLog.${ext} README.${ext} ${destroot}${prefix}/share/doc/weechat
     161    xinstall -m 644 -W ${worksrcpath} {*}[glob doc/en/weechat*.${ext}] ${destroot}${prefix}/share/doc/weechat
    152162}
    153163
    154164post-install {