From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2DFFA1384B4 for ; Sun, 8 Nov 2015 16:26:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF1AB21C005; Sun, 8 Nov 2015 16:26:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4A74321C005 for ; Sun, 8 Nov 2015 16:26:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 76CBB33E3A9 for ; Sun, 8 Nov 2015 16:26:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0505522A2 for ; Sun, 8 Nov 2015 16:26:47 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1446999997.9f0f3455a481afb5ca69cb13d9a2eaebaff259a7.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/httrack/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/httrack/httrack-3.48.21-r1.ebuild X-VCS-Directories: www-client/httrack/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 9f0f3455a481afb5ca69cb13d9a2eaebaff259a7 X-VCS-Branch: master Date: Sun, 8 Nov 2015 16:26:47 +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: 2724cedb-dc2d-4e01-8b25-cd9780953299 X-Archives-Hash: d492865b49a0c9ad76d41d69ef8710bc commit: 9f0f3455a481afb5ca69cb13d9a2eaebaff259a7 Author: Sebastian Pipping gentoo org> AuthorDate: Sun Nov 8 16:20:25 2015 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sun Nov 8 16:26:37 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f0f3455 www-client/httrack: Handle FEATURES=nodoc (bug #493376) Also bump to EAPI 5 and address "matches more than one slot" warning Package-Manager: portage-2.2.24 www-client/httrack/httrack-3.48.21-r1.ebuild | 48 ++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/www-client/httrack/httrack-3.48.21-r1.ebuild b/www-client/httrack/httrack-3.48.21-r1.ebuild new file mode 100644 index 0000000..bf94826 --- /dev/null +++ b/www-client/httrack/httrack-3.48.21-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils + +DESCRIPTION="HTTrack Website Copier, Open Source Offline Browser" +HOMEPAGE="http://www.httrack.com/" +SRC_URI="http://mirror.httrack.com/historical/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="static-libs" + +RDEPEND=">=sys-libs/zlib-1.2.5.1-r1 + dev-libs/openssl:=" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS README greetings.txt history.txt ) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-3.48.13-minizip.patch +} + +src_configure() { + econf $(use_enable static-libs static) \ + --docdir=/usr/share/doc/${PF} \ + --htmldir=/usr/share/doc/${PF}/html +} + +src_install() { + default + + # Make webhttrack work despite FEATURES=nodoc cutting + # all of /usr/share/doc/ away (bug #493376) + if has nodoc ${FEATURES} ; then + dodir /usr/share/${PF}/ + mv "${D}"/usr/share/{doc/,}${PF}/html || die + + rm "${D}"/usr/share/httrack/html || die + dosym /usr/share/${PF}/html /usr/share/httrack/html + fi + + find "${ED}" -type f -name '*.la' -delete || die +}