diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-08-29 22:58:21 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-08-29 22:58:21 +0000 |
commit | b264f4de8196db23fb90e919fb75ff4069f84f27 (patch) | |
tree | 54cb516e13cc7e9f3b34d343e492a12facee0f9f /dev-tex | |
parent | x11-drivers/xf86-video-i810: bump to 2.4.2 (diff) | |
download | historical-b264f4de8196db23fb90e919fb75ff4069f84f27.tar.gz historical-b264f4de8196db23fb90e919fb75ff4069f84f27.tar.bz2 historical-b264f4de8196db23fb90e919fb75ff4069f84f27.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.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26.3 x86_64
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/mplib/ChangeLog | 12 | ||||
-rw-r--r-- | dev-tex/mplib/Manifest | 14 | ||||
-rw-r--r-- | dev-tex/mplib/metadata.xml | 11 | ||||
-rw-r--r-- | dev-tex/mplib/mplib-1.091.ebuild | 45 |
4 files changed, 82 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..a50f5a7e7685 --- /dev/null +++ b/dev-tex/mplib/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST mplib-beta-1.091-src.tar.bz2 1811861 RMD160 1d08ee8c39a44008d500a29ce50ae5e5eca5f8c5 SHA1 a12bfc30871c32df748f89b2a86adb836676025b SHA256 53ba20e3286e68a56ef6b817ea9daac7d9a48ecc7fb16b2baab319b0f4f0ec6c +EBUILD mplib-1.091.ebuild 1306 RMD160 24db2754d6b26122981f99fdd4b82cd8b755fb8e SHA1 53499f10e2031644aeba05adbb4f0ae329cc3ff6 SHA256 d8636562e8a0b3ebc2898e1c745e263159f2f41909f19520695fd2a400b8aa6a +MISC ChangeLog 536 RMD160 91c185aa496ba9e1ad6aeb4089d888dcaaa2c3c2 SHA1 edde944e9957d8cbc9868dfb11d4ba27ca7a71d7 SHA256 5fa4afeaffe5377a3c8fb4de500859a571168471e6462d59bcdbb35c07dc15f5 +MISC metadata.xml 419 RMD160 cecaebd01a9deda1924b0191696b093070f8ba23 SHA1 74df269d720b742d8d055f153c672b7ee3fe1ef8 SHA256 5cc4f1d5e108e6d7cde4e7c0e8236d8b5b2715e71d0b18c65d988792bef81072 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAki4fxMACgkQvFcC4BYPU0pwXACgosixQ+NutOkJcIij4/1ta52K +/2MAn2QvdjkpKlsJ04w7ejAeWmOL22pM +=LKzd +-----END PGP SIGNATURE----- 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 +} |