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 96940139694 for ; Sat, 6 May 2017 05:55:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87FB2E0CAB; Sat, 6 May 2017 05:55:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 50A50E0CAB for ; Sat, 6 May 2017 05:55:19 +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 882AA340DF9 for ; Sat, 6 May 2017 05:55:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB23D845 for ; Sat, 6 May 2017 05:55:14 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1494050090.99a82a0bd419f480a90583865acbf5926be3abd3.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/htmldoc/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/htmldoc/Manifest app-text/htmldoc/htmldoc-1.8.30.ebuild X-VCS-Directories: app-text/htmldoc/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 99a82a0bd419f480a90583865acbf5926be3abd3 X-VCS-Branch: master Date: Sat, 6 May 2017 05:55: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: bbcc557c-5045-4639-a385-fe429435fb65 X-Archives-Hash: 2ffc84cfaeae26aa7f940a94804ff128 commit: 99a82a0bd419f480a90583865acbf5926be3abd3 Author: Michael Orlitzky gentoo org> AuthorDate: Sat May 6 05:54:34 2017 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Sat May 6 05:54:50 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99a82a0b app-text/htmldoc: new version 1.8.30. This new version makes use of the DSTROOT build system variable, avoiding the need to patch in DESTDIR everywhere. It also fixes some more installation paths to avoid moving things around in src_install, and avoids a (now-pointless) sed on the LIBS variable. Gentoo-Bug: 615208 Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-text/htmldoc/Manifest | 1 + app-text/htmldoc/htmldoc-1.8.30.ebuild | 43 ++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/app-text/htmldoc/Manifest b/app-text/htmldoc/Manifest index db40799ac30..8df11ba658f 100644 --- a/app-text/htmldoc/Manifest +++ b/app-text/htmldoc/Manifest @@ -1 +1,2 @@ DIST htmldoc-1.8.29-source.tar.bz2 4089227 SHA256 e8c96ad740d19169eab8305c8e2ee1c795c4afa59ba99d18786ad191a2853f31 SHA512 06c4367b84005624564dfb33d2cc632cbfc711268ffce9efe00c17760da17637949fc7415fd29fcd63edc26ba96ff18cf57d1e9d36e7205b92ac2095cf4acfc8 WHIRLPOOL 3efe016ce4e071d164e3ca44fe3c8cba9ba830eb0847215116fbccab45b7ae913bfe94c723d4c8ba952c48ce31c68e5c4a71bd7048030a03c8fb3dffe42ea6d3 +DIST htmldoc-1.8.30-source.tar.gz 3901592 SHA256 7fb7a532f590f7ce1b7c8486d9fe30adaea3c7c32cb412ba7cf093d67cba5fc6 SHA512 713dc67622533dae896745ac8809e43a7f91696715aeb77df2628bd04c0d3e16c8402891499e8e0c10cab793b44114e600d5935b3c76a3cfa303c10897456804 WHIRLPOOL 873cc5785bc295197e8461214f02279b6225b9ea07345a86e855341abc5a827aeef0c715b4c77ed8a74028e2a5a61ae6b0412055c09cbe39a92be54764561d7f diff --git a/app-text/htmldoc/htmldoc-1.8.30.ebuild b/app-text/htmldoc/htmldoc-1.8.30.ebuild new file mode 100644 index 00000000000..6d672ebc0ad --- /dev/null +++ b/app-text/htmldoc/htmldoc-1.8.30.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="Convert HTML pages into a PDF document" +HOMEPAGE="http://www.msweet.org/projects.php?Z1" +SRC_URI="https://github.com/michaelrsweet/${PN}/releases/download/v${PV}/${P}-source.tar.gz" +IUSE="fltk" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +DEPEND=">=media-libs/libpng-1.4:0= + virtual/jpeg:0 + fltk? ( x11-libs/fltk:1 )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +src_prepare() { + default + + # make sure not to use the libs htmldoc ships with + rm -r jpeg png zlib || die 'failed to unbundle jpeg, png, and zlib' + + # Fix the documentation path in a few places. Some Makefiles aren't + # autotoolized =( + for file in configure doc/Makefile doc/htmldoc.man; do + sed -i "${file}" \ + -e "s:/doc/htmldoc:/doc/${PF}/html:g" \ + || die "failed to fix documentation path in ${file}" + done +} + +src_configure() { + CC=$(tc-getCC) CXX=$(tc-getCXX) DSTROOT="${D}" econf $(use_with fltk gui) +} + +src_install() { + emake DSTROOT="${D}" install +}