2011-08-30 15:34:16 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Gobby < Formula
|
|
|
|
homepage 'http://gobby.0x539.de'
|
|
|
|
url 'http://releases.0x539.de/gobby/gobby-0.4.94.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '921979da611601ee6e220e2396bd2c86f0fb8c66'
|
2011-08-30 15:34:16 +00:00
|
|
|
|
|
|
|
head 'git://git.0x539.de/git/gobby.git'
|
2012-04-28 22:05:05 +00:00
|
|
|
|
2011-08-30 15:34:16 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'gtkmm'
|
|
|
|
depends_on 'libgsasl'
|
|
|
|
depends_on 'libxml++'
|
|
|
|
depends_on 'gtksourceview'
|
|
|
|
depends_on 'obby'
|
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'hicolor-icon-theme'
|
|
|
|
depends_on 'libinfinity'
|
2012-06-07 01:35:12 +00:00
|
|
|
depends_on :x11
|
2011-08-30 15:34:16 +00:00
|
|
|
|
2013-01-17 23:14:13 +00:00
|
|
|
# Fix compilation on clang per MacPorts
|
|
|
|
def patches
|
|
|
|
{ :p0 => [
|
|
|
|
"https://trac.macports.org/export/101720/trunk/dports/x11/gobby/files/patch-code-util-config.hpp.diff"
|
|
|
|
]}
|
|
|
|
end
|
|
|
|
|
2011-08-30 15:34:16 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
2013-01-17 23:14:13 +00:00
|
|
|
# Don't link this into share!
|
|
|
|
(share/"icons/hicolor/icon-theme.cache").unlink
|
2011-08-30 15:34:16 +00:00
|
|
|
end
|
|
|
|
end
|