Skip to content

Commit

Permalink
sci-physics/qgraf: add 3.5.3, 3.6.9
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Puck Neuwirth <[email protected]>
  • Loading branch information
APN-Pucky committed Jan 20, 2025
1 parent 06b264f commit 9f6e1da
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
32 changes: 32 additions & 0 deletions sci-physics/qgraf/qgraf-3.5.3.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
32 changes: 32 additions & 0 deletions sci-physics/qgraf/qgraf-3.6.9.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 9f6e1da

Please sign in to comment.