net-misc/ntpclient: put docs in DOCS array.
authorPatrice Clement <monsieurp@gentoo.org>
Sat, 7 Oct 2017 17:37:47 +0000 (19:37 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Sat, 7 Oct 2017 17:37:47 +0000 (19:37 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

net-misc/ntpclient/ntpclient-2017.217.ebuild

index 1b87f1f32d2269cf1e9311df1f91f54b04f24fda..462dc406de394e44bc9dd91edd9f3eb80a15ed40 100644 (file)
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+
 inherit eutils flag-o-matic toolchain-funcs
 
 DESCRIPTION="A NTP (RFC-1305) client for unix-alike computers"
@@ -11,7 +12,8 @@ SRC_URI="https://github.com/troglobit/ntpclient/releases/download/2017_217/ntpcl
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
+
+DOCS=( README.md "doc/HOWTO.md" "doc/rate.awk" "doc/rate2.awk" )
 
 src_unpack() {
        default
@@ -19,7 +21,6 @@ src_unpack() {
 }
 
 src_install() {
+       einstalldocs
        dobin "src/${PN}"
-       dodoc README.md
-       dodoc "doc/HOWTO.md" "doc/rate.awk" "doc/rate2.awk"
 }