rsnapshot: fix pod2man error, update head

Fixes Homebrew/homebrew#33636.
This commit is contained in:
Jack Nagel 2014-10-27 17:44:18 -05:00
parent ac8e516c4d
commit 6a643ae682

View file

@ -1,16 +1,35 @@
require 'formula'
require "formula"
class Rsnapshot < Formula
homepage 'http://rsnapshot.org'
url 'http://rsnapshot.org/downloads/rsnapshot-1.3.1.tar.gz'
sha1 'a3aa3560dc389e1b00155a5869558522c4a29e05'
homepage "http://rsnapshot.org"
head 'cvs://:pserver:anonymous:@rsnapshot.cvs.sourceforge.net:/cvsroot/rsnapshot:rsnapshot'
stable do
url "http://rsnapshot.org/downloads/rsnapshot-1.3.1.tar.gz"
sha1 "a3aa3560dc389e1b00155a5869558522c4a29e05"
# Fix pod2man error; docs in HEAD do not have this problem
patch :DATA
end
head "https://github.com/DrHyde/rsnapshot.git"
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make install"
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
system "make", "install"
end
end
__END__
diff --git a/rsnapshot-program.pl b/rsnapshot-program.pl
index dfd7ef6..72de4af 100755
--- a/rsnapshot-program.pl
+++ b/rsnapshot-program.pl
@@ -6666,6 +6666,8 @@ additional disk space will be taken up.
=back
+=back
+
Remember that tabs must separate all elements, and that
there must be a trailing slash on the end of every directory.