summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-06-28 13:53:25 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-06-28 13:53:25 +0000
commitb8916cd3ebcd766d9441e39282b6d7189e60c73d (patch)
treed492ebbb46cb123faac6bed9d166568eebe88354 /dev-tex/bibtexu
parentrm stray line, revbumps; set correct install location wrt Bug #472438 (diff)
downloadgentoo-2-b8916cd3ebcd766d9441e39282b6d7189e60c73d.tar.gz
gentoo-2-b8916cd3ebcd766d9441e39282b6d7189e60c73d.tar.bz2
gentoo-2-b8916cd3ebcd766d9441e39282b6d7189e60c73d.zip
Install texmf files from here instead of texlive-core
(Portage version: 2.2.0_alpha185/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'dev-tex/bibtexu')
-rw-r--r--dev-tex/bibtexu/ChangeLog6
-rw-r--r--dev-tex/bibtexu/bibtexu-3.71_p20130530.ebuild24
2 files changed, 27 insertions, 3 deletions
diff --git a/dev-tex/bibtexu/ChangeLog b/dev-tex/bibtexu/ChangeLog
index 335183cbc9b1..1e8c817d5339 100644
--- a/dev-tex/bibtexu/ChangeLog
+++ b/dev-tex/bibtexu/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-tex/bibtexu
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/bibtexu/ChangeLog,v 1.44 2013/06/27 13:15:19 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/bibtexu/ChangeLog,v 1.45 2013/06/28 13:53:25 aballier Exp $
+
+ 28 Jun 2013; Alexis Ballier <aballier@gentoo.org>
+ bibtexu-3.71_p20130530.ebuild:
+ Install texmf files from here instead of texlive-core
*bibtexu-3.71_p20130530 (27 Jun 2013)
diff --git a/dev-tex/bibtexu/bibtexu-3.71_p20130530.ebuild b/dev-tex/bibtexu/bibtexu-3.71_p20130530.ebuild
index b10c03d33dfd..657990721858 100644
--- a/dev-tex/bibtexu/bibtexu-3.71_p20130530.ebuild
+++ b/dev-tex/bibtexu/bibtexu-3.71_p20130530.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/bibtexu/bibtexu-3.71_p20130530.ebuild,v 1.1 2013/06/27 13:15:19 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/bibtexu/bibtexu-3.71_p20130530.ebuild,v 1.2 2013/06/28 13:53:25 aballier Exp $
EAPI=5
@@ -11,7 +11,7 @@ SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
+IUSE="doc source"
RDEPEND=">=dev-libs/kpathsea-6.1.0_p20120701
>=dev-libs/icu-4.4
@@ -21,6 +21,20 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/texlive-${PV#*_p}-source/texk/bibtex-x
+TL_VERSION=2013
+EXTRA_TL_MODULES="bibtex8 bibtexu"
+EXTRA_TL_DOC_MODULES="bibtex8.doc bibtexu.doc"
+
+for i in ${EXTRA_TL_MODULES} ; do
+ SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
+done
+
+SRC_URI="${SRC_URI} doc? ( "
+for i in ${EXTRA_TL_DOC_MODULES} ; do
+ SRC_URI="${SRC_URI} mirror://gentoo/texlive-module-${i}-${TL_VERSION}.tar.xz"
+done
+SRC_URI="${SRC_URI} ) "
+
src_configure() {
econf \
--with-system-kpathsea \
@@ -34,4 +48,10 @@ src_install() {
btdocdir="${EPREFIX}/usr/share/doc/${PF}" \
install
dodoc 00readme.txt ChangeLog csfile.txt HISTORY
+
+ dodir /usr/share # just in case
+ cp -pR "${WORKDIR}"/texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees"
+ if use source ; then
+ cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
+ fi
}