diff options
author | David Seifert <soap@gentoo.org> | 2021-07-17 01:43:31 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-07-17 01:43:31 +0200 |
commit | 4db6ac88ab2aa4ac289513152bccb42eaa99e31c (patch) | |
tree | 58bb3321959fc7d0f701ef11f639f5d8b5601fb3 /sci-visualization/epix | |
parent | profiles/arch/riscv: update package USE masks (diff) | |
download | gentoo-4db6ac88ab2aa4ac289513152bccb42eaa99e31c.tar.gz gentoo-4db6ac88ab2aa4ac289513152bccb42eaa99e31c.tar.bz2 gentoo-4db6ac88ab2aa4ac289513152bccb42eaa99e31c.zip |
sci-visualization/epix: cleanup
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-visualization/epix')
-rw-r--r-- | sci-visualization/epix/epix-1.2.19.ebuild | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sci-visualization/epix/epix-1.2.19.ebuild b/sci-visualization/epix/epix-1.2.19.ebuild index 9324913332a0..f8355a91afbb 100644 --- a/sci-visualization/epix/epix-1.2.19.ebuild +++ b/sci-visualization/epix/epix-1.2.19.ebuild @@ -3,14 +3,14 @@ EAPI=7 -inherit elisp-common bash-completion-r1 autotools +inherit autotools bash-completion-r1 elisp-common DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)" HOMEPAGE="https://mathcs.holycross.edu/~ahwang/current/ePiX.html" SRC_URI="https://mathcs.holycross.edu/~ahwang/epix/${P}_withpdf.tar.bz2" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" IUSE="doc emacs examples" @@ -24,9 +24,7 @@ DEPEND=" RDEPEND="${DEPEND}" SITEFILE=50${PN}-gentoo.el -PATCHES=( - "${FILESDIR}/${P}-autotools.patch" -) +PATCHES=( "${FILESDIR}"/${P}-autotools.patch ) src_prepare() { default @@ -34,26 +32,28 @@ src_prepare() { } src_configure() { - econf \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" \ - --disable-epix-el + econf --disable-epix-el } src_install() { default + + newbashcomp bash_completions epix + bashcomp_alias epix flix elaps laps + 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-compile *.el + elisp-install ${PN} *.elc *.el elisp-site-file-install "${FILESDIR}/${SITEFILE}" fi - newbashcomp bash_completions epix - bashcomp_alias epix flix elaps laps + if use doc; then dodoc doc/*gz docompress -x /usr/share/doc/${PF}/manual{.pdf,.ps,_src.tar}.gz fi + if use examples; then cd samples || die docinto examples |