diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-08-04 06:37:48 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-08-04 06:37:48 +0000 |
commit | c00cda277cd985affd38d1598879bf27a926a6ac (patch) | |
tree | 68d7cc29056bd49389a9b1fddf7376b9e98958e2 /dev-tex/metapost | |
parent | Add texlive.infra module, required by updmap now, by Thomas Witt in bug #3776... (diff) | |
download | gentoo-2-c00cda277cd985affd38d1598879bf27a926a6ac.tar.gz gentoo-2-c00cda277cd985affd38d1598879bf27a926a6ac.tar.bz2 gentoo-2-c00cda277cd985affd38d1598879bf27a926a6ac.zip |
bump to beta version as included in texlive 2011
(Portage version: 2.2.0_alpha50/cvs/Linux x86_64)
Diffstat (limited to 'dev-tex/metapost')
-rw-r--r-- | dev-tex/metapost/ChangeLog | 7 | ||||
-rw-r--r-- | dev-tex/metapost/metapost-1.504.ebuild | 113 |
2 files changed, 119 insertions, 1 deletions
diff --git a/dev-tex/metapost/ChangeLog b/dev-tex/metapost/ChangeLog index f1fce29e99df..a9bc75fcb42c 100644 --- a/dev-tex/metapost/ChangeLog +++ b/dev-tex/metapost/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-tex/metapost # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/metapost/ChangeLog,v 1.1 2011/01/09 20:15:09 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/metapost/ChangeLog,v 1.2 2011/08/04 06:37:48 aballier Exp $ + +*metapost-1.504 (04 Aug 2011) + + 04 Aug 2011; Alexis Ballier <aballier@gentoo.org> +metapost-1.504.ebuild: + bump to beta version as included in texlive 2011 *metapost-1.212 (09 Jan 2011) diff --git a/dev-tex/metapost/metapost-1.504.ebuild b/dev-tex/metapost/metapost-1.504.ebuild new file mode 100644 index 000000000000..50fd54edbdbe --- /dev/null +++ b/dev-tex/metapost/metapost-1.504.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/metapost/metapost-1.504.ebuild,v 1.1 2011/08/04 06:37:48 aballier Exp $ + +EAPI=3 + +MY_P=${PN}-beta-${PV} +DESCRIPTION="System for producing graphics" +HOMEPAGE="http://tug.org/metapost.html" +SRC_URI="http://foundry.supelec.fr/gf/download/frsrelease/390/1724/${MY_P}-src.tar.bz2" + +LICENSE="GPL-2 LGPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="dev-libs/kpathsea + >=app-admin/eselect-mpost-0.3" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P}/source/texk/web2c + +src_configure() { + econf \ + --enable-cxx-runtime-hack \ + --disable-afm2pl \ + --disable-aleph \ + --disable-bibtex \ + --disable-bibtex8 \ + --disable-cfftot1 \ + --disable-cjkutils \ + --disable-detex \ + --disable-devnag \ + --disable-dialog \ + --disable-dtl \ + --enable-dump-share \ + --disable-dvi2tty \ + --disable-dvidvi \ + --disable-dviljk \ + --disable-dvipdfm \ + --disable-dvipdfmx \ + --disable-dvipos \ + --disable-dvipsk \ + --disable-gsftopk \ + --disable-lacheck \ + --disable-luatex \ + --disable-lcdf-typetools \ + --disable-makeindexk \ + --disable-mf \ + --disable-mmafm \ + --disable-mmpfb \ + --enable-mp \ + --disable-musixflx \ + --disable-otfinfo \ + --disable-otftotfm \ + --disable-pdfopen \ + --disable-pdftex \ + --disable-ps2eps \ + --disable-ps2pkm \ + --disable-psutils \ + --disable-seetexk \ + --disable-t1dotlessj \ + --disable-t1lint \ + --disable-t1rawafm \ + --disable-t1reencode \ + --disable-t1testpage \ + --disable-t1utils \ + --disable-tex \ + --disable-tex4htk \ + --disable-tpic2pdftex \ + --disable-ttf2pk \ + --disable-ttfdump \ + --disable-ttftotype42 \ + --disable-vlna \ + --disable-web-progs \ + --disable-xdv2pdf \ + --disable-xdvipdfmx \ + --disable-xetex \ + --with-system-kpathsea \ + --with-system-freetype2 \ + --with-system-gd \ + --with-system-libpng \ + --with-system-teckit \ + --with-system-zlib \ + --with-system-t1lib \ + --disable-shared \ + --disable-largefile \ + --disable-native-texlive-build \ + --without-mf-x-toolkit --without-x +} + +src_compile() { + emake mpost || die +} + +src_install() { + emake DESTDIR="${D}" \ + SUBDIRS="" \ + bin_PROGRAMS="mpost" \ + nodist_man_MANS="" \ + dist_man_MANS="" \ + install-binPROGRAMS || die + # Rename it + mv "${D}/usr/bin/mpost" "${D}/usr/bin/mpost-${P}" || die "renaming failed" + + cd "${WORKDIR}/${MY_P}" + dodoc README CHANGES || die +} + +pkg_postinst(){ + einfo "Calling eselect mpost update" + eselect mpost update +} |