Skip to content
Permalink
Browse files

Cleaned up share/doc file installation to install into share/doc/rdif…

…f-backup

instead of share/doc/rdiff-backup-<version>.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@7538 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Robert Shaw
Robert Shaw committed Jun 16, 2004
1 parent eb7422a commit d08f3c56ce9ee2d9a1478c783646918e2361e4c6
@@ -1,8 +1,9 @@
# $Id: Portfile,v 1.2 2004/06/06 05:31:15 rshaw Exp $
# $Id: Portfile,v 1.3 2004/06/16 22:24:57 rshaw Exp $
PortSystem 1.0
PortGroup python 1.0
name py-rdiff-backup
version 0.12.6
revision 1
categories-append net
maintainers rshaw@opendarwin.org
description backs up one directory to another, possibly over a network
@@ -30,15 +31,14 @@ platforms darwin

depends_lib-append lib:librsync:librsync

build.args --librsync-dir=${prefix}

post-destroot {
set docPath ${prefix}/share/doc/rdiff-backup-${version}
xinstall -m 0644 ${worksrcpath}/examples.html ${destroot}${docPath}
reinplace "s|included in .* distribution|installed in ${docPath}|" \
${destroot}${prefix}/share/man/man1/rdiff-backup.1
patchfiles patch-setup.py \
patch-rdiff-backup.1
post-patch {
reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/rdiff-backup.1
}

build.args --librsync-dir=${prefix}

variant devel {
version 0.13.4
checksums md5 43a5e98751371fb1852fb2ebeed38e77
@@ -0,0 +1,11 @@
--- rdiff-backup.1.orig Wed Jun 16 15:18:22 2004
+++ rdiff-backup.1 Wed Jun 16 15:19:09 2004
@@ -55,7 +55,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
@@ -0,0 +1,11 @@
--- setup.py.orig Wed Jun 16 15:13:57 2004
+++ setup.py Wed Jun 16 15:14:29 2004
@@ -57,6 +57,6 @@
extra_link_args=lflags_arg)],
scripts = ['rdiff-backup'],
data_files = [('share/man/man1', ['rdiff-backup.1']),
- ('share/doc/rdiff-backup-%s' % (version_string,),
- ['CHANGELOG', 'COPYING', 'README', 'FAQ.html'])])
+ ('share/doc/rdiff-backup',
+ ['CHANGELOG', 'COPYING', 'README', 'FAQ.html', 'examples.html'])])

0 comments on commit d08f3c5

Please sign in to comment.
You can’t perform that action at this time.