2015-03-24 16:51:42 +03:00
|
|
|
class Kakoune < Formula
|
|
|
|
homepage "https://github.com/mawww/kakoune"
|
|
|
|
head "https://github.com/mawww/kakoune.git"
|
|
|
|
|
2018-01-28 22:48:43 +03:00
|
|
|
depends_on "docbook-xsl" => :build
|
|
|
|
depends_on "ncurses" => [:build, :recommended]
|
|
|
|
depends_on "asciidoc" => :build
|
|
|
|
|
|
|
|
unless OS.mac?
|
|
|
|
depends_on "libxslt" => :build
|
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
end
|
2015-03-24 16:51:42 +03:00
|
|
|
|
|
|
|
def install
|
2016-12-14 00:29:00 +03:00
|
|
|
ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
|
|
|
|
|
2018-01-28 22:48:43 +03:00
|
|
|
cd "src" do
|
2017-01-15 14:29:24 +03:00
|
|
|
system "make", "install", "PREFIX=#{prefix}", "debug=no"
|
2015-03-24 16:51:42 +03:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|