33 | | master_sites ${homepage}files/src |
34 | | use_bzip2 yes |
| 30 | if {${name} eq ${subport}} { |
| 31 | version 0.4.3 |
| 32 | revision 1 |
| 33 | conflicts weechat-devel weechat-git |
| 34 | use_bzip2 yes |
| 35 | master_sites ${homepage}files/src |
| 36 | checksums rmd160 b9625a977d36757a4b8dfa560946f1604ba5f68a \ |
| 37 | sha256 a8ec847d331a1201de975530a22f1813c260db420c68675b2ecaa7bf3c7c3ff8 |
| 38 | } |
| 39 | |
| 40 | subport weechat-devel { |
| 41 | # June, 08, 2014 https://github.com/weechat/weechat/commit/3fa4f8a4bcc80976b4743498b861e6e364ebc7ea |
| 42 | github.setup weechat weechat 3fa4f8a4bcc80976b4743498b861e6e364ebc7ea |
| 43 | name weechat-devel |
| 44 | version 20140608 |
| 45 | |
| 46 | conflicts weechat weechat-git |
| 47 | |
| 48 | checksums rmd160 ea9f19d033ffadabef17ad14a29f76ed16fe89cf \ |
| 49 | sha256 7ef94025fb4f68430fa532d84de99d74759c54203e32d7ee09515ec7b965b3a0 |
| 50 | } |
| 51 | |
| 52 | subport weechat-git { |
| 53 | github.setup weechat weechat master |
| 54 | name weechat-git |
| 55 | version git-latest |
| 56 | |
| 57 | conflicts weechat weechat-devel |
| 58 | |
| 59 | checksum { |
| 60 | } |
| 61 | |
| 62 | pre-configure { |
| 63 | ui_msg "##########################################################" |
| 64 | ui_msg "# This is the latest source code taken directly from the " |
| 65 | ui_msg "# official weechat development git repository. It is made " |
| 66 | ui_msg "# available for those who want to be on the bleeding edge." |
| 67 | ui_msg "# DO NOT EXPECT THIS PORT TO ALWAYS BUILD CORRECTLY. " |
| 68 | ui_msg "##########################################################" |
| 69 | ui_msg " " |
| 70 | ui_msg "######################################################" |
| 71 | ui_msg "# If this port fails to build, install the sub-port " |
| 72 | ui_msg "# weechat-devel which has been tested and shouldn't " |
| 73 | ui_msg "# be more than a couple weeks behind the source code." |
| 74 | ui_msg "######################################################" |
| 75 | } |
| 76 | |
| 77 | } |
100 | | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
101 | | xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \ |
102 | | ${destroot}${prefix}/share/doc/${name} |
103 | | eval xinstall -m 644 -W ${worksrcpath} [glob doc/en/weechat*.txt] \ |
104 | | ${destroot}${prefix}/share/doc/${name} |
| 143 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/weechat |
| 144 | if {${subport} eq "weechat"} { |
| 145 | xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \ |
| 146 | ${destroot}${prefix}/share/doc/weechat |
| 147 | eval xinstall -m 644 -W ${worksrcpath} [glob doc/en/weechat*.txt] \ |
| 148 | ${destroot}${prefix}/share/doc/weechat |
| 149 | } else { |
| 150 | xinstall -m 644 -W ${worksrcpath} AUTHORS.asciidoc COPYING ChangeLog.asciidoc README.asciidoc \ |
| 151 | ${destroot}${prefix}/share/doc/weechat |
| 152 | eval xinstall -m 644 -W ${worksrcpath} [glob doc/en/weechat*.asciidoc] \ |
| 153 | ${destroot}${prefix}/share/doc/weechat |
| 154 | } |