linamh/app-backup/svnbackup/svnbackup-1.8.ebuild
2009-12-07 17:35:44 +00:00

25 lines
665 B
Bash

# Copyright 1999-2009 Gentoo Foundation
# 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"
KEYWORDS="~x86 ~amd64 -ppc -sparc -alpha"
IUSE=""
DEPEND="dev-lang/perl"
src_compile() {
mkdir man
pod2man --section=1 "${FILESDIR}"/svnbackup.pod > man/svnbackup.1 || die "generation manpage for svnbackup.1 failed"
}
src_install() {
newbin svnbackup.sh svnbackup
dosed "s:last_saved:/var/tmp/svnbackup_history:" /usr/bin/svnbackup
doman man/*
}