1 |
commit: 99a82a0bd419f480a90583865acbf5926be3abd3 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 6 05:54:34 2017 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 6 05:54:50 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99a82a0b |
7 |
|
8 |
app-text/htmldoc: new version 1.8.30. |
9 |
|
10 |
This new version makes use of the DSTROOT build system variable, |
11 |
avoiding the need to patch in DESTDIR everywhere. It also fixes some |
12 |
more installation paths to avoid moving things around in src_install, |
13 |
and avoids a (now-pointless) sed on the LIBS variable. |
14 |
|
15 |
Gentoo-Bug: 615208 |
16 |
|
17 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
18 |
|
19 |
app-text/htmldoc/Manifest | 1 + |
20 |
app-text/htmldoc/htmldoc-1.8.30.ebuild | 43 ++++++++++++++++++++++++++++++++++ |
21 |
2 files changed, 44 insertions(+) |
22 |
|
23 |
diff --git a/app-text/htmldoc/Manifest b/app-text/htmldoc/Manifest |
24 |
index db40799ac30..8df11ba658f 100644 |
25 |
--- a/app-text/htmldoc/Manifest |
26 |
+++ b/app-text/htmldoc/Manifest |
27 |
@@ -1 +1,2 @@ |
28 |
DIST htmldoc-1.8.29-source.tar.bz2 4089227 SHA256 e8c96ad740d19169eab8305c8e2ee1c795c4afa59ba99d18786ad191a2853f31 SHA512 06c4367b84005624564dfb33d2cc632cbfc711268ffce9efe00c17760da17637949fc7415fd29fcd63edc26ba96ff18cf57d1e9d36e7205b92ac2095cf4acfc8 WHIRLPOOL 3efe016ce4e071d164e3ca44fe3c8cba9ba830eb0847215116fbccab45b7ae913bfe94c723d4c8ba952c48ce31c68e5c4a71bd7048030a03c8fb3dffe42ea6d3 |
29 |
+DIST htmldoc-1.8.30-source.tar.gz 3901592 SHA256 7fb7a532f590f7ce1b7c8486d9fe30adaea3c7c32cb412ba7cf093d67cba5fc6 SHA512 713dc67622533dae896745ac8809e43a7f91696715aeb77df2628bd04c0d3e16c8402891499e8e0c10cab793b44114e600d5935b3c76a3cfa303c10897456804 WHIRLPOOL 873cc5785bc295197e8461214f02279b6225b9ea07345a86e855341abc5a827aeef0c715b4c77ed8a74028e2a5a61ae6b0412055c09cbe39a92be54764561d7f |
30 |
|
31 |
diff --git a/app-text/htmldoc/htmldoc-1.8.30.ebuild b/app-text/htmldoc/htmldoc-1.8.30.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..6d672ebc0ad |
34 |
--- /dev/null |
35 |
+++ b/app-text/htmldoc/htmldoc-1.8.30.ebuild |
36 |
@@ -0,0 +1,43 @@ |
37 |
+# Copyright 1999-2017 Gentoo Foundation |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=6 |
41 |
+inherit toolchain-funcs |
42 |
+ |
43 |
+DESCRIPTION="Convert HTML pages into a PDF document" |
44 |
+HOMEPAGE="http://www.msweet.org/projects.php?Z1" |
45 |
+SRC_URI="https://github.com/michaelrsweet/${PN}/releases/download/v${PV}/${P}-source.tar.gz" |
46 |
+IUSE="fltk" |
47 |
+SLOT="0" |
48 |
+LICENSE="GPL-2" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
50 |
+ |
51 |
+DEPEND=">=media-libs/libpng-1.4:0= |
52 |
+ virtual/jpeg:0 |
53 |
+ fltk? ( x11-libs/fltk:1 )" |
54 |
+RDEPEND="${DEPEND}" |
55 |
+ |
56 |
+S="${WORKDIR}" |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ default |
60 |
+ |
61 |
+ # make sure not to use the libs htmldoc ships with |
62 |
+ rm -r jpeg png zlib || die 'failed to unbundle jpeg, png, and zlib' |
63 |
+ |
64 |
+ # Fix the documentation path in a few places. Some Makefiles aren't |
65 |
+ # autotoolized =( |
66 |
+ for file in configure doc/Makefile doc/htmldoc.man; do |
67 |
+ sed -i "${file}" \ |
68 |
+ -e "s:/doc/htmldoc:/doc/${PF}/html:g" \ |
69 |
+ || die "failed to fix documentation path in ${file}" |
70 |
+ done |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ CC=$(tc-getCC) CXX=$(tc-getCXX) DSTROOT="${D}" econf $(use_with fltk gui) |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ emake DSTROOT="${D}" install |
79 |
+} |