blob: b0070a51d9a7f3cbd6357714d144ff1b323de8d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/xdvipdfmx/xdvipdfmx-0.7.8_p20100722.ebuild,v 1.4 2010/11/01 22:21:46 maekke Exp $
EAPI="3"
DESCRIPTION="Extended dvipdfmx for use with XeTeX and other unicode TeXs."
HOMEPAGE="http://scripts.sil.org/svn-view/xdvipdfmx/
http://tug.org/texlive/"
SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~x86"
IUSE="doc"
RDEPEND="!<app-text/texlive-core-2010
dev-libs/kpathsea
sys-libs/zlib
media-libs/freetype:2
media-libs/fontconfig
>=media-libs/libpng-1.2.43-r2:0
app-text/libpaper"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
src_configure() {
econf \
--with-system-kpathsea \
--with-system-zlib \
--with-system-libpng \
--with-system-freetype2
}
src_install() {
emake DESTDIR="${D}" install || die "Install failed"
dodoc README TODO BUGS AUTHORS ChangeLog ChangeLog.TL || die
if use doc ; then
insinto /usr/share/doc/${PF}
doins -r doc || die
fi
}
|