diff options
| author | Yann-R | 2014-03-09 01:49:03 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2014-04-19 11:47:52 -0700 |
| commit | 366765f5991c832ac412681b8593ce6fa90af9fe (patch) | |
| tree | 40de2acc030123d086e6d48034fd8b67221183b2 /Library/Formula | |
| parent | 601c4df776eb38c2bfeda63c896c370270b623b5 (diff) | |
| download | homebrew-366765f5991c832ac412681b8593ce6fa90af9fe.tar.bz2 | |
colormake 0.9
Closes #27345.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/colormake.rb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Library/Formula/colormake.rb b/Library/Formula/colormake.rb new file mode 100644 index 000000000..5cc14ebda --- /dev/null +++ b/Library/Formula/colormake.rb @@ -0,0 +1,26 @@ +require "formula" + +class Colormake < Formula + homepage "https://github.com/pagekite/Colormake" + head "https://github.com/pagekite/Colormake.git" + url "http://bre.klaki.net/programs/colormake/colormake-0.9.tar.gz" + sha1 "6c5ab4be23d60ec79ed4c43cbeb142bfd4a4e626" + + def install + inreplace "colormake", "colormake.pl", "#{libexec}/colormake.pl" + + # Prefers symlinks than the original duplicate files + File.unlink "colormake-short", "clmake", "clmake-short" + File.symlink "colormake", "colormake-short" + File.symlink "colormake", "clmake" + File.symlink "colormake", "clmake-short" + + # Adds missing clmake.1 referenced in colormake.1 itself + File.symlink "colormake.1", "clmake.1" + + # Installs auxiliary script, commands and mans + libexec.install "colormake.pl" + bin.install "colormake", "clmake", "colormake-short", "clmake-short" + man1.install "colormake.1", "clmake.1" + end +end |
