commit: 7c3c47e94fcbdc3b4abddcbb4bf005ab5cd48a39 Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> AuthorDate: Tue Mar 12 20:41:41 2024 +0000 Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> CommitDate: Thu Mar 14 12:32:11 2024 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7c3c47e9
sci-physics/qgraf: add 3.6.6 Co-authored-by: Andrew Nowa Ammerlaan <andrewammerlaan <AT> gentoo.org> Closes: https://github.com/gentoo/sci/pull/1253 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> sci-physics/qgraf/qgraf-3.6.6.ebuild | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/sci-physics/qgraf/qgraf-3.6.6.ebuild b/sci-physics/qgraf/qgraf-3.6.6.ebuild new file mode 100644 index 000000000..4194295a4 --- /dev/null +++ b/sci-physics/qgraf/qgraf-3.6.6.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs fortran-2 + +DESCRIPTION="qgraf generates Feynman diagrams for various types of QFT models" +HOMEPAGE="http://cfif.ist.utl.pt/~paulo/qgraf.html" +SRC_URI="http://anonymous:anonym...@qgraf.tecnico.ulisboa.pt/v$(ver_cut 1-2)/qgraf-${PV}.tgz" +S="${WORKDIR}" + +LICENSE="all-rights-reserved" +RESTRICT="bindist mirror" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc examples" + +src_compile() { + $(tc-getFC) ${P}.f08 -o ${PN} ${FFLAGS} ${LDFLAGS} || die "Failed to compile" +} + +src_install() { + dobin ${PN} + + use doc && dodoc *.pdf + if use examples; then + docinto examples + dodoc phi3 qed qcd *.sty *.dat + docompress -x /usr/share/doc/${PF}/examples + fi +}