source: trunk/dports/net/jabber/Portfile @ 5871

Last change on this file since 5871 was 5871, checked in by mij, 16 years ago

Chase the libintl library version from the gettext update.

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 2.4 KB
Line 
1# $Id: Portfile,v 1.10 2004/03/19 23:18:44 mij Exp $
2
3PortSystem 1.0
4name            jabber
5version         1.4.2
6revision        2
7categories      net
8maintainers     darwinports@opendarwin.org
9description     Online presence and instant messaging server
10long_description        The Jabber server (jabberd) is a daemon for Jabber clients to connect and communicate with.
11platforms       darwin
12master_sites    http://jabberd.jabberstudio.org/downloads/
13checksums       md5 10780dbdb93926ea5bb360e1186b939c
14depends_lib     lib:libiconv:libiconv lib:libexpat.0:expat \
15        lib:libintl.3:gettext lib:libpth.a:pth
16configure.env   CPPFLAGS=-no-cpp-precomp
17build.type  gnu
18destroot {
19        file mkdir ${destroot}${prefix}/etc
20        file mkdir ${destroot}${prefix}/lib
21        file mkdir ${destroot}${prefix}/sbin
22        file mkdir ${destroot}${prefix}/man
23        system "install -o root -m 755 ${worksrcpath}/jabberd/jabberd ${destroot}${prefix}/sbin"
24               
25        system "install -o root -m 755 -d ${destroot}${prefix}/lib/jabber/pthsock"
26        system "install -o root -m 755 ${worksrcpath}/pthsock/pthsock_client.so ${destroot}${prefix}/lib/jabber/pthsock"
27       
28        system "install -o root -m 755 -d ${destroot}${prefix}/lib/jabber/dialback"
29        system "install -o root -m 755 ${worksrcpath}/dialback/dialback.so ${destroot}${prefix}/lib/jabber/dialback"
30       
31        system "install -o root -m 755 -d ${destroot}${prefix}/lib/jabber/dnsrv"
32        system "install -o root -m 755 ${worksrcpath}/dnsrv/dnsrv.so ${destroot}${prefix}/lib/jabber/dnsrv"
33       
34        system "install -o root -m 755 -d ${destroot}${prefix}/lib/jabber/xdb_file"
35        system "install -o root -m 755 ${worksrcpath}/xdb_file/xdb_file.so ${destroot}${prefix}/lib/jabber/xdb_file"
36       
37        system "install -o root -m 755 -d ${destroot}${prefix}/lib/jabber/jsm"
38        system "install -o root -m 755 ${worksrcpath}/jsm/jsm.so ${destroot}${prefix}/lib/jabber/jsm"
39               
40        system "install -o root -m 755 -d ${destroot}${prefix}/etc/jabber/"
41        system "install -o root -m 755 ${worksrcpath}/jabber.xml ${destroot}${prefix}/etc/jabber"
42       
43        system "install -o root -m 755 -d ${destroot}${prefix}/var/lib/jabber/"
44        system "install -o root -m 755 -d ${destroot}${prefix}/var/run/jabber/"
45        system "install -o root -m 755 -d ${destroot}${prefix}/var/log/jabber/"
46        system "install -o root -m 755 -d ${destroot}${prefix}/var/spool/jabber/"       
47
48        file copy -force ${destroot}${prefix}/etc/jabber/jabber.xml ${destroot}${prefix}/etc/jabber/jabber.xml.default
49}
50
51variant ssl {
52        depends_lib-append      lib:libssl.0.9:openssl
53        configure.args  --enable-ssl
54}
Note: See TracBrowser for help on using the repository browser.