[67418] trunk/dports/python/rdiff-backup

perry at macports.org perry at macports.org
Sat May 8 20:48:55 PDT 2010


Revision: 67418
          http://trac.macports.org/changeset/67418
Author:   perry at macports.org
Date:     2010-05-08 20:48:49 -0700 (Sat, 08 May 2010)
Log Message:
-----------
Cleaned up rdiff-backup (e.g., added license information) and marked myself as
maintainer.

Modified Paths:
--------------
    trunk/dports/python/rdiff-backup/Portfile

Added Paths:
-----------
    trunk/dports/python/rdiff-backup/files/patch-rdiff-backup.1.diff
    trunk/dports/python/rdiff-backup/files/patch-setup.py.diff

Removed Paths:
-------------
    trunk/dports/python/rdiff-backup/files/patch-rdiff-backup.1
    trunk/dports/python/rdiff-backup/files/patch-setup.py

Modified: trunk/dports/python/rdiff-backup/Portfile
===================================================================
--- trunk/dports/python/rdiff-backup/Portfile	2010-05-08 17:47:54 UTC (rev 67417)
+++ trunk/dports/python/rdiff-backup/Portfile	2010-05-09 03:48:49 UTC (rev 67418)
@@ -1,43 +1,47 @@
 # $Id$
-PortSystem      1.0
-PortGroup       python26 1.0
-name            rdiff-backup
-version         1.2.8
-revision        1
+
+PortSystem          1.0
+PortGroup           python26 1.0
+
+name                rdiff-backup
+version             1.2.8
+revision            2
 categories-append   net sysutils
-maintainers     nomaintainer
-description     backs up one directory to another, possibly over a network
-long_description    rdiff-backup backs up one directory to another, \
-                    possibly over a network. The target directory ends \
-                    up a copy of the source directory, but extra reverse \
-                    diffs are stored in a special subdirectory of that \
-                    target directory, so you can still recover files \
-                    lost some time ago. The idea is to combine the best \
-                    features of a mirror and an incremental backup. \
-                    rdiff-backup also preserves subdirectories, hard \
-                    links, dev files, permissions, uid/gid ownership, \
-                    and modification times. Also, rdiff-backup can \
-                    operate in a bandwidth efficient manner over a pipe, \
-                    like rsync. Thus you can use rdiff-backup and ssh to \
-                    securely back a hard drive up to a remote location, \
-                    and only the differences will be transmitted. \
-                    Finally, rdiff-backup is easy to use and settings \
-                    have sensical defaults.
-homepage        http://www.nongnu.org/rdiff-backup/
-master_sites    savannah
-distname        rdiff-backup-${version}
-checksums       md5 1a94dc537fcf74d6a3a80bd27808e77b \
-                sha1 14ffe4f5b46a8a96ded536c1d03ae5e85faae318 \
-                rmd160 f7fb7a894afe17b495611a3738c85263ae72b2b5
-platforms       darwin
+maintainers         perry openmaintainer
+platforms           darwin
 
-depends_lib-append  port:librsync \
-                    port:py26-xattr
+description         rdiff-backup backs up one directory to another, possibly \
+                    over a network.
+long_description    ${description}
+license             GPLv2
+homepage            http://rdiff-backup.nongnu.org/
 
-patchfiles      patch-setup.py \
-                patch-rdiff-backup.1
+livecheck.regex     {Version (.+?),.+new stable}
+livecheck.type      regex
+livecheck.url       ${homepage}
+
+depends_lib-append  port:librsync port:py26-xattr
+
+distname            rdiff-backup-${version}
+master_sites        savannah
+
+checksums           rmd160 f7fb7a894afe17b495611a3738c85263ae72b2b5
+
+patchfiles          patch-rdiff-backup.1.diff patch-setup.py.diff
+
 post-patch {
     reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/rdiff-backup.1
 }
 
-build.args      --librsync-dir=${prefix}
+build.args          --librsync-dir=${prefix}
+
+set python.link_binaries_suffix {}
+
+post-destroot {
+    file delete -force ${destroot}${prefix}/share/doc/rdiff-backup
+    ln -s ${python.prefix}/share/doc/rdiff-backup ${destroot}${prefix}/share/doc/rdiff-backup
+
+    file mkdir ${destroot}${prefix}/share/man/man1
+    ln -s ${python.prefix}/share/man/man1/rdiff-backup-statistics.1 ${destroot}${prefix}/share/man/man1/rdiff-backup-statistics.1
+    ln -s ${python.prefix}/share/man/man1/rdiff-backup.1 ${destroot}${prefix}/share/man/man1/rdiff-backup.1
+}

