diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-07-27 14:04:01 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-07-27 14:04:01 +0000 |
commit | 8f62775431961242534d61907296ddeeab3e89e7 (patch) | |
tree | aae07f04684c5199b8883abad459c7354c5bd873 /app-text/dvipsk | |
parent | bump to the TeX Live 2011 version (diff) | |
download | gentoo-2-8f62775431961242534d61907296ddeeab3e89e7.tar.gz gentoo-2-8f62775431961242534d61907296ddeeab3e89e7.tar.bz2 gentoo-2-8f62775431961242534d61907296ddeeab3e89e7.zip |
bump to the TeX Live 2011 version
(Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
Diffstat (limited to 'app-text/dvipsk')
-rw-r--r-- | app-text/dvipsk/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/dvipsk/dvipsk-5.991_p20110705.ebuild | 64 |
2 files changed, 71 insertions, 1 deletions
diff --git a/app-text/dvipsk/ChangeLog b/app-text/dvipsk/ChangeLog index c290d295bba6..7b47844be4af 100644 --- a/app-text/dvipsk/ChangeLog +++ b/app-text/dvipsk/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/dvipsk # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/dvipsk/ChangeLog,v 1.10 2011/07/07 06:00:12 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/dvipsk/ChangeLog,v 1.11 2011/07/27 14:04:01 aballier Exp $ + +*dvipsk-5.991_p20110705 (27 Jul 2011) + + 27 Jul 2011; Alexis Ballier <aballier@gentoo.org> + +dvipsk-5.991_p20110705.ebuild: + bump to the TeX Live 2011 version 07 Jul 2011; Alexis Ballier <aballier@gentoo.org> dvipsk-5.99_p20100722.ebuild: diff --git a/app-text/dvipsk/dvipsk-5.991_p20110705.ebuild b/app-text/dvipsk/dvipsk-5.991_p20110705.ebuild new file mode 100644 index 000000000000..59f1cd4a7498 --- /dev/null +++ b/app-text/dvipsk/dvipsk-5.991_p20110705.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/dvipsk/dvipsk-5.991_p20110705.ebuild,v 1.1 2011/07/27 14:04:01 aballier Exp $ + +EAPI=3 + +inherit texlive-common + +DESCRIPTION="DVI-to-PostScript translator" +HOMEPAGE="http://tug.org/texlive/" +SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz" + +TL_VERSION=2011 +EXTRA_TL_MODULES="dvips" +EXTRA_TL_DOC_MODULES="dvips.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} ) " + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="doc source" + +DEPEND=">=dev-libs/kpathsea-6.0.1_p20110627" +RDEPEND=" + !<app-text/texlive-core-2010 + !<dev-texlive/texlive-basic-2009 + !app-text/ptex + ${DEPEND}" + +S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN} + +src_configure() { + econf --with-system-kpathsea +} + +src_install() { + emake DESTDIR="${D}" prologdir="${EPREFIX}/usr/share/texmf/dvips/base" install || die + + dodir /usr/share # just in case + cp -pR "${WORKDIR}"/texmf "${ED}/usr/share/" || die "failed to install texmf trees" + 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 + + dodoc AUTHORS ChangeLog NEWS README TODO || die +} + +pkg_postinst() { + etexmf-update +} + +pkg_postrm() { + etexmf-update +} |