Ticket #15798: Portfile

File Portfile, 1.3 KB (added by carson@…, 16 years ago)

New portfile for version 3.0.3 of rsync.

Line 
1# $Id: Portfile 35851 2008-04-08 16:56:36Z reiffert@macports.org $
2
3PortSystem 1.0
4
5name            rsync
6version         3.0.3
7categories      net
8platforms       darwin freebsd sunos
9maintainers     mww@macports.org
10description     tool that provides fast incremental file transfer
11long_description \
12        Rsync version 3.0.3 has been released. This is a security \
13        release that fixes a potential buffer-overflow issue. \
14        Related pages: \
15        http://rsync.samba.org/ftp/rsync/rsync-${version}-NEWS
16homepage        http://samba.org/rsync/
17master_sites    http://rsync.samba.org/ftp/rsync/
18checksums \
19  md5 16d41aab9ece435198af222c5415a304 \
20  sha1 c12668eb888e386511299616f6972bec300ed346 \
21  rmd160 9997a18cb5577bb127b26bcc55e50382b6e9f68d 
22
23distname        rsync-${version}
24
25depends_lib     port:popt port:libiconv
26
27configure.args  --mandir=${prefix}/share/man \
28                --with-rsyncd-conf=${prefix}/etc/rsyncd.conf \
29                --enable-ipv6 \
30                --enable-xattr-support
31configure.cflags   "-Os -I${prefix}/include"
32
33post-destroot {
34        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
35        xinstall -m 644 -W ${worksrcpath} COPYING INSTALL NEWS OLDNEWS  \
36                TODO README doc/README-SGML doc/profile.txt             \
37                doc/rsync.sgml \
38                        ${destroot}${prefix}/share/doc/${name}
39}