diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild')
-rw-r--r-- | sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild | 35 |
1 files changed, 16 insertions, 19 deletions
diff --git a/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild b/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild index a329866fa003..cc8aa0b44b78 100644 --- a/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild +++ b/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 -inherit eutils fortran-2 toolchain-funcs multilib +inherit fortran-2 toolchain-funcs DESCRIPTION="PMEL fork of XGKS, an X11-based version of the ANSI Graphical Kernel System" HOMEPAGE="http://www.gentoogeek.org/viewvc/Linux/xgks-pmel/" @@ -14,15 +14,13 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="doc" -RDEPEND=" - x11-libs/libX11" -DEPEND="${RDEPEND} +RDEPEND="x11-libs/libX11" +DEPEND="${RDEPEND}" +BDEPEND=" sys-devel/flex sys-apps/groff" -src_prepare() { - epatch "${FILESDIR}"/aclocal.patch -} +PATCHES=( "${FILESDIR}"/aclocal.patch ) src_configure() { sed -i -e "s:lib64:$(get_libdir):g" port/master.mk.in \ @@ -40,28 +38,27 @@ src_compile() { # Fails parallel build, bug #295724 emake -j1 - - cd src/fortran - emake -j1 + emake -C src/fortran -j1 } src_install() { - cd "${S}"/progs - - for tool in {defcolors,font,mi,pline,pmark}; do + pushd progs >/dev/null || die + local tool + for tool in defcolors font mi pline pmark; do newbin ${tool} xgks-${tool} done + popd >/dev/null || die - cd "${S}" dolib.a src/lib/libxgks.a - dodoc COPYRIGHT HISTORY INSTALL README + dodoc COPYRIGHT HISTORY README doman doc/{xgks.3,xgks_synop.3} if use doc; then newdoc doc/binding/cbinding.me cbinding newdoc doc/userdoc/userdoc.me userdoc - insinto /usr/share/doc/${P}/examples - doins progs/{hanoi.c,star.c} + + docinto examples + dodoc progs/{hanoi.c,star.f} fi insinto /usr/include/xgks |