aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-10-27 17:44:18 -0500
committerJack Nagel2014-10-27 17:44:36 -0500
commit97c4f2a53aa20d487c05b5e9cee3b89520ef52c4 (patch)
treecedf64e528282682652e176e4c0721c71fef27d8 /Library
parent890a1ccf353d2c36a4708bceebb6b01d933f297f (diff)
downloadhomebrew-97c4f2a53aa20d487c05b5e9cee3b89520ef52c4.tar.bz2
rsnapshot: fix pod2man error, update head
Fixes #33636.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/rsnapshot.rb37
1 files changed, 28 insertions, 9 deletions
diff --git a/Library/Formula/rsnapshot.rb b/Library/Formula/rsnapshot.rb
index 9a910ac7e..4e6faa796 100644
--- a/Library/Formula/rsnapshot.rb
+++ b/Library/Formula/rsnapshot.rb
@@ -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.
+