Changeset 2030


Ignore:
Timestamp:
Feb 14, 2003, 4:28:00 AM (18 years ago)
Author:
michaelm
Message:

destroot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/jabber/Portfile

    r1528 r2030  
    1515build.type  gnu
    1616install {
    17         system "install -o root -m 755 ${worksrcpath}/jabberd/jabberd ${prefix}/sbin"
     17        system "install -d ${destroot}${prefix}/etc"
     18        system "install -d ${destroot}${prefix}/lib"
     19        system "install -d ${destroot}${prefix}/sbin"
     20        system "install -d ${destroot}${prefix}/man"
     21        system "install -o root -m 755 ${worksrcpath}/jabberd/jabberd ${destroot}${prefix}/sbin"
    1822               
    19         system "install -o root -m 755 -d ${prefix}/lib/jabber/pthsock"
    20         system "install -o root -m 755 ${worksrcpath}/pthsock/pthsock_client.so ${prefix}/lib/jabber/pthsock"
     23        system "install -o root -m 755 -d ${destroot}${prefix}/lib/jabber/pthsock"
     24        system "install -o root -m 755 ${worksrcpath}/pthsock/pthsock_client.so ${destroot}${prefix}/lib/jabber/pthsock"
    2125       
    22         system "install -o root -m 755 -d ${prefix}/lib/jabber/dialback"
    23         system "install -o root -m 755 ${worksrcpath}/dialback/dialback.so ${prefix}/lib/jabber/dialback"
     26        system "install -o root -m 755 -d ${destroot}${prefix}/lib/jabber/dialback"
     27        system "install -o root -m 755 ${worksrcpath}/dialback/dialback.so ${destroot}${prefix}/lib/jabber/dialback"
    2428       
    25         system "install -o root -m 755 -d ${prefix}/lib/jabber/dnsrv"
    26         system "install -o root -m 755 ${worksrcpath}/dnsrv/dnsrv.so ${prefix}/lib/jabber/dnsrv"
     29        system "install -o root -m 755 -d ${destroot}${prefix}/lib/jabber/dnsrv"
     30        system "install -o root -m 755 ${worksrcpath}/dnsrv/dnsrv.so ${destroot}${prefix}/lib/jabber/dnsrv"
    2731       
    28         system "install -o root -m 755 -d ${prefix}/lib/jabber/xdb_file"
    29         system "install -o root -m 755 ${worksrcpath}/xdb_file/xdb_file.so ${prefix}/lib/jabber/xdb_file"
     32        system "install -o root -m 755 -d ${destroot}${prefix}/lib/jabber/xdb_file"
     33        system "install -o root -m 755 ${worksrcpath}/xdb_file/xdb_file.so ${destroot}${prefix}/lib/jabber/xdb_file"
    3034       
    31         system "install -o root -m 755 -d ${prefix}/lib/jabber/jsm"
    32         system "install -o root -m 755 ${worksrcpath}/jsm/jsm.so ${prefix}/lib/jabber/jsm"
     35        system "install -o root -m 755 -d ${destroot}${prefix}/lib/jabber/jsm"
     36        system "install -o root -m 755 ${worksrcpath}/jsm/jsm.so ${destroot}${prefix}/lib/jabber/jsm"
    3337               
    34         system "install -o root -m 755 -d ${prefix}/etc/jabber/"
    35         system "install -o root -m 755 ${worksrcpath}/jabber.xml ${prefix}/etc/jabber"
     38        system "install -o root -m 755 -d ${destroot}${prefix}/etc/jabber/"
     39        system "install -o root -m 755 ${worksrcpath}/jabber.xml ${destroot}${prefix}/etc/jabber"
    3640       
    37         system "install -o root -m 755 -d ${prefix}/var/lib/jabber/"
    38         system "install -o root -m 755 -d ${prefix}/var/run/jabber/"
    39         system "install -o root -m 755 -d ${prefix}/var/log/jabber/"
    40         system "install -o root -m 755 -d ${prefix}/var/spool/jabber/" 
     41        system "install -o root -m 755 -d ${destroot}${prefix}/var/lib/jabber/"
     42        system "install -o root -m 755 -d ${destroot}${prefix}/var/run/jabber/"
     43        system "install -o root -m 755 -d ${destroot}${prefix}/var/log/jabber/"
     44        system "install -o root -m 755 -d ${destroot}${prefix}/var/spool/jabber/"       
    4145
    42         file copy -force ${prefix}/etc/jabber/jabber.xml ${prefix}/etc/jabber/jabber.xml.default
     46        file copy -force ${destroot}${prefix}/etc/jabber/jabber.xml ${destroot}${prefix}/etc/jabber/jabber.xml.default
    4347}
    4448
    45 contents \
    46         etc/jabber/jabber.xml.default \
    47         lib/jabber/pthsock/pthsock_client.so \
    48         lib/jabber/pthsock/ \
    49         lib/jabber/dialback/dialback.so \
    50         lib/jabber/dialback/ \
    51         lib/jabber/dnsrv/dnsrv.so \
    52         lib/jabber/dnsrv/ \
    53         lib/jabber/xdb_file/xdb_file.so \
    54         lib/jabber/xdb_file/ \
    55         lib/jabber/jsm/jsm.so \
    56         lib/jabber/jsm/ \
    57         lib/jabber/
    5849
    5950variant ssl {
Note: See TracChangeset for help on using the changeset viewer.