Ticket #51922: Portfile-weechat.diff
File Portfile-weechat.diff, 2.6 KB (added by harciga, 8 years ago) |
---|
-
Portfile
old new 29 29 30 30 if {${name} eq ${subport}} { 31 31 conflicts weechat-devel 32 github.setup weechat weechat 1. 4v32 github.setup weechat weechat 1.5 v 33 33 34 checksums rmd160 26d3c50a44bf4b17751107003cdb773a22015187\35 sha256 25dc0b27295c69c1114d21c12525fc2b9c9decc3cb4250b03a74c0a3aca97c5e34 checksums rmd160 3eba0f051cc158798a9810a83ff950faeaa48e49 \ 35 sha256 fe8cc22db690ed62b10514acf1142fa3669e50aff35e3bce41e478104fa56446 36 36 } 37 37 38 38 subport weechat-devel { 39 github.setup weechat weechat 94ef33022dc2dabed3458e2770e500c7ad94469640 version 1. 5-dev-2016021139 github.setup weechat weechat 290b40af8905152e82f83a6f521ee420f7631c7a 40 version 1.6-dev-20160715 41 41 42 42 conflicts weechat 43 checksums rmd160 6 ac7d9bf1f781ac88de636e86097290e1c30c20d\44 sha256 9885f3b3684c3052611a4a994ff0f66763f93f4aee5d304cc933e1116296000343 checksums rmd160 6473a48520503ca8941aa5f53f604a83515e2b84 \ 44 sha256 285803b61ab62a7e1e83b494a246b9eb300105a705f1687fd68443720ac9dbef 45 45 } 46 46 47 47 depends_build-append \ … … 64 64 -DENABLE_PYTHON3=OFF \ 65 65 -DENABLE_RUBY=OFF \ 66 66 -DENABLE_ASPELL=OFF \ 67 -DENABLE_TCL=OFF \ 67 68 -DENABLE_MAN=ON 68 69 69 70 variant python requires python27 description {Compatibility variant, requires +python27} {} … … 100 101 } 101 102 } 102 103 104 variant 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 103 110 variant aspell description {Support for aspell} { 104 111 configure.args-delete -DENABLE_ASPELL=OFF 105 112 configure.args-append -DENABLE_ASPELL=ON … … 146 153 } 147 154 148 155 post-destroot { 156 # https://github.com/weechat/weechat/issues/722 157 set ext "adoc" 158 if {${subport} eq ${name}} {set ext "asciidoc"} 149 159 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/weechat151 xinstall -m 644 -W ${worksrcpath} {*}[glob doc/en/weechat*. asciidoc] ${destroot}${prefix}/share/doc/weechat160 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 152 162 } 153 163 154 164 post-install {