summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-01-09 20:15:09 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-01-09 20:15:09 +0000
commitbecc8d10b876c3497dd3ee1ce3a0dad9cbbec2bd (patch)
treecbb840b1ac30258ee0889648777a96ca65cb6531 /dev-tex/metapost
parentVersion bump (bug 350046) (diff)
downloadhistorical-becc8d10b876c3497dd3ee1ce3a0dad9cbbec2bd.tar.gz
historical-becc8d10b876c3497dd3ee1ce3a0dad9cbbec2bd.tar.bz2
historical-becc8d10b876c3497dd3ee1ce3a0dad9cbbec2bd.zip
initial import, standalone version of metapost, ebuild by me
Package-Manager: portage-2.2.0_alpha14/cvs/Linux x86_64
Diffstat (limited to 'dev-tex/metapost')
-rw-r--r--dev-tex/metapost/ChangeLog10
-rw-r--r--dev-tex/metapost/Manifest14
-rw-r--r--dev-tex/metapost/metadata.xml5
-rw-r--r--dev-tex/metapost/metapost-1.212.ebuild115
4 files changed, 144 insertions, 0 deletions
diff --git a/dev-tex/metapost/ChangeLog b/dev-tex/metapost/ChangeLog
new file mode 100644
index 000000000000..f1fce29e99df
--- /dev/null
+++ b/dev-tex/metapost/ChangeLog
@@ -0,0 +1,10 @@
+# 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 $
+
+*metapost-1.212 (09 Jan 2011)
+
+ 09 Jan 2011; Alexis Ballier <aballier@gentoo.org> +metapost-1.212.ebuild,
+ +metadata.xml:
+ initial import, standalone version of metapost, ebuild by me
+
diff --git a/dev-tex/metapost/Manifest b/dev-tex/metapost/Manifest
new file mode 100644
index 000000000000..8a9d1d8501d2
--- /dev/null
+++ b/dev-tex/metapost/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST metapost-1.212-src.tar.bz2 4862803 RMD160 5ac56911655e5b4cf2c5927ad139f5f5a90bb40d SHA1 e19c182ac70c01df75b18782173dd45daa7640fe SHA256 bed4fa92cf86c668d4180f6c644f2a00a5cee17be3f0c00dcfc32c6ff842903a
+EBUILD metapost-1.212.ebuild 2607 RMD160 52975642f839bb5ec8678550c356c6f3ca5d5fab SHA1 8da23ea734b3d8185c4e4c30ddc494b28789bade SHA256 5deb92372b76a6b4d6c46b45038877d5261b52d683b1c275a76b3220515dd048
+MISC ChangeLog 395 RMD160 9bef0359a5e11472e301147fface5db841f5b9c9 SHA1 db7e483c2ab7dfe0f5b2b0f883657e805e138b69 SHA256 a72887a0a56edcd867add5835941b5a04c5b040af2812ac6599db79a9a996695
+MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAk0qF1MACgkQvFcC4BYPU0oM1gCePO17QjqUVoXC1reIF5eGUGlC
+wV4AnRD4PoXGEAq+W6nRSgxRBf/QSAf3
+=aMlf
+-----END PGP SIGNATURE-----
diff --git a/dev-tex/metapost/metadata.xml b/dev-tex/metapost/metadata.xml
new file mode 100644
index 000000000000..ba6a8a8800d5
--- /dev/null
+++ b/dev-tex/metapost/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>tex</herd>
+</pkgmetadata>
diff --git a/dev-tex/metapost/metapost-1.212.ebuild b/dev-tex/metapost/metapost-1.212.ebuild
new file mode 100644
index 000000000000..49f7c6ac5d1e
--- /dev/null
+++ b/dev-tex/metapost/metapost-1.212.ebuild
@@ -0,0 +1,115 @@
+# 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.212.ebuild,v 1.1 2011/01/09 20:15:09 aballier Exp $
+
+EAPI=3
+
+DESCRIPTION="System for producing graphics"
+HOMEPAGE="http://tug.org/metapost.html"
+SRC_URI="http://foundry.supelec.fr/gf/download/frsrelease/383/1651/${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}/${P}/source
+
+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 SHELL=/bin/sh || die
+ cd "${S}/texk/web2c"
+ emake mpost || die
+}
+
+src_install() {
+ cd "${S}/texk/web2c"
+ 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}/${P}"
+ dodoc README CHANGES || die
+}
+
+pkg_postinst(){
+ einfo "Calling eselect mpost update"
+ eselect mpost update
+}