Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-tex/mplib: ChangeLog mplib-1.110.ebuild
Date: Sat, 29 Nov 2008 14:05:01
Message-Id: E1L6QRK-0006om-96@stork.gentoo.org
1 aballier 08/11/29 14:04:54
2
3 Modified: ChangeLog
4 Added: mplib-1.110.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc16/cvs/Linux 2.6.27.7 x86_64)
8
9 Revision Changes Path
10 1.8 dev-tex/mplib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/mplib/ChangeLog?rev=1.8&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/mplib/ChangeLog?rev=1.8&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/mplib/ChangeLog?r1=1.7&r2=1.8
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-tex/mplib/ChangeLog,v
19 retrieving revision 1.7
20 retrieving revision 1.8
21 diff -u -r1.7 -r1.8
22 --- ChangeLog 5 Oct 2008 19:51:16 -0000 1.7
23 +++ ChangeLog 29 Nov 2008 14:04:54 -0000 1.8
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-tex/mplib
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/mplib/ChangeLog,v 1.7 2008/10/05 19:51:16 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/mplib/ChangeLog,v 1.8 2008/11/29 14:04:54 aballier Exp $
29 +
30 +*mplib-1.110 (29 Nov 2008)
31 +
32 + 29 Nov 2008; Alexis Ballier <aballier@g.o> +mplib-1.110.ebuild:
33 + version bump
34
35 05 Oct 2008; Jeroen Roovers <jer@g.o> mplib-1.091.ebuild:
36 Marked ~hppa (bug #237202).
37
38
39
40 1.1 dev-tex/mplib/mplib-1.110.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/mplib/mplib-1.110.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/mplib/mplib-1.110.ebuild?rev=1.1&content-type=text/plain
44
45 Index: mplib-1.110.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-tex/mplib/mplib-1.110.ebuild,v 1.1 2008/11/29 14:04:54 aballier Exp $
50
51 EAPI=1
52
53 inherit libtool
54
55 DESCRIPTION="New, revamped version of the MetaPost interpreter"
56 HOMEPAGE="http://foundry.supelec.fr/projects/metapost"
57 SRC_URI="http://foundry.supelec.fr/frs/download.php/696/${PN}-beta-${PV}-src.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
62 # We enalbe lua by default because it will be needed by luatex
63 IUSE="+lua"
64
65 RDEPEND="virtual/tex-base
66 lua? ( dev-lang/lua )"
67 DEPEND="${RDEPEND}"
68
69 S=${WORKDIR}/${PN}-beta-${PV}/src/texk/web2c/mpdir
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74 elibtoolize
75 }
76
77 src_compile() {
78 econf $(use_enable lua)
79 # parallel make fails from time to time... needs to be fixed
80 emake KPSESRCDIR=/usr/include/kpathsea KPSELIB=-lkpathsea -j1 || die "failed to build mplib"
81 }
82
83 src_install() {
84 emake DESTDIR="${D}" install || die "make install failed"
85 mv "${D}/usr/bin/mpost" "${D}/usr/bin/mpost-${P}" || die "failed to rename mpost"
86 dodoc "${WORKDIR}/${PN}-beta-${PV}/CHANGES" "${WORKDIR}/${PN}-beta-${PV}/README"
87 }