From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 85ABD1396D0 for ; Tue, 22 Aug 2017 14:21:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 236881FC093; Tue, 22 Aug 2017 14:21:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EFD941FC08C for ; Tue, 22 Aug 2017 14:21:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 31A40341866 for ; Tue, 22 Aug 2017 14:21:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 652ED7EBC for ; Tue, 22 Aug 2017 14:21:14 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1503411613.2826aa59327c2b17f2aec6321c5e6279a4a959e6.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/opencc/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/opencc/opencc-1.0.5.ebuild X-VCS-Directories: app-i18n/opencc/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 2826aa59327c2b17f2aec6321c5e6279a4a959e6 X-VCS-Branch: master Date: Tue, 22 Aug 2017 14:21:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dc67af01-5ae9-4bcc-afe3-09a32c0f832c X-Archives-Hash: e7398b9f9952ac274a63d7bcbf347d48 commit: 2826aa59327c2b17f2aec6321c5e6279a4a959e6 Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Tue Aug 22 10:41:47 2017 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Tue Aug 22 14:20:13 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2826aa59 app-i18n/opencc: Install HTML documentation in Gentoo-preferred location. app-i18n/opencc/opencc-1.0.5.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app-i18n/opencc/opencc-1.0.5.ebuild b/app-i18n/opencc/opencc-1.0.5.ebuild index 318fb49f04b..bd885053aae 100644 --- a/app-i18n/opencc/opencc-1.0.5.ebuild +++ b/app-i18n/opencc/opencc-1.0.5.ebuild @@ -37,5 +37,10 @@ src_configure() { src_install() { cmake-utils_src_install + if use doc; then + mv "${ED}usr/share/opencc/doc/html" "${ED}usr/share/doc/${P}/html" || die + rmdir "${ED}usr/share/opencc/doc" || die + fi + use static-libs || find "${ED}" -name '*.la' -o -name '*.a' -exec rm {} + }