source: trunk/dports/net/rsync/Portfile @ 88724

Last change on this file since 88724 was 88724, checked in by raimue@…, 9 years ago

net/rsync:
Update description

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 88724 2012-01-09 21:56:12Z raimue@macports.org $
3
4PortSystem          1.0
5
6name                rsync
7version             3.0.8
8revision            1
9categories          net
10license             GPL-3+
11installs_libs       no
12platforms           darwin freebsd sunos
13maintainers         nomaintainer
14description         Fast incremental file transfer
15long_description    rsync is an open source utility that provides fast \
16                    incremental file transfer. It works both locally and remote \
17                    with either the custom rsyncd protocol or a remote shell \
18                    like ssh.
19
20homepage            http://samba.org/rsync/
21master_sites        http://rsync.samba.org/ftp/rsync/ \
22                    http://rsync.samba.org/ftp/rsync/src/
23
24checksums           md5     0ee8346ce16bdfe4c88a236e94c752b4 \
25                    sha1    10e80173c7e9ed8b8a4dc9e8fdab08402da5f08d \
26                    rmd160  f00c5ba42e33a1745976c9af5e770c220a6fa4a6
27
28depends_lib         port:popt port:libiconv
29
30# these come from http://rsync.samba.org/ftp/rsync/rsync-patches-3.0.8.tar.gz
31# and need to be updated with each release
32patchfiles          patch-fileflags.diff \
33                    patch-crtimes.diff
34patch.pre_args      -p1
35
36configure.args      --with-rsyncd-conf=${prefix}/etc/rsyncd.conf
37configure.cflags   "-Os -I${prefix}/include"
38
39pre-configure {
40    system "cd ${worksrcpath}; ./prepare-source"
41}
42
43test.run           yes
44test.target        check
45
46post-destroot {
47    xinstall -d ${destroot}${prefix}/share/doc/${name}
48    xinstall -m 644 -W ${worksrcpath} \
49                    COPYING INSTALL NEWS OLDNEWS TODO README doc/README-SGML \
50                    doc/profile.txt doc/rsync.sgml \
51                    ${destroot}${prefix}/share/doc/${name}
52    xinstall -m 644 ${filespath}/rsyncd.conf.example \
53                    ${destroot}${prefix}/etc/rsyncd.conf.example
54    reinplace "s|__PREFIX__|${prefix}|g" \
55        ${destroot}${prefix}/etc/rsyncd.conf.example
56}
57
58livecheck.type      regex
59livecheck.regex     "Rsync version (\\d+(?:\\.\\d+)*) released"
60
61startupitem.create  yes
62startupitem.name    rsyncd
63startupitem.logfile ${prefix}/var/log/rsyncd.log
64startupitem.start   "${prefix}/bin/rsync --daemon --config=${prefix}/etc/rsyncd.conf"
65startupitem.stop    "kill `cat ${prefix}/var/run/rsyncd.pid`"
66startupitem.pidfile auto ${prefix}/var/run/rsyncd.pid
67
68notes "
69To use the rsyncd server you must copy\
70${prefix}/etc/rsyncd.conf.example to rsyncd.conf and add\
71your modules there. See 'man rsyncd.conf' for more\
72information.
73"
Note: See TracBrowser for help on using the repository browser.