Ticket #44672: Portfile-weechat.diff
File Portfile-weechat.diff, 3.5 KB (added by harciga, 10 years ago) |
---|
-
Portfile
old new 1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 # $Id: Portfile 1 22412 2014-07-22 12:41:54Z ryandesign@macports.org $2 # $Id: Portfile 119549 2014-04-30 07:42:17Z and.damore@macports.org $ 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 210 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 1.0 32 conflicts weechat-devel 33 use_bzip2 yes 34 master_sites ${homepage}files/src 35 checksums rmd160 d36e7144884a0779b8242ac5e35f4e3c6379af65 \ 36 sha256 82563f222df3a8b3381216d4e97e02bff79b8d836d4dac0eb08ff75bde83cb3d 37 } 38 39 subport weechat-devel { 40 github.setup weechat weechat 1b7352e3797c7224941b27c87606859affc28b6d 41 name weechat-devel 42 version 20140815 43 44 conflicts weechat 45 46 checksums rmd160 054800a36f01a879f8a74a39b0f24df3ebb59f34 \ 47 sha256 fc4f28126384596657e53dd072767ee8daf681f40c62ff67ea33e7d78f4c774a 48 } 49 50 depends_build-append \ 51 port:asciidoc 35 52 36 53 depends_lib-append port:gettext \ 37 54 port:libgcrypt \ 38 55 port:libiconv \ 39 56 port:ncurses 40 57 41 depends_run-append path:etc/openssl/cert.pem:certsync42 43 58 configure.args-append \ 44 59 -DENABLE_GNUTLS=OFF \ 45 60 -DENABLE_LUA=OFF \ … … 48 63 -DENABLE_PYTHON=OFF \ 49 64 -DENABLE_RUBY=OFF \ 50 65 -DENABLE_ASPELL=OFF \ 51 -D CA_FILE=${prefix}/etc/openssl/cert.pem66 -DENABLE_MAN=ON 52 67 53 68 variant aspell description {Support for aspell} { 54 69 configure.args-delete -DENABLE_ASPELL=OFF … … 91 106 } 92 107 93 108 variant tls description {Support for secure connecting} { 109 depends_run-append path:etc/openssl/cert.pem:certsync 110 94 111 configure.args-delete -DENABLE_GNUTLS=OFF 95 configure.args-append -DENABLE_GNUTLS=ON 112 configure.args-append -DENABLE_GNUTLS=ON \ 113 -DCA_FILE=${prefix}/etc/openssl/cert.pem 96 114 depends_lib-append port:gnutls 97 115 } 98 116 117 variant doc description {Build Documentation and plugin API} { 118 depends_build-append port:source-highlight 119 120 configure.args-append -DENABLE_DOC=ON 121 } 122 99 123 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} 124 xinstall -m 755 -d ${destroot}${prefix}/share/doc/weechat 125 xinstall -m 644 -W ${worksrcpath} AUTHORS.asciidoc COPYING ChangeLog.asciidoc README.asciidoc ${destroot}${prefix}/share/doc/weechat 126 eval xinstall -m 644 -W ${worksrcpath} [glob doc/en/weechat*.asciidoc] ${destroot}${prefix}/share/doc/weechat 105 127 } 106 128 107 129 post-install {