2009-12-07 18:32:19 +01:00
|
|
|
# Copyright 1999-2009 Gentoo Foundation
|
2008-07-30 14:58:09 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
DESCRIPTION="Subversion backup utilities"
|
|
|
|
SRC_URI="http://svnautobackup.googlecode.com/files/${P}.tar.gz"
|
|
|
|
HOMEPAGE="http://www.doughellmann.com/projects/svnbackup/"
|
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
LICENSE="GPL-2"
|
2009-12-07 18:32:19 +01:00
|
|
|
KEYWORDS="~x86 ~amd64 -ppc -sparc -alpha"
|
2008-07-30 14:58:09 +02:00
|
|
|
IUSE=""
|
|
|
|
DEPEND="dev-lang/perl"
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
mkdir man
|
2008-07-31 14:58:00 +02:00
|
|
|
pod2man --section=1 "${FILESDIR}"/svnbackup.pod > man/svnbackup.1 || die "generation manpage for svnbackup.1 failed"
|
2008-07-30 14:58:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
newbin svnbackup.sh svnbackup
|
|
|
|
dosed "s:last_saved:/var/tmp/svnbackup_history:" /usr/bin/svnbackup
|
|
|
|
doman man/*
|
|
|
|
}
|