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

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

bitlbee: new upstream version; enable OTR by default; closes #27088

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 73003 2010-10-31 23:07:34Z yeled@macports.org $
2
3PortSystem 1.0
4
5name                    bitlbee
6version                 3.0
7categories              irc net
8platforms               darwin
9maintainers             yeled
10description             An IRC to other chat networks gateway
11long_description        bitlbee is an IRC server that can connect to IM \
12                                networks such as AIM and MSN. Its intention is you \
13                                only have to use one client application for all your \
14                                instant messaging.
15
16homepage                http://www.bitlbee.org/
17master_sites            http://get.bitlbee.org/src/
18checksums           md5     455fc8070d758c2bb3442ef4c709ad69 \
19                    sha1    c791d46b974187a1d4cf341418c3d1729f9b9658 \
20                    rmd160  7d3e9fbbf2835c014bbaf64d926aa00b3a66624d
21
22depends_lib             port:gnutls port:gettext path:lib/pkgconfig/glib-2.0.pc:glib2 port:libgcrypt \
23                                port:libgpg-error port:libiconv
24
25patchfiles              patch-configure.diff
26configure.args  --config=${prefix}/var/lib/bitlbee/ --ssl=gnutls --otr=0
27configure.universal_args
28
29destroot.target install install-etc
30
31post-destroot {
32        destroot.keepdirs ${destroot}${prefix}/var/lib/bitlbee
33        set etcdir ${destroot}${prefix}/etc/bitlbee
34        move ${etcdir}/bitlbee.conf ${etcdir}/bitlbee.conf.sample
35        move ${etcdir}/motd.txt ${etcdir}/motd.txt.sample
36}
37
38post-activate {
39        ui_msg "To complete installation, run"
40        ui_msg "sudo cp ${prefix}/etc/bitlbee/bitlbee.conf.sample ${prefix}/etc/bitlbee/bitlbee.conf"
41        ui_msg "and edit ${prefix}/etc/bitlbee/bitlbee.conf to taste"
42}
43
44livecheck.type  regex
45livecheck.url   ${master_sites}
46livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
47
48default_variants +otr
49
50variant otr description {Off-the-Record messaging} {
51        configure.args-delete --otr=0
52        configure.args-append --otr=1
53        depends_lib-append    port:libotr
54}
Note: See TracBrowser for help on using the repository browser.