icmake: migrate to boneyard
Newer versions (8.0+) of icmake are broken on non-GNU systems in new ways. Icmake isn't used by anything in Homebrew core; it's just there to support yodl in the future, for zsh development. Abandoning it instead of getting the newer versions to build. Closes #3487. Signed-off-by: Andrew Janke <andrew@apjanke.net>
This commit is contained in:
parent
f83916472d
commit
feb5997e68
2 changed files with 1 additions and 49 deletions
|
@ -1,49 +0,0 @@
|
||||||
class Icmake < Formula
|
|
||||||
desc "Make utility using a C-line grammar"
|
|
||||||
homepage "https://fbb-git.github.io/icmake/"
|
|
||||||
url "https://github.com/fbb-git/icmake/archive/7.23.02.tar.gz"
|
|
||||||
sha256 "f030086d0630c2c1755519556b9cf88b8495bc8debf36b257e0c69d3b199c46b"
|
|
||||||
revision 1
|
|
||||||
|
|
||||||
bottle do
|
|
||||||
sha256 "49ab9282e271c7ef224d96bc8275ee514c947db502776875214836d26adca07e" => :el_capitan
|
|
||||||
sha256 "a3c2bb91444af1316fea3bece3998b43b668617b1718d9565059c844d073ecb1" => :yosemite
|
|
||||||
sha256 "14f7c58f5b4704762da013b6daf811f38c68a57400c3a4c00d89460a571f0a4b" => :mavericks
|
|
||||||
end
|
|
||||||
|
|
||||||
depends_on "gnu-sed"
|
|
||||||
|
|
||||||
def install
|
|
||||||
ENV.prepend_path "PATH", Formula["gnu-sed"].libexec/"gnubin"
|
|
||||||
|
|
||||||
# override the existing file
|
|
||||||
(buildpath/"icmake/INSTALL.im").open("w") do |f|
|
|
||||||
f.write <<-EOS.undent
|
|
||||||
#define BINDIR "#{bin}"
|
|
||||||
#define SKELDIR "#{pkgshare}"
|
|
||||||
#define MANDIR "#{man}"
|
|
||||||
// not a typo; the install script puts binaries under LIBDIR/
|
|
||||||
#define LIBDIR "#{bin}"
|
|
||||||
#define CONFDIR "#{etc}"
|
|
||||||
#define DOCDIR "#{doc}"
|
|
||||||
#define DOCDOCDIR "#{doc}"
|
|
||||||
EOS
|
|
||||||
end
|
|
||||||
|
|
||||||
cd "icmake" do
|
|
||||||
system "./icm_bootstrap", "/"
|
|
||||||
system "./icm_install", "all", "/"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
test do
|
|
||||||
(testpath/"script.im").write <<-EOS.undent
|
|
||||||
string TEST;
|
|
||||||
|
|
||||||
void main() {
|
|
||||||
TEST = "foobar";
|
|
||||||
}
|
|
||||||
EOS
|
|
||||||
system "#{bin}/icmake", "script.im", (testpath/"test")
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -117,6 +117,7 @@
|
||||||
"horndis": "caskroom/cask",
|
"horndis": "caskroom/cask",
|
||||||
"hugs98": "homebrew/boneyard",
|
"hugs98": "homebrew/boneyard",
|
||||||
"hwloc": "homebrew/science",
|
"hwloc": "homebrew/science",
|
||||||
|
"icmake": "homebrew/boneyard",
|
||||||
"ifuse": "homebrew/fuse",
|
"ifuse": "homebrew/fuse",
|
||||||
"imake": "homebrew/x11",
|
"imake": "homebrew/x11",
|
||||||
"inkscape": "homebrew/gui",
|
"inkscape": "homebrew/gui",
|
||||||
|
|
Loading…
Reference in a new issue