summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-01-14 10:48:16 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-01-14 10:48:16 +0000
commitd764a85b48d31718fa5cf13329a7621141e496bf (patch)
tree4bb7a0445962d25da72ac621c3fbd271e06d38b2 /dev-tex
parentdev-util/nvidia-cuda-sdk: Take package (diff)
downloadgentoo-2-d764a85b48d31718fa5cf13329a7621141e496bf.tar.gz
gentoo-2-d764a85b48d31718fa5cf13329a7621141e496bf.tar.bz2
gentoo-2-d764a85b48d31718fa5cf13329a7621141e496bf.zip
version bump
(Portage version: 2.2.0_alpha151/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/metapost/ChangeLog9
-rw-r--r--dev-tex/metapost/metapost-1.780.ebuild74
2 files changed, 81 insertions, 2 deletions
diff --git a/dev-tex/metapost/ChangeLog b/dev-tex/metapost/ChangeLog
index d64eb1f55f32..b19559d59bf8 100644
--- a/dev-tex/metapost/ChangeLog
+++ b/dev-tex/metapost/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-tex/metapost
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/metapost/ChangeLog,v 1.3 2012/07/26 11:10:39 aballier Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/metapost/ChangeLog,v 1.4 2013/01/14 10:48:16 aballier Exp $
+
+*metapost-1.780 (14 Jan 2013)
+
+ 14 Jan 2013; Alexis Ballier <aballier@gentoo.org> +metapost-1.780.ebuild:
+ version bump
26 Jul 2012; Alexis Ballier <aballier@gentoo.org> metapost-1.504.ebuild,
+files/invocname.patch:
diff --git a/dev-tex/metapost/metapost-1.780.ebuild b/dev-tex/metapost/metapost-1.780.ebuild
new file mode 100644
index 000000000000..430fe88786e2
--- /dev/null
+++ b/dev-tex/metapost/metapost-1.780.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/metapost/metapost-1.780.ebuild,v 1.1 2013/01/14 10:48:16 aballier Exp $
+
+EAPI=4
+
+DESCRIPTION="System for producing graphics"
+HOMEPAGE="http://tug.org/metapost.html"
+SRC_URI="http://foundry.supelec.fr/gf/download/frsrelease/395/1879/${P}-src.tar.bz2"
+
+LICENSE="GPL-2 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-libs/kpathsea
+ >=app-admin/eselect-mpost-0.3
+ x11-libs/cairo
+ x11-libs/pixman
+ media-libs/libpng"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${P}/source/texk/web2c
+
+src_configure() {
+ econf \
+ --disable-all-pkgs \
+ --enable-shared \
+ --disable-largefile \
+ --disable-ptex \
+ --enable-mp \
+ --with-system-cairo \
+ --with-system-libpng \
+ --without-ptexenc \
+ --with-system-kpathsea \
+ --with-system-xpdf \
+ --with-system-freetype \
+ --with-system-freetype2 \
+ --with-system-gd \
+ --with-system-teckit \
+ --with-system-t1lib \
+ --with-system-icu \
+ --with-system-graphite \
+ --with-system-zziplib \
+ --with-system-poppler \
+ --with-system-zlib \
+ --with-system-pixman \
+ --disable-native-texlive-build \
+ --without-mf-x-toolkit --without-x
+}
+
+src_compile() {
+ emake mpost
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ SUBDIRS="" \
+ bin_PROGRAMS="mpost" \
+ nodist_man_MANS="" \
+ dist_man_MANS="" \
+ install-binPROGRAMS
+ # Rename it
+ mv "${D}/usr/bin/mpost" "${D}/usr/bin/mpost-${P}" || die "renaming failed"
+
+ cd "${WORKDIR}/${P}"
+ dodoc README CHANGES
+}
+
+pkg_postinst(){
+ einfo "Calling eselect mpost update"
+ eselect mpost update
+}