diff options
| author | Alex Dunn | 2015-04-04 22:02:21 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2015-04-07 08:22:34 +0100 |
| commit | 2ddb9cfab2d611644273a8b14bbd16b015bb63d9 (patch) | |
| tree | f1430af0307a4165ed1cbf2478aa37e294cfbb03 /Library/Formula | |
| parent | c970070c79cb1482f63399142c3beb2702174abc (diff) | |
| download | homebrew-2ddb9cfab2d611644273a8b14bbd16b015bb63d9.tar.bz2 | |
src 0.19
Closes #38377.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/src.rb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Library/Formula/src.rb b/Library/Formula/src.rb index adb1a6889..be745df38 100644 --- a/Library/Formula/src.rb +++ b/Library/Formula/src.rb @@ -1,7 +1,9 @@ class Src < Formula homepage "http://www.catb.org/~esr/src/" - url "http://www.catb.org/~esr/src/src-0.18.tar.gz" - sha1 "d4234bb6c56073204836ab23d18f36c1a732dd2c" + url "http://www.catb.org/~esr/src/src-0.19.tar.gz" + sha256 "3d9c5c2fe816b3f273aab17520b917a774e90776c766f165efb6ae661378a65c" + + head "git://thyrsus.com/repositories/src.git" bottle do cellar :any @@ -12,12 +14,18 @@ class Src < Formula end depends_on "rcs" + depends_on "asciidoc" if build.head? def install # OSX doesn't provide a /usr/bin/python2. Upstream has been notified but # cannot fix the issue. See: # https://github.com/Homebrew/homebrew/pull/34165#discussion_r22342214 inreplace "src", "#!/usr/bin/env python2", "#!/usr/bin/env python" + + if build.head? + ENV["XML_CATALOG_FILES"] = HOMEBREW_PREFIX/"etc/xml/catalog" + end + system "make", "install", "prefix=#{prefix}" end |