Deleted: trunk/dports/python/rdiff-backup/files/patch-rdiff-backup.1
===================================================================
--- trunk/dports/python/rdiff-backup/files/patch-rdiff-backup.1	2010-05-08 17:47:54 UTC (rev 67417)
+++ trunk/dports/python/rdiff-backup/files/patch-rdiff-backup.1	2010-05-09 03:48:49 UTC (rev 67418)
@@ -1,11 +0,0 @@
---- rdiff-backup.1.orig	Wed Jun 16 15:18:22 2004
-+++ rdiff-backup.1	Wed Jun 16 15:19:09 2004
-@@ -58,7 +58,7 @@
- 
- Finally, this man page is intended more as a precise description of
- the behavior and syntax of rdiff-backup.  New users may want to check
--out the examples.html file included in the rdiff-backup distribution.
-+out the examples.html installed in @PREFIX@/share/doc/rdiff-backup.
- 
- .SH OPTIONS
- .TP

Copied: trunk/dports/python/rdiff-backup/files/patch-rdiff-backup.1.diff (from rev 67417, trunk/dports/python/rdiff-backup/files/patch-rdiff-backup.1)
===================================================================
--- trunk/dports/python/rdiff-backup/files/patch-rdiff-backup.1.diff	                        (rev 0)
+++ trunk/dports/python/rdiff-backup/files/patch-rdiff-backup.1.diff	2010-05-09 03:48:49 UTC (rev 67418)
@@ -0,0 +1,11 @@
+--- rdiff-backup.1.orig	2010-05-08 19:40:56.000000000 -0700
++++ rdiff-backup.1	2010-05-08 19:43:01.000000000 -0700
+@@ -58,7 +58,7 @@
+ 
+ Finally, this man page is intended more as a precise description of
+ the behavior and syntax of rdiff-backup.  New users may want to check
+-out the examples.html file included in the rdiff-backup distribution.
++out @PREFIX@/share/doc/rdiff-backup/examples.html.
+ 
+ .SH OPTIONS
+ .TP

Deleted: trunk/dports/python/rdiff-backup/files/patch-setup.py
===================================================================
--- trunk/dports/python/rdiff-backup/files/patch-setup.py	2010-05-08 17:47:54 UTC (rev 67417)
+++ trunk/dports/python/rdiff-backup/files/patch-setup.py	2010-05-09 03:48:49 UTC (rev 67418)
@@ -1,11 +0,0 @@
---- setup.py.orig	Wed Jun 16 15:13:57 2004
-+++ setup.py	Wed Jun 16 15:14:29 2004
-@@ -75,7 +75,7 @@
- 	  scripts = ['rdiff-backup', 'rdiff-backup-statistics'],
- 	  data_files = [('share/man/man1', ['rdiff-backup.1',
- 										'rdiff-backup-statistics.1']),
--					('share/doc/rdiff-backup-%s' % (version_string,),
--					 ['CHANGELOG', 'COPYING', 'README', 'FAQ.html'])],
-+					('share/doc/rdiff-backup',
-+					 ['CHANGELOG', 'COPYING', 'README', 'FAQ.html', 'examples.html'])],
- 					**extra_options)

Copied: trunk/dports/python/rdiff-backup/files/patch-setup.py.diff (from rev 67417, trunk/dports/python/rdiff-backup/files/patch-setup.py)
===================================================================
--- trunk/dports/python/rdiff-backup/files/patch-setup.py.diff	                        (rev 0)
+++ trunk/dports/python/rdiff-backup/files/patch-setup.py.diff	2010-05-09 03:48:49 UTC (rev 67418)
@@ -0,0 +1,11 @@
+--- setup.py.orig	Wed Jun 16 15:13:57 2004
++++ setup.py	Wed Jun 16 15:14:29 2004
+@@ -75,7 +75,7 @@
+ 	  scripts = ['rdiff-backup', 'rdiff-backup-statistics'],
+ 	  data_files = [('share/man/man1', ['rdiff-backup.1',
+ 										'rdiff-backup-statistics.1']),
+-					('share/doc/rdiff-backup-%s' % (version_string,),
+-					 ['CHANGELOG', 'COPYING', 'README', 'FAQ.html'])],
++					('share/doc/rdiff-backup',
++					 ['CHANGELOG', 'COPYING', 'README', 'FAQ.html', 'examples.html'])],
+ 					**extra_options)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100508/64233934/attachment.html>


More information about the macports-changes mailing list