Skip to content
Permalink
Browse files

destroot

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@2030 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Michael Maibaum
Michael Maibaum committed Feb 14, 2003
1 parent 5d1bfcc commit 656272ce215ff863ecfc99d028f24b05cb938a2e
Showing with 22 additions and 31 deletions.
  1. +22 −31 net/jabber/Portfile
@@ -14,47 +14,38 @@ depends_lib lib:libiconv:libiconv lib:libexpat.0:expat \
configure.env CPPFLAGS=-no-cpp-precomp
build.type gnu
install {
system "install -o root -m 755 ${worksrcpath}/jabberd/jabberd ${prefix}/sbin"
system "install -d ${destroot}${prefix}/etc"
system "install -d ${destroot}${prefix}/lib"
system "install -d ${destroot}${prefix}/sbin"
system "install -d ${destroot}${prefix}/man"
system "install -o root -m 755 ${worksrcpath}/jabberd/jabberd ${destroot}${prefix}/sbin"

system "install -o root -m 755 -d ${prefix}/lib/jabber/pthsock"
system "install -o root -m 755 ${worksrcpath}/pthsock/pthsock_client.so ${prefix}/lib/jabber/pthsock"
system "install -o root -m 755 -d ${destroot}${prefix}/lib/jabber/pthsock"
system "install -o root -m 755 ${worksrcpath}/pthsock/pthsock_client.so ${destroot}${prefix}/lib/jabber/pthsock"

system "install -o root -m 755 -d ${prefix}/lib/jabber/dialback"
system "install -o root -m 755 ${worksrcpath}/dialback/dialback.so ${prefix}/lib/jabber/dialback"
system "install -o root -m 755 -d ${destroot}${prefix}/lib/jabber/dialback"
system "install -o root -m 755 ${worksrcpath}/dialback/dialback.so ${destroot}${prefix}/lib/jabber/dialback"

system "install -o root -m 755 -d ${prefix}/lib/jabber/dnsrv"
system "install -o root -m 755 ${worksrcpath}/dnsrv/dnsrv.so ${prefix}/lib/jabber/dnsrv"
system "install -o root -m 755 -d ${destroot}${prefix}/lib/jabber/dnsrv"
system "install -o root -m 755 ${worksrcpath}/dnsrv/dnsrv.so ${destroot}${prefix}/lib/jabber/dnsrv"

system "install -o root -m 755 -d ${prefix}/lib/jabber/xdb_file"
system "install -o root -m 755 ${worksrcpath}/xdb_file/xdb_file.so ${prefix}/lib/jabber/xdb_file"
system "install -o root -m 755 -d ${destroot}${prefix}/lib/jabber/xdb_file"
system "install -o root -m 755 ${worksrcpath}/xdb_file/xdb_file.so ${destroot}${prefix}/lib/jabber/xdb_file"

system "install -o root -m 755 -d ${prefix}/lib/jabber/jsm"
system "install -o root -m 755 ${worksrcpath}/jsm/jsm.so ${prefix}/lib/jabber/jsm"
system "install -o root -m 755 -d ${destroot}${prefix}/lib/jabber/jsm"
system "install -o root -m 755 ${worksrcpath}/jsm/jsm.so ${destroot}${prefix}/lib/jabber/jsm"

system "install -o root -m 755 -d ${prefix}/etc/jabber/"
system "install -o root -m 755 ${worksrcpath}/jabber.xml ${prefix}/etc/jabber"
system "install -o root -m 755 -d ${destroot}${prefix}/etc/jabber/"
system "install -o root -m 755 ${worksrcpath}/jabber.xml ${destroot}${prefix}/etc/jabber"

system "install -o root -m 755 -d ${prefix}/var/lib/jabber/"
system "install -o root -m 755 -d ${prefix}/var/run/jabber/"
system "install -o root -m 755 -d ${prefix}/var/log/jabber/"
system "install -o root -m 755 -d ${prefix}/var/spool/jabber/"
system "install -o root -m 755 -d ${destroot}${prefix}/var/lib/jabber/"
system "install -o root -m 755 -d ${destroot}${prefix}/var/run/jabber/"
system "install -o root -m 755 -d ${destroot}${prefix}/var/log/jabber/"
system "install -o root -m 755 -d ${destroot}${prefix}/var/spool/jabber/"

file copy -force ${prefix}/etc/jabber/jabber.xml ${prefix}/etc/jabber/jabber.xml.default
file copy -force ${destroot}${prefix}/etc/jabber/jabber.xml ${destroot}${prefix}/etc/jabber/jabber.xml.default
}

contents \
etc/jabber/jabber.xml.default \
lib/jabber/pthsock/pthsock_client.so \
lib/jabber/pthsock/ \
lib/jabber/dialback/dialback.so \
lib/jabber/dialback/ \
lib/jabber/dnsrv/dnsrv.so \
lib/jabber/dnsrv/ \
lib/jabber/xdb_file/xdb_file.so \
lib/jabber/xdb_file/ \
lib/jabber/jsm/jsm.so \
lib/jabber/jsm/ \
lib/jabber/

variant ssl {
# depends_lib-append lib:libssl:libssl

0 comments on commit 656272c

Please sign in to comment.
You can’t perform that action at this time.