commit:     24d14a4e6503d194dd298113c6905f061db36c5d
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
AuthorDate: Mon Jun  3 08:06:34 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
CommitDate: Mon Jun  3 08:06:34 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=24d14a4e

sci-physics/qgraf: add 4.0.1

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>

 sci-physics/qgraf/qgraf-4.0.1.ebuild | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/sci-physics/qgraf/qgraf-4.0.1.ebuild 
b/sci-physics/qgraf/qgraf-4.0.1.ebuild
new file mode 100644
index 000000000..942ef732a
--- /dev/null
+++ b/sci-physics/qgraf/qgraf-4.0.1.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:[email protected]/v$(ver_cut 
1-2)/qgraf-${PV}.tgz"
+S="${WORKDIR}"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples"
+RESTRICT="bindist mirror"
+
+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
+}

Reply via email to