diff options
| author | Clinton R. Nixon | 2009-09-06 00:43:00 -0400 |
|---|---|---|
| committer | Max Howell | 2009-09-14 20:33:46 +0100 |
| commit | 0df406ae4fffdcef862f17d6e8275eb31d887c35 (patch) | |
| tree | 2e1d457eea100c1d7fb526cc26d6105bdeb58858 /Library | |
| parent | 80a54dc5b2145bf494655af1a0b1c17c0700be54 (diff) | |
| download | brew-0df406ae4fffdcef862f17d6e8275eb31d887c35.tar.bz2 | |
Ant formula
Ant is a Java-based build tool. In theory, it is kind of like Make, without
Make's wrinkles and with the full portability of pure Java code.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/pathname+yeast.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/pathname+yeast.rb b/Library/Homebrew/pathname+yeast.rb index cf068d0fa..5bed99231 100644 --- a/Library/Homebrew/pathname+yeast.rb +++ b/Library/Homebrew/pathname+yeast.rb @@ -140,7 +140,11 @@ class Pathname # eg. foobar4.5.1 /((\d+\.)*\d+)$/.match stem return $1 if $1 - + + # eg foobar-4.5.0-bin + /-((\d+\.)*\d+-bin)$/.match stem + return $1 if $1 + # eg. otp_src_R13B (this is erlang's style) # eg. astyle_1.23_macosx.tar.gz stem.scan /_([^_]+)/ do |match| |
