1 |
aballier 08/08/29 22:58:22 |
2 |
|
3 |
Added: metadata.xml ChangeLog mplib-1.091.ebuild Manifest |
4 |
Log: |
5 |
Initial import. Even if still in beta stages, it can be used as a replacement of mpost in current TeX installations. It will be much easier to switch with TeX Live 2008 ebuilds and an eselect module for mpost. |
6 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.3 x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-tex/mplib/metadata.xml |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/mplib/metadata.xml?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/mplib/metadata.xml?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: metadata.xml |
15 |
=================================================================== |
16 |
<?xml version="1.0" encoding="UTF-8"?> |
17 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 |
<pkgmetadata> |
19 |
<herd>tex</herd> |
20 |
<longdescription lang="en"> |
21 |
MPlib is the name of the new, revamped version of the MetaPost |
22 |
interpreter. It is implemented in Cweb, and internally consists |
23 |
of a core library, an mpx generation library, and a frontend |
24 |
driver program (mpost). |
25 |
</longdescription> |
26 |
</pkgmetadata> |
27 |
|
28 |
|
29 |
|
30 |
1.1 dev-tex/mplib/ChangeLog |
31 |
|
32 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/mplib/ChangeLog?rev=1.1&view=markup |
33 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/mplib/ChangeLog?rev=1.1&content-type=text/plain |
34 |
|
35 |
Index: ChangeLog |
36 |
=================================================================== |
37 |
# ChangeLog for dev-tex/mplib |
38 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
39 |
# $Header: /var/cvsroot/gentoo-x86/dev-tex/mplib/ChangeLog,v 1.1 2008/08/29 22:58:21 aballier Exp $ |
40 |
|
41 |
*mplib-1.091 (29 Aug 2008) |
42 |
|
43 |
29 Aug 2008; Alexis Ballier <aballier@g.o> +metadata.xml, |
44 |
+mplib-1.091.ebuild: |
45 |
Initial import. Even if still in beta stages, it can be used as a |
46 |
replacement of mpost in current TeX installations. It will be much easier |
47 |
to switch with TeX Live 2008 ebuilds and an eselect module for mpost. |
48 |
|
49 |
|
50 |
|
51 |
|
52 |
1.1 dev-tex/mplib/mplib-1.091.ebuild |
53 |
|
54 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/mplib/mplib-1.091.ebuild?rev=1.1&view=markup |
55 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/mplib/mplib-1.091.ebuild?rev=1.1&content-type=text/plain |
56 |
|
57 |
Index: mplib-1.091.ebuild |
58 |
=================================================================== |
59 |
# Copyright 1999-2008 Gentoo Foundation |
60 |
# Distributed under the terms of the GNU General Public License v2 |
61 |
# $Header: /var/cvsroot/gentoo-x86/dev-tex/mplib/mplib-1.091.ebuild,v 1.1 2008/08/29 22:58:21 aballier Exp $ |
62 |
|
63 |
EAPI=1 |
64 |
|
65 |
inherit libtool |
66 |
|
67 |
DESCRIPTION="New, revamped version of the MetaPost interpreter" |
68 |
HOMEPAGE="http://foundry.supelec.fr/projects/metapost" |
69 |
SRC_URI="http://foundry.supelec.fr/frs/download.php/670/${PN}-beta-${PV}-src.tar.bz2" |
70 |
|
71 |
LICENSE="GPL-2" |
72 |
SLOT="0" |
73 |
KEYWORDS="~amd64 ~x86-fbsd" |
74 |
# We enalbe lua by default because it will be needed by luatex |
75 |
IUSE="doc +lua" |
76 |
|
77 |
RDEPEND="virtual/tex-base |
78 |
lua? ( dev-lang/lua )" |
79 |
DEPEND="${RDEPEND}" |
80 |
|
81 |
S=${WORKDIR}/${PN}-beta-${PV}/src/texk/web2c/mpdir |
82 |
|
83 |
src_unpack() { |
84 |
unpack ${A} |
85 |
cd "${S}" |
86 |
elibtoolize |
87 |
} |
88 |
|
89 |
src_compile() { |
90 |
econf $(use_enable lua) |
91 |
# parallel make fails from time to time... needs to be fixed |
92 |
emake KPSESRCDIR=/usr/include/kpathsea KPSELIB=-lkpathsea -j1 || die "failed to build mplib" |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
emake DESTDIR="${D}" install || die "make install failed" |
97 |
mv "${D}/usr/bin/mpost" "${D}/usr/bin/mpost-${P}" || die "failed to rename mpost" |
98 |
dodoc "${WORKDIR}/${PN}-beta-${PV}/CHANGES" "${WORKDIR}/${PN}-beta-${PV}/README" |
99 |
if use doc ; then |
100 |
insinto /usr/share/doc/${PF} |
101 |
doins "${WORKDIR}/${PN}-beta-${PV}/manual/"*.pdf |
102 |
fi |
103 |
} |
104 |
|
105 |
|
106 |
|
107 |
1.1 dev-tex/mplib/Manifest |
108 |
|
109 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/mplib/Manifest?rev=1.1&view=markup |
110 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tex/mplib/Manifest?rev=1.1&content-type=text/plain |
111 |
|
112 |
Index: Manifest |
113 |
=================================================================== |
114 |
DIST mplib-beta-1.091-src.tar.bz2 1811861 RMD160 1d08ee8c39a44008d500a29ce50ae5e5eca5f8c5 SHA1 a12bfc30871c32df748f89b2a86adb836676025b SHA256 53ba20e3286e68a56ef6b817ea9daac7d9a48ecc7fb16b2baab319b0f4f0ec6c |
115 |
EBUILD mplib-1.091.ebuild 1210 RMD160 7179518a439ca984c04bba0c9a6b76952c7e97de SHA1 82acb306275eceecb21bb36f92f7c259c6252f40 SHA256 87cab9525eecd2b14cdf9c64b83a2c250f51e3066dd3f8f33d868a30a5375417 |
116 |
MISC ChangeLog 449 RMD160 38ce13b9fd86fe684eefa7fe4006b9c9a0c9cd22 SHA1 eaa41096e6082df3b6e7cb47aa94aad8ac122e04 SHA256 37395a52de8e4d57e8498c9c40f70bf78da97b5b88edba8d33aa1f524acf8472 |
117 |
MISC metadata.xml 419 RMD160 cecaebd01a9deda1924b0191696b093070f8ba23 SHA1 74df269d720b742d8d055f153c672b7ee3fe1ef8 SHA256 5cc4f1d5e108e6d7cde4e7c0e8236d8b5b2715e71d0b18c65d988792bef81072 |