summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-08-22 21:37:22 +0200
committerDavid Seifert <soap@gentoo.org>2021-08-22 21:37:22 +0200
commit0cf96625aabd37d4e3f151a99aecee3135b0f627 (patch)
tree40b45d77f8f1521da5f316af5a6ed88106bff570 /sci-electronics
parentsci-electronics/irsim: Port to EAPI 8 (diff)
downloadgentoo-0cf96625aabd37d4e3f151a99aecee3135b0f627.tar.gz
gentoo-0cf96625aabd37d4e3f151a99aecee3135b0f627.tar.bz2
gentoo-0cf96625aabd37d4e3f151a99aecee3135b0f627.zip
sci-electronics/petrify: Port to EAPI 8
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/petrify/petrify-4.2-r1.ebuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/sci-electronics/petrify/petrify-4.2-r1.ebuild b/sci-electronics/petrify/petrify-4.2-r1.ebuild
index 2782e4be8402..4620813921eb 100644
--- a/sci-electronics/petrify/petrify-4.2-r1.ebuild
+++ b/sci-electronics/petrify/petrify-4.2-r1.ebuild
@@ -1,25 +1,22 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=8
DESCRIPTION="Synthesize Petri nets into asynchronous circuits"
HOMEPAGE="http://www.lsi.upc.edu/~jordicf/petrify/"
SRC_URI="http://www.lsi.upc.edu/~jordicf/petrify/distrib/petrify-4.2-linux.tgz"
+S="${WORKDIR}"/${PN}
LICENSE="Old-MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
RDEPEND="media-gfx/graphviz"
-DEPEND=""
RESTRICT="strip"
-QA_PREBUILT="/opt/petrify/petrify"
-
-S="${WORKDIR}"/${PN}
+QA_PREBUILT="opt/petrify/petrify"
src_install() {
exeinto /opt/petrify
@@ -27,9 +24,11 @@ src_install() {
dosym petrify /opt/petrify/draw_astg
dosym petrify /opt/petrify/write_sg
- dodoc doc/*
+ dodoc -r doc/.
doman man/man1/*
dodir /etc/env.d
- echo "PATH=${EPREFIX}/opt/petrify" > "${ED}"/etc/env.d/00petrify
+ newenvd - 00petrify <<- _EOF_
+ PATH="${EPREFIX}/opt/petrify"
+ _EOF_
}