source: trunk/dports/irc/bitlbee/Portfile @ 118596

Last change on this file since 118596 was 118596, checked in by yeled@…, 5 years ago

yeled -> nomaintainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 118596 2014-04-05 16:19:32Z yeled@macports.org $
3
4PortSystem          1.0
5PortGroup           conflicts_build 1.0
6
7name                bitlbee
8version             3.0.5
9revision            1
10categories          irc net
11platforms           darwin
12maintainers         nomaintainer
13description         An IRC to other chat networks gateway
14long_description    bitlbee is an IRC server that can connect to IM \
15                    networks such as AIM and MSN. Its intention is you \
16                    only have to use one client application for all your \
17                    instant messaging.
18
19homepage            http://www.bitlbee.org/
20master_sites        http://get.bitlbee.org/src/
21checksums           md5     9ff97260a2a7f3a7d102db158a8d9887 \
22                    sha1    74afdff87be49ce060771a6ae10d7643cd57b9b6 \
23                    rmd160  4e3ac7d396c400328300b9c43581bdb890190814
24
25depends_build       port:pkgconfig
26depends_lib         port:gnutls \
27                    port:gettext \
28                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
29                    port:libgcrypt \
30                    port:libgpg-error \
31                    port:libiconv
32
33patchfiles          patch-configure.diff
34configure.args      --config=${prefix}/var/lib/bitlbee/ --ssl=gnutls --otr=0
35configure.universal_args
36
37destroot.target     install install-etc
38
39# libproxy's proxy.h shadows bitlbee's; see #27598
40conflicts_build     libproxy
41
42post-destroot {
43    destroot.keepdirs ${destroot}${prefix}/var/lib/bitlbee
44    set etcdir ${destroot}${prefix}/etc/bitlbee
45    move ${etcdir}/bitlbee.conf ${etcdir}/bitlbee.conf.sample
46    move ${etcdir}/motd.txt ${etcdir}/motd.txt.sample
47}
48
49post-activate {
50    ui_msg "To complete installation, run"
51    ui_msg "sudo cp ${prefix}/etc/bitlbee/bitlbee.conf.sample ${prefix}/etc/bitlbee/bitlbee.conf"
52    ui_msg "and edit ${prefix}/etc/bitlbee/bitlbee.conf to taste"
53}
54
55livecheck.type      regex
56livecheck.url       ${master_sites}
57livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
58
59default_variants +otr
60
61variant otr description {Off-the-Record messaging} {
62    configure.args-delete --otr=0
63    configure.args-append --otr=1
64    depends_lib-append    port:libotr
65}
Note: See TracBrowser for help on using the repository browser.