lsyncd: install man page in #{man1} not #{man}
also clean up the formula Closes #8525. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
63d5540947
commit
875aef4f8c
1 changed files with 4 additions and 12 deletions
|
@ -3,6 +3,7 @@ class Lsyncd < Formula
|
||||||
homepage "https://github.com/axkibe/lsyncd"
|
homepage "https://github.com/axkibe/lsyncd"
|
||||||
url "https://github.com/axkibe/lsyncd/archive/release-2.2.0.tar.gz"
|
url "https://github.com/axkibe/lsyncd/archive/release-2.2.0.tar.gz"
|
||||||
sha256 "fb4b49c314846c251b624f9ee3129483c4b3d4d53c5263bb36086feb17f2e800"
|
sha256 "fb4b49c314846c251b624f9ee3129483c4b3d4d53c5263bb36086feb17f2e800"
|
||||||
|
revision 1
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
cellar :any
|
cellar :any
|
||||||
|
@ -60,19 +61,10 @@ class Lsyncd < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
# XNU Headers
|
inreplace "CMakeLists.txt", "DESTINATION man", "DESTINATION share/man/man1"
|
||||||
resource("xnu").stage buildpath/"xnu"
|
resource("xnu").stage buildpath/"xnu"
|
||||||
|
system "cmake", ".", "-DWITH_INOTIFY=OFF", "-DWITH_FSEVENTS=ON",
|
||||||
args = std_cmake_args
|
"-DXNU_DIR=#{buildpath}/xnu", *std_cmake_args
|
||||||
args << "-DWITH_INOTIFY=OFF"
|
|
||||||
args << "-DWITH_FSEVENTS=ON"
|
|
||||||
args << "-DXNU_DIR=#{buildpath/"xnu"}"
|
|
||||||
|
|
||||||
# DESTINATION man
|
|
||||||
inreplace "CMakeLists.txt", "DESTINATION man",
|
|
||||||
"DESTINATION #{man}"
|
|
||||||
|
|
||||||
system "cmake", ".", *args
|
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue