aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorYann-R2014-03-09 01:49:03 +0100
committerAdam Vandenberg2014-04-19 11:47:52 -0700
commit366765f5991c832ac412681b8593ce6fa90af9fe (patch)
tree40de2acc030123d086e6d48034fd8b67221183b2 /Library
parent601c4df776eb38c2bfeda63c896c370270b623b5 (diff)
downloadhomebrew-366765f5991c832ac412681b8593ce6fa90af9fe.tar.bz2
colormake 0.9
Closes #27345. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/colormake.rb26
-rw-r--r--Library/Homebrew/tap_migrations.rb1
2 files changed, 26 insertions, 1 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
diff --git a/Library/Homebrew/tap_migrations.rb b/Library/Homebrew/tap_migrations.rb
index a596aa7b6..c3869d0ea 100644
--- a/Library/Homebrew/tap_migrations.rb
+++ b/Library/Homebrew/tap_migrations.rb
@@ -3,7 +3,6 @@ TAP_MIGRATIONS = {
"blackbox" => "homebrew/boneyard",
"boost149" => "homebrew/versions",
"cmucl" => "homebrew/binary",
- "colormake" => "homebrew/headonly",
"comparepdf" => "homebrew/boneyard",
"denyhosts" => "homebrew/boneyard",
"dotwrp" => "homebrew/science",