From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-libs/mathjax/
Date: Fri, 29 Jun 2012 18:34:49 +0000 (UTC) [thread overview]
Message-ID: <1340994867.f6cb88cda736f558efb94fe9821cfffca8bcacc4.bicatali@gentoo> (raw)
commit: f6cb88cda736f558efb94fe9821cfffca8bcacc4
Author: Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca>
AuthorDate: Fri Jun 29 18:34:27 2012 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Fri Jun 29 18:34:27 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f6cb88cd
dev-libs/mathjax: Initial import
(Portage version: 2.2.01.20430-prefix/git/Linux x86_64, unsigned Manifest commit)
---
dev-libs/mathjax/ChangeLog | 10 +++++++
dev-libs/mathjax/mathjax-2.0.ebuild | 50 +++++++++++++++++++++++++++++++++++
dev-libs/mathjax/metadata.xml | 17 ++++++++++++
3 files changed, 77 insertions(+), 0 deletions(-)
diff --git a/dev-libs/mathjax/ChangeLog b/dev-libs/mathjax/ChangeLog
new file mode 100644
index 0000000..ca20ec9
--- /dev/null
+++ b/dev-libs/mathjax/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-libs/mathjax
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*mathjax-2.0 (29 Jun 2012)
+
+ 29 Jun 2012; Sebastien Fabbro <fabbros@gentoo.org> +mathjax-2.0.ebuild,
+ +metadata.xml:
+ dev-libs/mathjax: Initial import
+
diff --git a/dev-libs/mathjax/mathjax-2.0.ebuild b/dev-libs/mathjax/mathjax-2.0.ebuild
new file mode 100644
index 0000000..14e5e5a
--- /dev/null
+++ b/dev-libs/mathjax/mathjax-2.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath"
+HOMEPAGE="http://www.mathjax.org/"
+SRC_URI="https://github.com/mathjax/MathJax/tarball/v${PV} -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples"
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A} && mv ${PN}-MathJax-* ${P}
+}
+
+src_install() {
+ find . -name .gitignore -delete
+ dodoc README*
+ use doc && dohtml -r docs/html/*
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r test/*
+ fi
+ rm -rf test docs LICENSE README*
+ #local installdir=/var/www/${PN}
+ local installdir=/usr/share/${PN}
+ insinto ${installdir}
+ doins -r *
+ # web server config file - should we really do this?
+ cat > MathJax.conf <<-EOF
+ Alias /MathJax/ ${EPREFIX}${installdir}/
+ Alias /mathjax/ ${EPREFIX}${installdir}/
+
+ <Directory ${EPREFIX}${installdir}>
+ Options None
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+ </Directory>
+ EOF
+ insinto /etc/httpd/conf.d
+ doins MathJax.conf
+}
diff --git a/dev-libs/mathjax/metadata.xml b/dev-libs/mathjax/metadata.xml
new file mode 100644
index 0000000..0544fc3
--- /dev/null
+++ b/dev-libs/mathjax/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang='en'>
+ MathJax is an open-source JavaScript display engine for LaTeX and
+ MathML that works in all modern browsers. It was designed with the
+ goal of consolidating the recent advances in web technologies into a
+ single, definitive, math-on-the-web platform supporting the major
+ browsers and operating systems. It requires no setup on the part of
+ the user (no plugins to downlaod or software to install), so the
+ page author can write web documents that include mathematics and be
+ confident that users will be able to view it naturally and
+ easily. One simply includes MathJax and some mathematics in a web
+ page, and MathJax does the rest.
+</longdescription>
+</pkgmetadata>
next reply other threads:[~2012-06-29 18:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-29 18:34 Sebastien Fabbro [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-02-25 1:20 [gentoo-commits] proj/sci:master commit in: dev-libs/mathjax/ Sebastien Fabbro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1340994867.f6cb88cda736f558efb94fe9821cfffca8bcacc4.bicatali@gentoo \
--to=bicatali@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox