homebrew-core/Formula/mosquitto.rb
Adam Rudd 45c0d4848d mosquitto - correct man page installation
This commit adds a patch to the mosquitto formula that corrects
its man page installation.

There was an error in man/CMakeLists.txt in that the variable
MANDEST should have been wrapped in braces rather than
parentheses.

This patch is downloaded from the mosquitto mercurial
repository at bitbucket.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-28 09:02:00 -07:00

20 lines
557 B
Ruby

require 'formula'
class Mosquitto < Formula
url 'http://mosquitto.org/files/source/mosquitto-0.9.3.tar.gz'
homepage 'http://mosquitto.org'
md5 'e40040533067a22be783af14d8f16a46'
depends_on 'cmake' => :build
def patches
# Fixes man page installation: in man/CMakeLists.txt,
# the parentheses around MANDEST should be braces.
{ :p1 => "https://bitbucket.org/oojah/mosquitto/changeset/fc5c83daefb0/raw/mosquitto-fc5c83daefb0.diff" }
end
def install
system "cmake . #{std_cmake_parameters}"
system "make install"
end
end