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