diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-02-16 14:57:45 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-02-16 14:57:45 +0000 |
commit | 5dc3ffe8aab3554e5dc43e4a7f6b5372cc2fad53 (patch) | |
tree | 68caae39d50f171e2aea74d94b95f8d05e019163 /dev-libs/mathjax | |
parent | masking iwl{4965,3945}-firmware as discussing on -dev (diff) | |
download | gentoo-2-5dc3ffe8aab3554e5dc43e4a7f6b5372cc2fad53.tar.gz gentoo-2-5dc3ffe8aab3554e5dc43e4a7f6b5372cc2fad53.tar.bz2 gentoo-2-5dc3ffe8aab3554e5dc43e4a7f6b5372cc2fad53.zip |
initial import
(Portage version: 2.2.0_alpha162/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'dev-libs/mathjax')
-rw-r--r-- | dev-libs/mathjax/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/mathjax/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/mathjax/mathjax-2.1.ebuild | 55 | ||||
-rw-r--r-- | dev-libs/mathjax/metadata.xml | 17 |
4 files changed, 86 insertions, 0 deletions
diff --git a/dev-libs/mathjax/ChangeLog b/dev-libs/mathjax/ChangeLog new file mode 100644 index 000000000000..cdc8de8b444d --- /dev/null +++ b/dev-libs/mathjax/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/mathjax +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mathjax/ChangeLog,v 1.1 2013/02/16 14:57:45 hasufell Exp $ + +*mathjax-2.1 (16 Feb 2013) + + 16 Feb 2013; Julian Ospald <hasufell@gentoo.org> +mathjax-2.1.ebuild, + +metadata.xml: + initial import + diff --git a/dev-libs/mathjax/Manifest b/dev-libs/mathjax/Manifest new file mode 100644 index 000000000000..73b70817e486 --- /dev/null +++ b/dev-libs/mathjax/Manifest @@ -0,0 +1,4 @@ +DIST mathjax-2.1.tar.gz 8834936 SHA256 f1a1aaa8b91ad5c749b3767ebd75294a7c305646f320d106899e2ea9227613d6 SHA512 b90399df7e06a77250fc76d9fd2de0c53c781e5897b85a01cf3a4ec033deea479e15d7d20ddad2730444d786fb6814ee88b5553ab89d7143fbf8f5b1b27fc330 WHIRLPOOL 499421b90f55ea34e379e3aa79fb37ef10c5704a8f019a775c59ff62172ee2de98e7a20576681b4976778117ca811eab221fa0d1af0dab9de86b0b712c41a323 +EBUILD mathjax-2.1.ebuild 1186 SHA256 2b0b4f506de72ccb11f70895bf5a3c6fd1be1827c6e1a23203e6b7e5fb0afe0e SHA512 54ca5eb6b1a038e8f53c5b04731a60536b6128815ec7ca8e9997543f9aecea8d30d8d78c24819ed8a5f6de26081443afc28840cb08cfb657bbcf53e6996277dd WHIRLPOOL a5a43a68b3bb00cbf46c75a7c08636fafe2214f247e9dcdbe24ae729144c70acdad3e11a437146d9fb46165cfc258587d1a708954cc0980543a42a89384f9d84 +MISC ChangeLog 252 SHA256 7682b771994b9d6859396acf2e0d4cab1d1904e0a2947d3bf70fd1d9e425052e SHA512 51f5a353dc181d691b438bd0c850a16ae2b6d594177cb442fc4c301f48d311a6861d3ee2f9d7f0f06b51276d6719ebb2de5bda299f3f901b6ee842f102c5f996 WHIRLPOOL a33d949e783492fb50ad73feb0ae0a3b85a5f776b45aecc1f18e7e46f2ee9d498e8bb07b5d29afc51837c01d7e33384cea55d85344169e5c3c0357434882513a +MISC metadata.xml 850 SHA256 578b6976f253e5636e9dd94b1484aad5db17293e7f806f126f487f63d870e367 SHA512 e2717efbd62f5b92d86a708e8547b4ef6f4b182549762e74398a668c866e13c32a861b28a7b8458846b7a6f545d1b31306e0147eb8397d16529f68e58f95754b WHIRLPOOL 165d8eac294d51aa269cc9f3f30a1058135e585b49396ccdb9de1acd99e900c06498a6b4c3d941667036f963cabcc4efc79ef9053ebbd49b0351855e979909de diff --git a/dev-libs/mathjax/mathjax-2.1.ebuild b/dev-libs/mathjax/mathjax-2.1.ebuild new file mode 100644 index 000000000000..de703736dd90 --- /dev/null +++ b/dev-libs/mathjax/mathjax-2.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mathjax/mathjax-2.1.ebuild,v 1.1 2013/02/16 14:57:45 hasufell Exp $ + +EAPI=5 + +DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath" +HOMEPAGE="http://www.mathjax.org/" +SRC_URI="https://github.com/mathjax/MathJax/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples" + +RESTRICT="binchecks" + +S=${WORKDIR}/MathJax-${PV} + +make_webconf() { + # web server config file - should we really do this? + cat > $1 <<-EOF + Alias /MathJax/ ${EPREFIX}${webinstalldir}/ + Alias /mathjax/ ${EPREFIX}${webinstalldir}/ + + <Directory ${EPREFIX}${webinstalldir}> + Options None + AllowOverride None + Order allow,deny + Allow from all + </Directory> + EOF +} + +src_prepare() { + find . -name .gitignore -delete || die +} + +src_install() { + 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* || die + + webinstalldir=/usr/share/${PN} + insinto ${webinstalldir} + doins -r * + + make_webconf MathJax.conf + 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 000000000000..0544fc3668ea --- /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> |