summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-02-27 21:04:45 +0100
committerMichał Górny <mgorny@gentoo.org>2022-02-27 21:04:45 +0100
commitd248c3332bea2f81b849495b4a4c08c7817f7786 (patch)
treefbf8aacd68b47c15d61b830696a7b3b3e1f9b360 /dev-libs/mathjax/mathjax-2.7.0.ebuild
parentdev-python/pygraphviz: Remove old (diff)
downloadgentoo-d248c3332bea2f81b849495b4a4c08c7817f7786.tar.gz
gentoo-d248c3332bea2f81b849495b4a4c08c7817f7786.tar.bz2
gentoo-d248c3332bea2f81b849495b4a4c08c7817f7786.zip
dev-libs/mathjax: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs/mathjax/mathjax-2.7.0.ebuild')
-rw-r--r--dev-libs/mathjax/mathjax-2.7.0.ebuild57
1 files changed, 0 insertions, 57 deletions
diff --git a/dev-libs/mathjax/mathjax-2.7.0.ebuild b/dev-libs/mathjax/mathjax-2.7.0.ebuild
deleted file mode 100644
index b61ec426b028..000000000000
--- a/dev-libs/mathjax/mathjax-2.7.0.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit vcs-clean
-
-DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath"
-HOMEPAGE="https://www.mathjax.org/"
-SRC_URI="https://github.com/mathjax/MathJax/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}"/MathJax-${PV}
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples"
-
-RESTRICT="binchecks strip"
-
-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() {
- default
- egit_clean
-}
-
-src_install() {
- local DOCS=( README* )
- use doc && local HTML_DOCS=( docs/html/* )
- default
- if use examples; then
- insinto /usr/share/${PN}/examples
- doins -r test/*
- fi
- rm -r 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
-}