summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2005-05-03 15:13:23 +0000
committerMamoru Komachi <usata@gentoo.org>2005-05-03 15:13:23 +0000
commit2480095a4a16fde5b31d20daa15faf3d1a2a5606 (patch)
treed9d97217c3f18a350e6ab1411f07bcbbe4de39d6 /media-fonts/mathematica-fonts
parentAdded ~ppc64 (diff)
downloadhistorical-2480095a4a16fde5b31d20daa15faf3d1a2a5606.tar.gz
historical-2480095a4a16fde5b31d20daa15faf3d1a2a5606.tar.bz2
historical-2480095a4a16fde5b31d20daa15faf3d1a2a5606.zip
Initial import. Ebuild submitted by Matthieu Sozeau <mattam@gentoo.org>; bug #52014.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'media-fonts/mathematica-fonts')
-rw-r--r--media-fonts/mathematica-fonts/ChangeLog11
-rw-r--r--media-fonts/mathematica-fonts/Manifest4
-rw-r--r--media-fonts/mathematica-fonts/files/digest-mathematica-fonts-4.22
-rw-r--r--media-fonts/mathematica-fonts/mathematica-fonts-4.2.ebuild52
-rw-r--r--media-fonts/mathematica-fonts/metadata.xml5
5 files changed, 74 insertions, 0 deletions
diff --git a/media-fonts/mathematica-fonts/ChangeLog b/media-fonts/mathematica-fonts/ChangeLog
new file mode 100644
index 000000000000..5be961c680e3
--- /dev/null
+++ b/media-fonts/mathematica-fonts/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-fonts/mathematica-fonts
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/mathematica-fonts/ChangeLog,v 1.1 2005/05/03 15:13:23 usata Exp $
+
+*mathematica-fonts-4.2 (03 May 2005)
+
+ 03 May 2005; Mamoru KOMACHI <usata@gentoo.org> +metadata.xml,
+ +mathematica-fonts-4.2.ebuild:
+ Initial import. Ebuild submitted by Matthieu Sozeau <mattam@gentoo.org>;
+ bug #52014.
+
diff --git a/media-fonts/mathematica-fonts/Manifest b/media-fonts/mathematica-fonts/Manifest
new file mode 100644
index 000000000000..8a6af7754727
--- /dev/null
+++ b/media-fonts/mathematica-fonts/Manifest
@@ -0,0 +1,4 @@
+MD5 560c8d201c73fbd6e1a316f4c6ce2496 mathematica-fonts-4.2.ebuild 1277
+MD5 295674d4bed87f5a7c2796e032ed561e metadata.xml 158
+MD5 338383d4890d236561c9c7e3d1844e1b ChangeLog 455
+MD5 d7b8a0d330ffc8cade747364055e362f files/digest-mathematica-fonts-4.2 138
diff --git a/media-fonts/mathematica-fonts/files/digest-mathematica-fonts-4.2 b/media-fonts/mathematica-fonts/files/digest-mathematica-fonts-4.2
new file mode 100644
index 000000000000..1905c39c81b1
--- /dev/null
+++ b/media-fonts/mathematica-fonts/files/digest-mathematica-fonts-4.2
@@ -0,0 +1,2 @@
+MD5 23040f95b188162e7c9007aaa6c6a761 MathFonts_TrueType_42.exe 717312
+MD5 e6cc81f5b3054e5214d35b290ae415ab MathFonts_Type1_42.exe 1671168
diff --git a/media-fonts/mathematica-fonts/mathematica-fonts-4.2.ebuild b/media-fonts/mathematica-fonts/mathematica-fonts-4.2.ebuild
new file mode 100644
index 000000000000..0650d6d4bb32
--- /dev/null
+++ b/media-fonts/mathematica-fonts/mathematica-fonts-4.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2005 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/mathematica-fonts/mathematica-fonts-4.2.ebuild,v 1.1 2005/05/03 15:13:23 usata Exp $
+
+inherit font
+
+DESCRIPTION="Mathematica's Fonts for MathML"
+
+HOMEPAGE="http://support.wolfram.com/mathematica/systems/windows/general/latestfonts.html"
+DOWNLOAD_URI="http://support.wolfram.com/mathematica/systems/windows/general/"
+TRUETYPE_FILE="MathFonts_TrueType_${PV//./}.exe"
+TYPE1_FILE="MathFonts_Type1_${PV//./}.exe"
+
+SRC_URI="truetype? ( $TRUETYPE_FILE )
+!truetype? ( $TYPE1_FILE )"
+LICENSE="WRI-EULA"
+
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="truetype"
+DEPEND="app-arch/unzip"
+RDEPEND=""
+RESTRICT="fetch nomirror"
+S=${WORKDIR}/
+FONT_S=${S}
+
+pkg_nofetch() {
+ einfo "Please visit the homepage:"
+ einfo "$HOMEPAGE"
+ einfo "and download "
+ if use truetype; then
+ einfo ${DOWNLOAD_URI}${TRUETYPE_FILE}
+ else
+ einfo ${DOWNLOAD_URI}${TYPE1_FILE}
+ fi
+ einfo "Then just put the file in ${DISTDIR}"
+}
+
+src_unpack() {
+ # zip is sufficient to extract the archive
+ unzip ${DISTDIR}/${A} >/dev/null || die "failed to unpack ${A}"
+}
+
+src_install() {
+ if use truetype; then
+ FONT_SUFFIX="ttf"
+ else
+ FONT_SUFFIX="pf*"
+ fi
+
+ font_src_install
+}
diff --git a/media-fonts/mathematica-fonts/metadata.xml b/media-fonts/mathematica-fonts/metadata.xml
new file mode 100644
index 000000000000..696065edd338
--- /dev/null
+++ b/media-fonts/mathematica-fonts/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>fonts</herd>
+</pkgmetadata>