babeld: use upstream patch
Got a patch accepted upstream that means in future versions we won’t need to patch the man placement any more. Closes Homebrew/homebrew#36686. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
9d8ac9ed0f
commit
6c932532ff
1 changed files with 10 additions and 28 deletions
|
@ -1,9 +1,17 @@
|
|||
class Babeld < Formula
|
||||
homepage "http://www.pps.univ-paris-diderot.fr/~jch/software/babel/"
|
||||
url "http://www.pps.univ-paris-diderot.fr/~jch/software/files/babeld-1.5.1.tar.gz"
|
||||
sha1 "6ff3a7685e62034df83b143a36a4960b2e4d89b9"
|
||||
head "https://github.com/jech/babeld.git"
|
||||
|
||||
stable do
|
||||
url "http://www.pps.univ-paris-diderot.fr/~jch/software/files/babeld-1.5.1.tar.gz"
|
||||
sha1 "6ff3a7685e62034df83b143a36a4960b2e4d89b9"
|
||||
|
||||
patch do
|
||||
url "https://github.com/jech/babeld/commit/049003.diff"
|
||||
sha1 "acbe00c7591476f96b3494cb7a4685b3a4dc7513"
|
||||
end
|
||||
end
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
sha1 "a965f70b84f8fea7ce7a7f92252e61d01a6b9e7b" => :yosemite
|
||||
|
@ -11,9 +19,6 @@ class Babeld < Formula
|
|||
sha1 "69e5c32092ccfdaeaff3615fbbaf15e41e327e41" => :mountain_lion
|
||||
end
|
||||
|
||||
# https://lists.alioth.debian.org/pipermail/babel-users/2015-January/001826.html
|
||||
patch :DATA
|
||||
|
||||
def install
|
||||
system "make", "LDLIBS=''"
|
||||
system "make", "install", "PREFIX=#{prefix}"
|
||||
|
@ -25,26 +30,3 @@ class Babeld < Formula
|
|||
EOS
|
||||
end
|
||||
end
|
||||
|
||||
__END__
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 7ad8b78..39c415c 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -38,12 +38,12 @@ install.minimal: babeld
|
||||
cp -f babeld $(TARGET)$(PREFIX)/bin
|
||||
|
||||
install: install.minimal all
|
||||
- mkdir -p $(TARGET)$(PREFIX)/man/man8
|
||||
- cp -f babeld.man $(TARGET)$(PREFIX)/man/man8/babeld.8
|
||||
+ mkdir -p $(TARGET)$(PREFIX)/share/man/man8
|
||||
+ cp -f babeld.man $(TARGET)$(PREFIX)/share/man/man8/babeld.8
|
||||
|
||||
uninstall:
|
||||
-rm -f $(TARGET)$(PREFIX)/bin/babeld
|
||||
- -rm -f $(TARGET)$(PREFIX)/man/man8/babeld.8
|
||||
+ -rm -f $(TARGET)$(PREFIX)/share/man/man8/babeld.8
|
||||
|
||||
clean:
|
||||
-rm -f babeld babeld.html *.o *~ core TAGS gmon.out
|
||||
|
||||
|
|
Loading…
Reference in a new issue