From 561913735cbb5bd00fd8d17f69382f74114aae53 Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Mon, 4 Nov 2019 17:35:33 +0300 Subject: sci-visualization/epix: migrate from dev-tex/xcolor Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Mikle Kolyada --- sci-visualization/epix/epix-1.2.11-r1.ebuild | 66 ---------------------------- sci-visualization/epix/epix-1.2.11-r2.ebuild | 66 ++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 66 deletions(-) delete mode 100644 sci-visualization/epix/epix-1.2.11-r1.ebuild create mode 100644 sci-visualization/epix/epix-1.2.11-r2.ebuild (limited to 'sci-visualization') diff --git a/sci-visualization/epix/epix-1.2.11-r1.ebuild b/sci-visualization/epix/epix-1.2.11-r1.ebuild deleted file mode 100644 index 536173f22c51..000000000000 --- a/sci-visualization/epix/epix-1.2.11-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit elisp-common bash-completion-r1 autotools eutils - -DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)" -HOMEPAGE="http://mathcs.holycross.edu/~ahwang/current/ePiX.html" -SRC_URI="http://mathcs.holycross.edu/~ahwang/epix/${P}_withpdf.tar.bz2" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" -IUSE="doc emacs examples" - -DEPEND=" - virtual/latex-base - dev-texlive/texlive-pstricks - dev-texlive/texlive-pictures - dev-texlive/texlive-latexextra - dev-tex/xcolor - emacs? ( virtual/emacs )" -RDEPEND="${DEPEND}" -SITEFILE=50${PN}-gentoo.el - -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.2.10-autotools.patch - eautoreconf -} - -src_configure() { - econf \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" \ - --disable-epix-el -} - -src_install() { - default - if use emacs; then - # do compilation here as the make install target will - # create the .el file - elisp-compile *.el || die "elisp-compile failed!" - elisp-install ${PN} *.elc *.el || die "elisp-install failed!" - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi - newbashcomp bash_completions epix - bashcomp_alias epix flix elaps laps - if use doc; then - insinto /usr/share/doc/${PF} - doins doc/*gz - fi - if use examples; then - cd samples - insinto /usr/share/doc/${PF}/examples - doins *.xp *.flx *c *h README - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/sci-visualization/epix/epix-1.2.11-r2.ebuild b/sci-visualization/epix/epix-1.2.11-r2.ebuild new file mode 100644 index 000000000000..d63c60e45ac8 --- /dev/null +++ b/sci-visualization/epix/epix-1.2.11-r2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit elisp-common bash-completion-r1 autotools eutils + +DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)" +HOMEPAGE="http://mathcs.holycross.edu/~ahwang/current/ePiX.html" +SRC_URI="http://mathcs.holycross.edu/~ahwang/epix/${P}_withpdf.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" +IUSE="doc emacs examples" + +DEPEND=" + virtual/latex-base + dev-texlive/texlive-pstricks + dev-texlive/texlive-pictures + dev-texlive/texlive-latexextra + dev-texlive/texlive-latexrecommended + emacs? ( virtual/emacs )" +RDEPEND="${DEPEND}" +SITEFILE=50${PN}-gentoo.el + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.2.10-autotools.patch + eautoreconf +} + +src_configure() { + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --disable-epix-el +} + +src_install() { + default + if use emacs; then + # do compilation here as the make install target will + # create the .el file + elisp-compile *.el || die "elisp-compile failed!" + elisp-install ${PN} *.elc *.el || die "elisp-install failed!" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi + newbashcomp bash_completions epix + bashcomp_alias epix flix elaps laps + if use doc; then + insinto /usr/share/doc/${PF} + doins doc/*gz + fi + if use examples; then + cd samples + insinto /usr/share/doc/${PF}/examples + doins *.xp *.flx *c *h README + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} -- cgit v1.2.3-65-gdbad