diff options
Diffstat (limited to 'app-text/htmldoc')
-rw-r--r-- | app-text/htmldoc/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/htmldoc/files/digest-htmldoc-1.8.27 | 3 | ||||
-rw-r--r-- | app-text/htmldoc/htmldoc-1.8.27.ebuild | 57 |
3 files changed, 66 insertions, 1 deletions
diff --git a/app-text/htmldoc/ChangeLog b/app-text/htmldoc/ChangeLog index e35460b0b699..18f342e14011 100644 --- a/app-text/htmldoc/ChangeLog +++ b/app-text/htmldoc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/htmldoc # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/htmldoc/ChangeLog,v 1.32 2006/08/07 23:28:18 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/htmldoc/ChangeLog,v 1.33 2006/08/19 15:58:17 carlo Exp $ + +*htmldoc-1.8.27 (19 Aug 2006) + + 19 Aug 2006; Carsten Lohrke <carlo@gentoo.org> +htmldoc-1.8.27.ebuild: + Version bump. 07 Aug 2006; Michael Cummings <mcummings@gentoo.org> htmldoc-1.8.26.ebuild: diff --git a/app-text/htmldoc/files/digest-htmldoc-1.8.27 b/app-text/htmldoc/files/digest-htmldoc-1.8.27 new file mode 100644 index 000000000000..fe16bab86f7f --- /dev/null +++ b/app-text/htmldoc/files/digest-htmldoc-1.8.27 @@ -0,0 +1,3 @@ +MD5 35589e7b8fe9c54e11be87cd5aec4dcc htmldoc-1.8.27-source.tar.bz2 3960271 +RMD160 9605a5894675439f5fae405fb060972e19f33c7e htmldoc-1.8.27-source.tar.bz2 3960271 +SHA256 89ffd223734268375dc959c200622dc5f167576c5cad9d7ce4bd7567faeb9613 htmldoc-1.8.27-source.tar.bz2 3960271 diff --git a/app-text/htmldoc/htmldoc-1.8.27.ebuild b/app-text/htmldoc/htmldoc-1.8.27.ebuild new file mode 100644 index 000000000000..8c7d7c5e2c21 --- /dev/null +++ b/app-text/htmldoc/htmldoc-1.8.27.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/htmldoc/htmldoc-1.8.27.ebuild,v 1.1 2006/08/19 15:58:17 carlo Exp $ + +inherit eutils + +DESCRIPTION="Convert HTML pages into a PDF document" +SRC_URI="http://ftp.easysw.com/pub/htmldoc/${PV}/${P}-source.tar.bz2" +HOMEPAGE="http://www.easysw.com/htmldoc/" + +IUSE="fltk ssl" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" + +DEPEND="media-libs/jpeg + media-libs/libpng + fltk? ( >=x11-libs/fltk-1.0.11 ) + ssl? ( >=dev-libs/openssl-0.9.6e )" + +# this needs to be figured out, since htmldoc looks for all three libs +# right now there's no virtual/ssl +# +# --enable-openssl use OpenSSL for SSL/TLS support, default=yes +# --enable-gnutls use GNU TLS for SSL/TLS support, default=yes +# --enable-cdsassl use CDSA for SSL/TLS support, default=yes + +src_unpack() { + unpack ${A} + cd ${S} + # make sure not to use the libs htmldoc ships with + mkdir foo ; mv jpeg foo/ ; mv png foo/ ; mv zlib foo/ + + sed -i "s:^#define DOCUMENTATION \"\$prefix/share/doc/htmldoc\":#define DOCUMENTATION \"\$prefix/share/doc/${PF}/html\":" \ + configure +} + +src_compile() { + local myconf="$(use_enable ssl openssl) $(use_with fltk gui)" + + econf ${myconf} || die "econf failed" + + # Add missing -lfltk_images to LIBS + use fltk && sed -i 's:-lfltk :-lfltk -lfltk_images :g' Makedefs + + emake || die "make failed" +} + +src_install() { + einstall bindir=${D}/usr/bin || die "einstall failed" + + # Minor cleanups + mv ${D}/usr/share/doc/htmldoc ${D}/usr/share/doc/${PF} + dodir /usr/share/doc/${PF}/html + mv ${D}/usr/share/doc/${PF}/*.html ${D}/usr/share/doc/${PF}/html +} |