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

Last change on this file since 104573 was 99393, checked in by ryandesign@…, 8 years ago

bitlbee: use conflicts_build (#36037)

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