source: trunk/dports/net/rsync-lart/Portfile

Last change on this file was 54597, checked in by toby@…, 8 years ago

remove darwin 6

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.7 KB
Line 
1# $Id: Portfile 54597 2009-07-30 00:28:15Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    rsync-lart
6version                 2.6.6
7categories              net
8maintainers             css
9description             rsync with LART extended attributes support patches
10platforms               darwin freebsd
11long_description        rsync is a file transfer program for Unix systems. \
12                rsync uses the 'rsync algorithm' which provides a very fast \
13                method for bringing remote files into sync. It does this by \
14                sending just the differences in the files across the link, \
15                without requiring that both sets of files are present at one \
16                of the ends of the link beforehand. NOTE This version of \
17                rsync adds extended attribute support from Apple as well as \
18                third party fixes from http://www.lartmaker.nl/rsync/
19
20# Related pages:
21# http://www.lartmaker.nl/rsync/
22# http://www.opensource.apple.com/darwinsource/10.4.3/rsync-20/
23# http://www.opensource.apple.com/darwinsource/10.4.3/rsync-20/patches/
24
25homepage                http://www.lartmaker.nl/rsync/
26master_sites            http://samba.org/ftp/rsync/old-versions/ \
27                        ftp://samba.anu.edu.au/pub/rsync/old-versions/  \
28                        ftp://sunsite.auc.dk/pub/unix/rsync/old-versions/  \
29                        ftp://ftp.sunet.se/pub/unix/admin/rsync/old-versions/  \
30                        ftp://ftp.fu-berlin.de/pub/unix/network/rsync/old-versions/
31distname                rsync-${version}
32checksums               md5 30c4e2849cbeae93f55548453865c2f2
33platforms               darwin freebsd sunos
34
35depends_lib             port:popt
36
37# These patches include Apple's EA and PR-3945747-endian patches as well
38# as Tiger rsync fixes from http://www.lartmaker.nl/rsync/
39patchfiles              patch-config.h.in.diff \
40                        patch-configure.diff \
41                        patch-configure.in.diff \
42                        patch-flist.c.diff \
43                        patch-generator.c.diff \
44                        patch-main.c.diff \
45                        patch-options.c.diff \
46                        patch-proto.h.diff \
47                        patch-receiver.c.diff \
48                        patch-rsync.1.diff \
49                        patch-rsync.c.diff \
50                        patch-rsync.h.diff \
51                        patch-rsync.yo.diff \
52                        patch-sender.c.diff \
53                        patch-syscall.c.diff \
54                        patch-t_unsafe.c.diff \
55                        patch-tls.c.diff \
56                        patch-trimslash.c.diff
57
58configure.args          --mandir=${prefix}/share/man \
59                        --with-rsyncd-conf=${prefix}/etc/rsyncd.conf \
60                        --enable-ea-support
61
62build.type              gnu
63
64# Activate Apple's copyfile.h header by copying it into the
65# worksrcpath, then modify the configure command to locate it.
66platform darwin 8 {
67        # Copy Apple's copyfile.h for use on Mac OS X 10.4 and higher.
68        # See APPLE_LICENSE.txt for license and copying information.
69        post-patch {
70                file copy ${portpath}/${filesdir}/copyfile.h ${worksrcpath}
71        }
72        configure.cppflags-append       "-I${worksrcpath}"
73}
74
75post-destroot {
76        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
77        xinstall -m 644 -W ${worksrcpath} COPYING INSTALL NEWS OLDNEWS TODO \
78                README doc/README-SGML doc/profile.txt doc/rsync.sgml \
79                ${destroot}${prefix}/share/doc/${name}
80}
Note: See TracBrowser for help on using the repository browser.