diff options
author | David Seifert <soap@gentoo.org> | 2019-10-18 14:18:18 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-10-18 14:18:18 +0200 |
commit | a4e5a37c63cf594c0ebd554c6a07c855428fc0bc (patch) | |
tree | 42c0d4bf0670a8114de10a25621be59212775c61 /app-text/ps2eps/ps2eps-1.68.ebuild | |
parent | dev-util/android-studio: bump 3.5.1 (diff) | |
download | gentoo-a4e5a37c63cf594c0ebd554c6a07c855428fc0bc.tar.gz gentoo-a4e5a37c63cf594c0ebd554c6a07c855428fc0bc.tar.bz2 gentoo-a4e5a37c63cf594c0ebd554c6a07c855428fc0bc.zip |
app-text/ps2eps: Port to EAPI 7
Closes: https://bugs.gentoo.org/697380
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-text/ps2eps/ps2eps-1.68.ebuild')
-rw-r--r-- | app-text/ps2eps/ps2eps-1.68.ebuild | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/app-text/ps2eps/ps2eps-1.68.ebuild b/app-text/ps2eps/ps2eps-1.68.ebuild index 9950ac235e7b..67beb71c430d 100644 --- a/app-text/ps2eps/ps2eps-1.68.ebuild +++ b/app-text/ps2eps/ps2eps-1.68.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 inherit toolchain-funcs @@ -12,29 +12,30 @@ SRC_URI="http://www.tm.uka.de/~bless/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="" -DEPEND="" -RDEPEND="app-text/ghostscript-gpl +RDEPEND=" + app-text/ghostscript-gpl !<app-text/texlive-core-2007-r7" S="${WORKDIR}/${PN}" -src_compile() { +src_configure() { tc-export CC - cd "${S}/src/C" - echo "all: bbox" > Makefile - emake || die "making bbox failed" +} + +src_compile() { + cd src/C || die + emake bbox } src_install() { - dobin "${S}/src/C/bbox" - dobin "${S}/bin/ps2eps" - doman "${S}/doc/man/man1/bbox.1" - doman "${S}/doc/man/man1/ps2eps.1" - - dodoc Changes.txt README.txt - dohtml "${S}/doc/html/"* - docinto pdf - dodoc "${S}/doc/pdf/"* + dobin src/C/bbox + dobin bin/ps2eps + + doman doc/man/man1/bbox.1 + doman doc/man/man1/ps2eps.1 + + local DOCS=( Changes.txt README.txt doc/pdf ) + local HTML_DOCS=( doc/html/. ) + einstalldocs } |