summaryrefslogtreecommitdiff
path: root/dev-tex/metapost
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/metapost')
-rw-r--r--dev-tex/metapost/Manifest7
-rw-r--r--dev-tex/metapost/metadata.xml8
-rw-r--r--dev-tex/metapost/metapost-1.780.ebuild73
-rw-r--r--dev-tex/metapost/metapost-1.803.ebuild73
-rw-r--r--dev-tex/metapost/metapost-1.902.ebuild76
5 files changed, 237 insertions, 0 deletions
diff --git a/dev-tex/metapost/Manifest b/dev-tex/metapost/Manifest
new file mode 100644
index 000000000000..102641a774d3
--- /dev/null
+++ b/dev-tex/metapost/Manifest
@@ -0,0 +1,7 @@
+DIST metapost-1.780-src.tar.bz2 7723409 BLAKE2B 851738637f4ec9cc0e9f8d416094f3904fb563be05e461d4f16b1a268675b0789047bb8d54f8fe6551e66b32b5c3e58e35bdf2ec64ef8486cb0c4e9476ec6c71 SHA512 3002da0706fcd33a2d183f42b770b7c2d72759a8ba0e49ae24e4a5cee5dd9cd0842e7e8d854e22962beaff4dfd1b943a63f41ee07a7743bb7d50a0cdfb4dd4ff
+DIST metapost-1.803-src.tar.bz2 8140579 BLAKE2B 9232a875da449b8caa667623e725317336d737e16c2d0b2647e9579fad067ea3eae85eb74ae9a05bfb079e7b18edcb18ee7a7c26bbee343b8ecbd6f5ed84ce90 SHA512 7f59e93f73c9f9c6fe547028dd22527c948ea171c235758e1acf9477c85d2fb2cc145b3bd707646a4b5317e57ce5d49160ff347cdecca599b6e0da8a8f679d99
+DIST metapost-1.902-src.tar.bz2 6170876 BLAKE2B 7b276fb4c9373a8ac43ef4c6c40c8e6c6726e93ab4cb82d4c34371025e448e985d1a5df587f8b108e786542bb1c4852977eaae964dd991824a506dca5eed9f53 SHA512 d1e38d9f6f16b6815999c1d05b70ece50668962660af0800c105075522a2d943156986aa8df76d7bd2b6d04f657295c15a04a6e67772ce1d8546b885c355aea3
+EBUILD metapost-1.780.ebuild 1531 BLAKE2B f3fe18e90b30648860e7115495b80650b26d8aa767c15389c4a72d949b726ab2fb264412ed255047ad28f865bbf01e936cc31cafeac515ac7a1a40b64748d248 SHA512 1202ce533f07d228823bd08741a33e39f7cd23f825ab14278544bac49791ef7b9f62c3a57b8fed128cdbc8fe32a0e53c8ccd09a2636efbcda2dd2d01e2cdb6b3
+EBUILD metapost-1.803.ebuild 1562 BLAKE2B 773a4b614e962b8e4b91d14f7582ec3ef635722fcdc283a0a1db8b4d038093c9a388d33e2e38b1fff91ff05d3e9e128f09c4be2889969eb73391114aab0ac415 SHA512 1b1914768c4627bb93d69653e85ebdb9660f8efcf1d16c6077a7e218ce3076290966c70d0b79b9cde0092b4024a1a7ada74b84d7e7ea33c05511e4440f1645ec
+EBUILD metapost-1.902.ebuild 1703 BLAKE2B f02a842b7f590e3afb8f69e4d315f6a955345e0bab0b91d6972019f6cedfe67715ac552e4b2f191e8fd4e086f983346f6fa81c61c3d061149107af6bff9329a8 SHA512 d8004e97cd5320688df8a0e54e269f28ec36549bb83bcea8d55a34bdca186f3714bea7404a4466564ed3a6f39092d12d4bb0a60ba2529bd22bfdc48911f9053e
+MISC metadata.xml 245 BLAKE2B ee3a163cfe0a4bc59c0dfb46f9ddb580e2d259b4d0e33cb4e684eb9e6d4b901bf97c6edd891f3b75a613a782f1b89318d0ee3ec9bee4e34c4441d9e8f4267678 SHA512 1653777623e2c15e1ce13229e396723b2cc9c214983e0f8592de98c01a31badc6c38c6735ed44f937d145883b43fb6f049af3eddb9ff96b18c96ccf8f67dd690
diff --git a/dev-tex/metapost/metadata.xml b/dev-tex/metapost/metadata.xml
new file mode 100644
index 000000000000..13170c3184d8
--- /dev/null
+++ b/dev-tex/metapost/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-tex/metapost/metapost-1.780.ebuild b/dev-tex/metapost/metapost-1.780.ebuild
new file mode 100644
index 000000000000..ecc731318185
--- /dev/null
+++ b/dev-tex/metapost/metapost-1.780.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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-eselect/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
+}
diff --git a/dev-tex/metapost/metapost-1.803.ebuild b/dev-tex/metapost/metapost-1.803.ebuild
new file mode 100644
index 000000000000..ec984d845522
--- /dev/null
+++ b/dev-tex/metapost/metapost-1.803.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="System for producing graphics"
+HOMEPAGE="http://tug.org/metapost.html"
+SRC_URI="https://foundry.supelec.fr/frs/download.php/file/15750/${P}-src.tar.bz2"
+
+LICENSE="GPL-2 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=dev-libs/kpathsea-6.1.0_p20120701
+ >=app-eselect/eselect-mpost-0.3
+ >=x11-libs/cairo-1.12
+ >x11-libs/pixman-0.18
+ media-libs/libpng:0="
+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
+}
diff --git a/dev-tex/metapost/metapost-1.902.ebuild b/dev-tex/metapost/metapost-1.902.ebuild
new file mode 100644
index 000000000000..eb0895b75121
--- /dev/null
+++ b/dev-tex/metapost/metapost-1.902.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="System for producing graphics"
+HOMEPAGE="http://tug.org/metapost.html"
+SRC_URI="https://foundry.supelec.fr/frs/download.php/file/15766/${P}-src.tar.bz2"
+
+LICENSE="GPL-2 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=dev-libs/kpathsea-6.1.0_p20120701
+ >=app-eselect/eselect-mpost-0.3
+ >=x11-libs/cairo-1.12
+ >x11-libs/pixman-0.18
+ media-libs/libpng:0="
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${P}/source/texk/web2c
+
+src_configure() {
+ has_version '>=dev-libs/kpathsea-6.2.1' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)"
+ 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
+}