1 | # Copyright 1999-2013 Gentoo Foundation |
1 | # Copyright 1999-2013 Gentoo Foundation |
2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
3 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/texinfo/texinfo-4.13-r2.ebuild,v 1.9 2013/04/02 13:18:41 ago Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/texinfo/texinfo-4.13-r2.ebuild,v 1.12 2013/04/05 18:13:51 ago Exp $ |
4 | |
4 | |
5 | EAPI="2" |
5 | EAPI="2" |
6 | |
6 | |
7 | inherit flag-o-matic eutils |
7 | inherit flag-o-matic eutils |
8 | |
8 | |
… | |
… | |
10 | HOMEPAGE="http://www.gnu.org/software/texinfo/" |
10 | HOMEPAGE="http://www.gnu.org/software/texinfo/" |
11 | SRC_URI="mirror://gnu/${PN}/${P}.tar.lzma" |
11 | SRC_URI="mirror://gnu/${PN}/${P}.tar.lzma" |
12 | |
12 | |
13 | LICENSE="GPL-3" |
13 | LICENSE="GPL-3" |
14 | SLOT="0" |
14 | SLOT="0" |
15 | KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
15 | KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
16 | IUSE="nls static" |
16 | IUSE="nls static" |
17 | |
17 | |
18 | RDEPEND="!=app-text/tetex-2* |
18 | RDEPEND="!=app-text/tetex-2* |
19 | >=sys-libs/ncurses-5.2-r2 |
19 | >=sys-libs/ncurses-5.2-r2 |
20 | nls? ( virtual/libintl )" |
20 | nls? ( virtual/libintl )" |
… | |
… | |
24 | |
24 | |
25 | src_prepare() { |
25 | src_prepare() { |
26 | epatch "${FILESDIR}"/${P}-xz.patch #269742 |
26 | epatch "${FILESDIR}"/${P}-xz.patch #269742 |
27 | touch doc/install-info.1 #354589 |
27 | touch doc/install-info.1 #354589 |
28 | epatch "${FILESDIR}"/${P}-texi2dvi-regexp-range.patch #311885 |
28 | epatch "${FILESDIR}"/${P}-texi2dvi-regexp-range.patch #311885 |
29 | touch doc/{texi2dvi,texi2pdf,pdftexi2dvi}.1 #354589 |
|
|
30 | epatch "${FILESDIR}"/${P}-accentenc-test.patch |
29 | epatch "${FILESDIR}"/${P}-accentenc-test.patch |
31 | # waiting to be sent upstream for my copyright assignment form to be |
30 | # waiting to be sent upstream for my copyright assignment form to be |
32 | # ready - Flameeyes |
31 | # ready - Flameeyes |
33 | epatch "${FILESDIR}"/${P}-docbook.patch |
32 | epatch "${FILESDIR}"/${P}-docbook.patch |
34 | epatch "${FILESDIR}"/${P}-tinfo.patch #457556 |
33 | epatch "${FILESDIR}"/${P}-tinfo.patch #457556 |
|
|
34 | # timestamps must be newer than configure.ac touched by ${P}-tinfo.patch |
|
|
35 | touch doc/{texi2dvi,texi2pdf,pdftexi2dvi}.1 #354589 |
35 | } |
36 | } |
36 | |
37 | |
37 | src_configure() { |
38 | src_configure() { |
38 | use static && append-ldflags -static |
39 | use static && append-ldflags -static |
39 | econf $(use_enable nls) |
40 | econf $(use_enable nls) |