summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-08-29 22:58:21 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-08-29 22:58:21 +0000
commit38db98098473f0668f9ed47d4d3b88f70ea1c183 (patch)
tree8f14009dfec81de37e02e0ca3833f770655611ea /dev-tex/mplib
parentx11-drivers/xf86-video-i810: bump to 2.4.2 (diff)
downloadgentoo-2-38db98098473f0668f9ed47d4d3b88f70ea1c183.tar.gz
gentoo-2-38db98098473f0668f9ed47d4d3b88f70ea1c183.tar.bz2
gentoo-2-38db98098473f0668f9ed47d4d3b88f70ea1c183.zip
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.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.3 x86_64)
Diffstat (limited to 'dev-tex/mplib')
-rw-r--r--dev-tex/mplib/ChangeLog12
-rw-r--r--dev-tex/mplib/Manifest4
-rw-r--r--dev-tex/mplib/metadata.xml11
-rw-r--r--dev-tex/mplib/mplib-1.091.ebuild45
4 files changed, 72 insertions, 0 deletions
diff --git a/dev-tex/mplib/ChangeLog b/dev-tex/mplib/ChangeLog
new file mode 100644
index 000000000000..92e977ef6ab6
--- /dev/null
+++ b/dev-tex/mplib/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-tex/mplib
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/mplib/ChangeLog,v 1.1 2008/08/29 22:58:21 aballier Exp $
+
+*mplib-1.091 (29 Aug 2008)
+
+ 29 Aug 2008; Alexis Ballier <aballier@gentoo.org> +metadata.xml,
+ +mplib-1.091.ebuild:
+ 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.
+
diff --git a/dev-tex/mplib/Manifest b/dev-tex/mplib/Manifest
new file mode 100644
index 000000000000..ca78f36b20d1
--- /dev/null
+++ b/dev-tex/mplib/Manifest
@@ -0,0 +1,4 @@
+DIST mplib-beta-1.091-src.tar.bz2 1811861 RMD160 1d08ee8c39a44008d500a29ce50ae5e5eca5f8c5 SHA1 a12bfc30871c32df748f89b2a86adb836676025b SHA256 53ba20e3286e68a56ef6b817ea9daac7d9a48ecc7fb16b2baab319b0f4f0ec6c
+EBUILD mplib-1.091.ebuild 1210 RMD160 7179518a439ca984c04bba0c9a6b76952c7e97de SHA1 82acb306275eceecb21bb36f92f7c259c6252f40 SHA256 87cab9525eecd2b14cdf9c64b83a2c250f51e3066dd3f8f33d868a30a5375417
+MISC ChangeLog 449 RMD160 38ce13b9fd86fe684eefa7fe4006b9c9a0c9cd22 SHA1 eaa41096e6082df3b6e7cb47aa94aad8ac122e04 SHA256 37395a52de8e4d57e8498c9c40f70bf78da97b5b88edba8d33aa1f524acf8472
+MISC metadata.xml 419 RMD160 cecaebd01a9deda1924b0191696b093070f8ba23 SHA1 74df269d720b742d8d055f153c672b7ee3fe1ef8 SHA256 5cc4f1d5e108e6d7cde4e7c0e8236d8b5b2715e71d0b18c65d988792bef81072
diff --git a/dev-tex/mplib/metadata.xml b/dev-tex/mplib/metadata.xml
new file mode 100644
index 000000000000..5eb93ab8fdab
--- /dev/null
+++ b/dev-tex/mplib/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>tex</herd>
+<longdescription lang="en">
+ MPlib is the name of the new, revamped version of the MetaPost
+ interpreter. It is implemented in Cweb, and internally consists
+ of a core library, an mpx generation library, and a frontend
+ driver program (mpost).
+</longdescription>
+</pkgmetadata>
diff --git a/dev-tex/mplib/mplib-1.091.ebuild b/dev-tex/mplib/mplib-1.091.ebuild
new file mode 100644
index 000000000000..dba450273b6b
--- /dev/null
+++ b/dev-tex/mplib/mplib-1.091.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/mplib/mplib-1.091.ebuild,v 1.1 2008/08/29 22:58:21 aballier Exp $
+
+EAPI=1
+
+inherit libtool
+
+DESCRIPTION="New, revamped version of the MetaPost interpreter"
+HOMEPAGE="http://foundry.supelec.fr/projects/metapost"
+SRC_URI="http://foundry.supelec.fr/frs/download.php/670/${PN}-beta-${PV}-src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86-fbsd"
+# We enalbe lua by default because it will be needed by luatex
+IUSE="doc +lua"
+
+RDEPEND="virtual/tex-base
+ lua? ( dev-lang/lua )"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}-beta-${PV}/src/texk/web2c/mpdir
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ elibtoolize
+}
+
+src_compile() {
+ econf $(use_enable lua)
+ # parallel make fails from time to time... needs to be fixed
+ emake KPSESRCDIR=/usr/include/kpathsea KPSELIB=-lkpathsea -j1 || die "failed to build mplib"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ mv "${D}/usr/bin/mpost" "${D}/usr/bin/mpost-${P}" || die "failed to rename mpost"
+ dodoc "${WORKDIR}/${PN}-beta-${PV}/CHANGES" "${WORKDIR}/${PN}-beta-${PV}/README"
+ if use doc ; then
+ insinto /usr/share/doc/${PF}
+ doins "${WORKDIR}/${PN}-beta-${PV}/manual/"*.pdf
+ fi
+}