2015-03-24 14:51:42 +01:00
|
|
|
class Kakoune < Formula
|
|
|
|
homepage "https://github.com/mawww/kakoune"
|
|
|
|
head "https://github.com/mawww/kakoune.git"
|
|
|
|
|
2018-01-28 20:48:43 +01: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 14:51:42 +01:00
|
|
|
|
|
|
|
def install
|
2016-12-13 22:29:00 +01:00
|
|
|
ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
|
|
|
|
|
2018-01-28 20:48:43 +01:00
|
|
|
cd "src" do
|
2017-01-15 12:29:24 +01:00
|
|
|
system "make", "install", "PREFIX=#{prefix}", "debug=no"
|
2015-03-24 14:51:42 +01:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|