diff options
author | Mark Wright <gienah@gentoo.org> | 2014-11-26 05:25:16 +0000 |
---|---|---|
committer | Mark Wright <gienah@gentoo.org> | 2014-11-26 05:25:16 +0000 |
commit | 6dc542d8165bf04bcb8e4ca1ca175f0ec126acf6 (patch) | |
tree | 1fbb88f665335c17ca2daa6070c655c9e4b89f9c /dev-libs/mathjax | |
parent | Forward-port ${CHOST}-cups-config use, bug #530494. (diff) | |
download | gentoo-2-6dc542d8165bf04bcb8e4ca1ca175f0ec126acf6.tar.gz gentoo-2-6dc542d8165bf04bcb8e4ca1ca175f0ec126acf6.tar.bz2 gentoo-2-6dc542d8165bf04bcb8e4ca1ca175f0ec126acf6.zip |
Bump, fixes bug 523302 - dev-libs/mathjax-2.4 bump request
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
Diffstat (limited to 'dev-libs/mathjax')
-rw-r--r-- | dev-libs/mathjax/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/mathjax/mathjax-2.4.ebuild | 55 | ||||
-rw-r--r-- | dev-libs/mathjax/metadata.xml | 3 |
3 files changed, 64 insertions, 2 deletions
diff --git a/dev-libs/mathjax/ChangeLog b/dev-libs/mathjax/ChangeLog index cfc827bfbf37..43d1ae6e12f2 100644 --- a/dev-libs/mathjax/ChangeLog +++ b/dev-libs/mathjax/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/mathjax # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/mathjax/ChangeLog,v 1.10 2014/11/25 22:41:13 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mathjax/ChangeLog,v 1.11 2014/11/26 05:25:16 gienah Exp $ + +*mathjax-2.4 (26 Nov 2014) + + 26 Nov 2014; Mark Wright <gienah@gentoo.org> +mathjax-2.4.ebuild, + metadata.xml: + Bump, fixes bug 523302 - dev-libs/mathjax-2.4 bump request 25 Nov 2014; Julian Ospald <hasufell@gentoo.org> metadata.xml: drop maintainership diff --git a/dev-libs/mathjax/mathjax-2.4.ebuild b/dev-libs/mathjax/mathjax-2.4.ebuild new file mode 100644 index 000000000000..144de5f57f89 --- /dev/null +++ b/dev-libs/mathjax/mathjax-2.4.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mathjax/mathjax-2.4.ebuild,v 1.1 2014/11/26 05:25:16 gienah 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}-latest.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples" + +RESTRICT="binchecks" + +S=${WORKDIR}/MathJax-${PV}-latest + +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 index 25c5e0d4d8d0..c96053982872 100644 --- a/dev-libs/mathjax/metadata.xml +++ b/dev-libs/mathjax/metadata.xml @@ -2,7 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer> - <email>maintainer-needed@gentoo.org</email> + <email>gienah@gentoo.org</email> + <name>Mark Wright</name> </maintainer> <longdescription lang='en'> MathJax is an open-source JavaScript display engine for LaTeX and |