Ticket #43964: Portfile-weechat.3.diff
File Portfile-weechat.3.diff, 3.4 KB (added by harciga, 10 years ago) |
---|
-
Portfile
old new 3 3 4 4 PortSystem 1.0 5 5 PortGroup cmake 1.0 6 PortGroup github 1.0 6 7 7 8 name weechat 8 version 0.4.39 revision 110 checksums rmd160 b9625a977d36757a4b8dfa560946f1604ba5f68a \11 sha256 a8ec847d331a1201de975530a22f1813c260db420c68675b2ecaa7bf3c7c3ff812 9 13 10 homepage http://weechat.org/ 14 11 license GPL-3 … … 30 27 openmaintainer 31 28 platforms darwin 32 29 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 34 use_bzip2 yes 35 master_sites ${homepage}files/src 36 checksums rmd160 b9625a977d36757a4b8dfa560946f1604ba5f68a \ 37 sha256 a8ec847d331a1201de975530a22f1813c260db420c68675b2ecaa7bf3c7c3ff8 38 } 39 40 subport weechat-devel { 41 github.setup weechat weechat e7b604c97e1e7aa03e82b18b380228752820ee3e 42 name weechat-devel 43 version 20140807 44 45 conflicts weechat 46 47 checksums rmd160 c3a2cd0697e02a58f0c8f130484a3c71cc8ae407 \ 48 sha256 5f6722bfd086cda60b341b5933eb40b142b6d751182bc7968ab6bcc9ccc944af 49 } 35 50 36 51 depends_lib-append port:gettext \ 37 52 port:libgcrypt \ 38 53 port:libiconv \ 39 54 port:ncurses 40 55 41 depends_run-append path:etc/openssl/cert.pem:certsync42 43 56 configure.args-append \ 44 57 -DENABLE_GNUTLS=OFF \ 45 58 -DENABLE_LUA=OFF \ … … 47 60 -DENABLE_PERL=OFF \ 48 61 -DENABLE_PYTHON=OFF \ 49 62 -DENABLE_RUBY=OFF \ 50 -DENABLE_ASPELL=OFF \ 51 -DCA_FILE=${prefix}/etc/openssl/cert.pem 63 -DENABLE_ASPELL=OFF 52 64 53 65 variant aspell description {Support for aspell} { 54 66 configure.args-delete -DENABLE_ASPELL=OFF … … 91 103 } 92 104 93 105 variant tls description {Support for secure connecting} { 106 depends_run-append path:etc/openssl/cert.pem:certsync 107 94 108 configure.args-delete -DENABLE_GNUTLS=OFF 95 configure.args-append -DENABLE_GNUTLS=ON 109 configure.args-append -DENABLE_GNUTLS=ON \ 110 -DCA_FILE=${prefix}/etc/openssl/cert.pem 96 111 depends_lib-append port:gnutls 97 112 } 98 113 99 114 post-destroot { 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} 115 xinstall -m 755 -d ${destroot}${prefix}/share/doc/weechat 116 if {${subport} eq "weechat"} { 117 xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \ 118 ${destroot}${prefix}/share/doc/weechat 119 eval xinstall -m 644 -W ${worksrcpath} [glob doc/en/weechat*.txt] \ 120 ${destroot}${prefix}/share/doc/weechat 121 } else { 122 xinstall -m 644 -W ${worksrcpath} AUTHORS.asciidoc COPYING ChangeLog.asciidoc README.asciidoc \ 123 ${destroot}${prefix}/share/doc/weechat 124 eval xinstall -m 644 -W ${worksrcpath} [glob doc/en/weechat*.asciidoc] \ 125 ${destroot}${prefix}/share/doc/weechat 126 } 105 127 } 106 128 107 129 post-install {