source: trunk/dports/irc/weechat/Portfile @ 93056

Last change on this file since 93056 was 93056, checked in by and.damore@…, 8 years ago

port weechat: avoid duplicate plugin loading, copy docs according to mphier, close ticket 33456, maintainer timeout

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.1 KB
Line 
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 93056 2012-05-14 14:26:21Z and.damore@macports.org $
3
4PortSystem 1.0
5
6name        weechat
7version     0.3.7
8revision    1
9categories  irc
10maintainers otherware.org:nefar openmaintainer
11license     GPL-3
12description Fast, light & extensible IRC client
13long_description    \
14    WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client\
15     for many operating systems. Everything can be done with a keyboard.\
16     It is customizable and extensible with plugins/scripts, and includes:\
17      - nicklist\
18      - smart hotlist\
19      - infobar with highlight notification\
20      - horizontal and vertical split\
21      - double charset support (decode/encode)\
22      - FIFO pipe for remote control\
23      - and much more!
24homepage    http://weechat.org/
25platforms   darwin
26master_sites    ${homepage}files/src
27
28checksums           rmd160  9f830136eccf6d4c61bbd09ceb7b9b5aab22e947 \
29                    sha256  8ef5e3daf49e75669e36093c1df852e65b51d512073c6e6b935a7fa90f6b7bca
30
31depends_build   port:pkgconfig
32depends_lib port:gettext port:libiconv port:ncurses port:libgcrypt
33
34configure.args  --without-debug --disable-gnutls --disable-lua \
35        --disable-perl --disable-python --disable-ruby --disable-aspell --disable-guile
36
37use_bzip2   yes
38
39variant aspell description {Support for aspell} {
40    configure.args-delete   --disable-aspell
41    configure.args-append   --enable-aspell
42    depends_lib-append      port:aspell
43}
44
45variant lua description {Bindings for lua plugins} {
46    configure.args-delete --disable-lua
47    configure.args-append --enable-lua
48    depends_lib-append    port:lua
49}
50
51variant scheme description {Bindings for Scheme (guile) plugins} {
52    configure.args-delete --disable-guile
53    configure.args-append --enable-guile
54    depends_lib-append    port:guile
55}
56
57variant perl description {Bindings for perl plugins} {
58    configure.args-delete --disable-perl
59    configure.args-append --enable-perl
60    depends_lib-append    path:bin/perl:perl5
61}
62
63variant python description {Bindings for python plugins} {
64    configure.args-delete   --disable-python
65    configure.args-append   --enable-python
66    depends_lib-append      path:bin/python:python26
67}
68
69variant ruby description {Bindings for ruby plugins} {
70    configure.args-delete --disable-ruby
71    configure.args-append --enable-ruby
72    depends_lib-append    port:ruby
73}
74
75variant tls description {Support for secure connecting} {
76    configure.args-delete --disable-gnutls
77    configure.args-append --enable-gnutls
78    depends_lib-append    port:gnutls
79}
80
81post-destroot {
82    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
83    xinstall -m 644 -W ${worksrcpath} COPYING README AUTHORS NEWS ABOUT-NLS Changelog \
84        ${destroot}${prefix}/share/doc/${name}
85    eval xinstall -m 644 -W ${worksrcpath} [glob doc/en/weechat*.txt] \
86        ${destroot}${prefix}/share/doc/${name}
87
88    xinstall -m 755 ${worksrcpath}/doc/weechat-curses.1 ${destroot}${prefix}/share/man/man1
89
90    eval delete [glob -type l ${destroot}${prefix}/lib/weechat/plugins/*.so]
91}
92
Note: See TracBrowser for help on using the repository browser.