source: trunk/dports/irc/bitlbee/Portfile

Last change on this file was 150907, checked in by g5pw@…, 16 months ago

irc/bitlbee: update to 3.4.2, add purple variant

The purple variant adds libpurple support.
Refactored ui_msgs to notes.
Substituted -remove and -append with -replace.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 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 150907 2016-08-01 19:56:22Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           conflicts_build 1.0
6
7name                bitlbee
8version             3.4.2
9categories          irc net
10platforms           darwin
11license             GPL-2
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/
21
22checksums           rmd160  5dcffbf030409e5fd8cc53e7a519a82107d25dea \
23                    sha256  69c85554def74f314e3b6e390389a30b0e748f23ef37883e9d7545ee2c45ea57
24
25
26depends_build       port:pkgconfig
27depends_lib         port:gnutls \
28                    port:gettext \
29                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
30                    port:libgcrypt \
31                    port:libgpg-error \
32                    port:libiconv
33
34patchfiles          patch-configure.diff
35configure.args      --config=${prefix}/var/lib/bitlbee/ \
36                    --ssl=gnutls \
37                    --otr=0 \
38                    --purple=0
39
40configure.universal_args
41
42destroot.target     install install-etc
43
44# libproxy's proxy.h shadows bitlbee's; see #27598
45conflicts_build     libproxy
46# liboauth's oauth.h shadows bitlbee's
47conflicts_build-append liboauth
48
49post-destroot {
50    destroot.keepdirs ${destroot}${prefix}/var/lib/bitlbee
51    set etcdir ${destroot}${prefix}/etc/bitlbee
52    move ${etcdir}/bitlbee.conf ${etcdir}/bitlbee.conf.sample
53    move ${etcdir}/motd.txt ${etcdir}/motd.txt.sample
54}
55
56notes "To complete installation, run"\
57"`sudo cp ${prefix}/etc/bitlbee/bitlbee.conf.sample ${prefix}/etc/bitlbee/bitlbee.conf`"\
58"and edit ${prefix}/etc/bitlbee/bitlbee.conf to taste"
59
60livecheck.type      regex
61livecheck.url       ${master_sites}
62livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
63
64default_variants +otr
65
66variant otr description {Off-the-Record messaging} {
67    configure.args-replace --otr=0 --otr=1
68    depends_lib-append    port:libotr
69}
70
71variant purple description {Add libopurple support} {
72    configure.args-replace --purple=0 --purple=1
73    depends_lib-append    port:libpurple
74}
Note: See TracBrowser for help on using the repository browser.