summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-03-15 19:07:35 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-03-15 19:07:35 +0000
commit7e6361ad7e9c153a5abad99ace766dab235ccd3c (patch)
tree156d25de203c26add777f8de3a23cf8bc526132f /app-text/texi2html
parentInitial commit wrt #408125. This will be used by app-text/texi2html. (diff)
downloadgentoo-2-7e6361ad7e9c153a5abad99ace766dab235ccd3c.tar.gz
gentoo-2-7e6361ad7e9c153a5abad99ace766dab235ccd3c.tar.bz2
gentoo-2-7e6361ad7e9c153a5abad99ace766dab235ccd3c.zip
Revision bump because of keyword dropping for new RDEPEND dev-perl/Unicode-EastAsianWidth to avoid using bundled copy when USE="unicode" is enabled.
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Diffstat (limited to 'app-text/texi2html')
-rw-r--r--app-text/texi2html/ChangeLog9
-rw-r--r--app-text/texi2html/texi2html-5.0-r1.ebuild43
2 files changed, 51 insertions, 1 deletions
diff --git a/app-text/texi2html/ChangeLog b/app-text/texi2html/ChangeLog
index 52fad638accc..440b15580689 100644
--- a/app-text/texi2html/ChangeLog
+++ b/app-text/texi2html/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-text/texi2html
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/texi2html/ChangeLog,v 1.53 2012/03/15 01:12:22 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/texi2html/ChangeLog,v 1.54 2012/03/15 19:07:35 ssuominen Exp $
+
+*texi2html-5.0-r1 (15 Mar 2012)
+
+ 15 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> +texi2html-5.0-r1.ebuild:
+ Revision bump because of keyword dropping for new RDEPEND
+ dev-perl/Unicode-EastAsianWidth to avoid using bundled copy when
+ USE="unicode" is enabled.
15 Mar 2012; Jeroen Roovers <jer@gentoo.org> texi2html-5.0.ebuild:
Marked ~hppa (bug #408119).
diff --git a/app-text/texi2html/texi2html-5.0-r1.ebuild b/app-text/texi2html/texi2html-5.0-r1.ebuild
new file mode 100644
index 000000000000..2681312a957f
--- /dev/null
+++ b/app-text/texi2html/texi2html-5.0-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/texi2html/texi2html-5.0-r1.ebuild,v 1.1 2012/03/15 19:07:35 ssuominen Exp $
+
+EAPI=4
+
+DESCRIPTION="Perl script that converts Texinfo to HTML"
+HOMEPAGE="http://www.nongnu.org/texi2html/"
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.bz2"
+
+LICENSE="CCPL-ShareAlike-1.0 FDL-1.3 GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="unicode"
+
+RDEPEND=">=dev-lang/perl-5.10.1
+ dev-perl/libintl-perl
+ unicode? (
+ dev-perl/Text-Unidecode
+ dev-perl/Unicode-EastAsianWidth
+ )"
+DEPEND="${RDEPEND}"
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+src_configure() {
+ local myconf
+ use unicode && myconf='--with-external-Unicode-EastAsianWidth'
+
+ econf \
+ --with-external-libintl-perl \
+ $(use_with unicode unidecode) \
+ ${myconf}
+}
+
+src_install() {
+ default
+ rm -f "${ED}"/usr/share/${PN}/images/{COPYING*,GPL,README}
+}
+
+pkg_preinst() {
+ rm -f "${EROOT}"/usr/bin/${PN}
+}