commit: fc093b700face76248b696cf1558581455ad4777
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 25 19:33:15 2016 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Sep 25 19:43:43 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc093b70
app-admin/lsyncd: Install man page in the right place.
Package-Manager: portage-2.3.1
app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch | 8 +++++++
app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild | 29 ++++++++++++++++++++++++
2 files changed, 37 insertions(+)
diff --git a/app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch
b/app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch
new file mode 100644
index 00000000..c78df89
--- /dev/null
+++ b/app-admin/lsyncd/files/lsyncd-2.1.6-mandir.patch
@@ -0,0 +1,8 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -92,4 +92,4 @@
+ target_link_libraries( lsyncd ${LUA_LIBRARIES} )
+
+ install( TARGETS lsyncd RUNTIME DESTINATION bin )
+-install( FILES doc/lsyncd.1 DESTINATION man)
++install( FILES doc/lsyncd.1 DESTINATION share/man/man1)
diff --git a/app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild
b/app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild
new file mode 100644
index 00000000..d8152bf
--- /dev/null
+++ b/app-admin/lsyncd/lsyncd-2.1.6-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+CMAKE_IN_SOURCE_BUILD="YES_PLEASE_OMG"
+inherit cmake-utils
+
+DESCRIPTION="Live Syncing (Mirror) Daemon"
+HOMEPAGE="https://github.com/axkibe/lsyncd"
+SRC_URI="https://github.com/axkibe/lsyncd/archive/release-${PV}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+CDEPEND=">=dev-lang/lua-5.1[deprecated]"
+DEPEND="${CDEPEND}
+ app-text/asciidoc
+ virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+ net-misc/rsync"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-mandir.patch
+)
+
+S=${WORKDIR}/${PN}-release-${PV}