# $Id$

PortSystem 1.0

name            rsync-devel
set date        20080220
set time        2323
version         3.0.0pre10
epoch		1203546104
categories      net
platforms       darwin freebsd sunos
maintainers     nomaintainer
description     tool that provides fast incremental file transfer
long_description \
        http://rsync.samba.org/ftp/rsync/rsync-3.0.0pre10-NEWS \
        rsync 3.0.0 is going to be a feature release that has a number  \
        of improvements. There has already been work done to lower      \
        rsync's memory use, and make recursive transfers start up more  \
        rapidly (due to an incremental recursive scan being added). This\
        version has just added xattr support (resource forks), and      \
        should also get: ACL support, filename charset-conversion       \
        support, renamed-file detection, improved performance for large \
        files, and other changes yet to be decided. \
        \
        Related pages:                                                  \
        http://samba.anu.edu.au/ftp/unpacked/rsync/NEWS                 \
        http://samba.anu.edu.au/ftp/rsync/nightly/rsync.html            \
        http://samba.anu.edu.au/ftp/rsync/nightly/rsyncd.conf.html      \
        http://samba.anu.edu.au/rsync/lists.html

homepage        http://samba.org/rsync/
master_sites    http://rsync.samba.org/ftp/rsync/old-previews/
checksums \
  md5 54bfda1a6d8a0c275920bca22fb0c68f \
  sha1 4a5b9728239e65935be0cae322941bd1a37aea06 \
  rmd160 bdcf2e3e6644f6166424e7016670c284c7027e64

distname        rsync-${version}

depends_lib     port:popt port:libiconv

configure.args  --mandir=${prefix}/share/man \
                --with-rsyncd-conf=${prefix}/etc/rsyncd.conf \
                --enable-ipv6 \
                --enable-xattr-support
configure.cflags   "-Os -I${prefix}/include"

post-destroot {
        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
        xinstall -m 644 -W ${worksrcpath} COPYING INSTALL NEWS OLDNEWS  \
                TODO README doc/README-SGML doc/profile.txt             \
                doc/rsync.sgml \
                        ${destroot}${prefix}/share/doc/${name}
}