summaryrefslogtreecommitdiff
path: root/sci-chemistry/mopac7
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-17 11:36:49 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-17 11:36:49 +0100
commite2db47eaae00ec33f8971db44b68645c5d3b9590 (patch)
tree3ec0cf16ddb5854017e134fabebe14bf8cb94a34 /sci-chemistry/mopac7
parent616579b5d773c50af31ee56f00105d96ce641ca2 (diff)
gentoo resync : 17.08.2021
Diffstat (limited to 'sci-chemistry/mopac7')
-rw-r--r--sci-chemistry/mopac7/Manifest2
-rw-r--r--sci-chemistry/mopac7/mopac7-1.15-r1.ebuild17
2 files changed, 11 insertions, 8 deletions
diff --git a/sci-chemistry/mopac7/Manifest b/sci-chemistry/mopac7/Manifest
index 274811a00582..ca9982c34338 100644
--- a/sci-chemistry/mopac7/Manifest
+++ b/sci-chemistry/mopac7/Manifest
@@ -2,5 +2,5 @@ AUX Makefile 387 BLAKE2B b0c4b3a009c8bf8c779953edf3e233434656033a661cb307079eebc
DIST dcart.f 11044 BLAKE2B 7414804ecfab9a7cbddee664b85e6e2e8c1d8fe1e1f73d480dd1a387c5e349d26ec4ae1a37f27e38b7c051fcce2c1bdf77de12ec628298fd3edf79040a8a0c5a SHA512 788a184fd8419ff742e49c1a652d5ea093f9114dbe4f272665b8fb9eeac2afb7f7042628c288f2b81d0f54d8a7ef2f400490cd3aff39dda59a6d70a0deab5b80
DIST gmxmop.f 38956 BLAKE2B e411feca5104e91ae8fd2008de61d18cc214beb3b2a7aa09a80269fb935e27ba1b1cb89fa30eedbfc4f6c4734c22d932e57d5905c175ae9f56c4affee7b0ca04 SHA512 38bb2e5749c4d3c8c24f15682f72e40cb4edb6517c7916cecee1d21675b1870c0fe331ba2ec40312408dec473141e7742d1e155d4b64f1c2a25bfa4e11885194
DIST mopac7-1.15.tar.gz 764547 BLAKE2B 6e037862007221955d0ad65f3c002a3d2e461950a2bc0efac9d195cf1d9d856842d02bc380ce236c3d48f863a144875950f5c86f8f3ac936b8b098472f7f7a0d SHA512 e0ccd643caa6dbd7e156867530d79e50e10243f5e3b5f8bc57781e68e1daf26f2a0e6987fff00afe07eb0fcb98cbd9f01e4cfa5d20acc0d8ab3cca632968636e
-EBUILD mopac7-1.15-r1.ebuild 1814 BLAKE2B 6ceef187223119bdcc1d772981573756c6b591bd9ab4886fea99ac3bccd08f755a1687b15e524d0db4030955b0a0e85b2793478788e910c65963019f85b396b4 SHA512 44211bb723a2e39e4059309ceef512e49b4010d18b66fa8509f5538cac0c59d4d29eaba887eb1101710bf59d70863a15c1605fe32b5ce9734019099d3c6d64f0
+EBUILD mopac7-1.15-r1.ebuild 1851 BLAKE2B e3922c1a7937bb5a5ec85b7ef94a3c7eee007d6488e74bbed300c0f4904b83921aaea1b6e84932e869a5e1491a305b10b1123b3aacb36f5952505b2d70165b0f SHA512 bc58c9b43d6e63e8fa25c33d199bdc924b841cf60c2ac3e5b387b5912ead41153684f15fa7231b056cfe84b62c44d16c004c78137f4aa0e805ee2b503af57b35
MISC metadata.xml 434 BLAKE2B 011dd4486a917b69a58d398027b3af606bae6a6ea2b470b2f3f3d15f64b6db46a8a77ae4a52d78249ac8917d1a25bcbbcb5af62bea6677c5d4b433e47e9a8356 SHA512 77b3e0b69436a4f199c5ae3d9382c9b6cf2049ffd98144a2dc291495de9e8daa9deb6141d77b917f6e29902ad862c9044e7661ca7f0ae5e4fc68983857b3f6f2
diff --git a/sci-chemistry/mopac7/mopac7-1.15-r1.ebuild b/sci-chemistry/mopac7/mopac7-1.15-r1.ebuild
index 3cb18cba78fe..aaf87bceee5c 100644
--- a/sci-chemistry/mopac7/mopac7-1.15-r1.ebuild
+++ b/sci-chemistry/mopac7/mopac7-1.15-r1.ebuild
@@ -1,7 +1,7 @@
-# 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
inherit autotools fortran-2 flag-o-matic toolchain-funcs
@@ -21,6 +21,8 @@ DEPEND="dev-libs/libf2c"
RDEPEND="${DEPEND}"
src_prepare() {
+ default
+
# Install the executable
sed -i \
-e "s:noinst_PROGRAMS = mopac7:bin_PROGRAMS = mopac7:g" \
@@ -44,11 +46,12 @@ src_compile() {
emake
if use gmxmopac7; then
einfo "Making mopac7 lib for gromacs"
- mkdir "${S}"/fortran/libgmxmopac7 && cd "${S}"/fortran/libgmxmopac7
- cp -f ../SIZES ../*.f "${FILESDIR}"/Makefile . || die
+ mkdir "${S}"/fortran/libgmxmopac7 || die
+ cd "${S}"/fortran/libgmxmopac7 || die
+ cp -n ../SIZES ../*.f "${FILESDIR}"/Makefile . || die
emake clean
- cp -f "${DISTDIR}"/gmxmop.f "${DISTDIR}"/dcart.f . || die
- sed "s:GENTOOVERSION:${PV}:g" -i Makefile
+ cp -n "${DISTDIR}"/gmxmop.f "${DISTDIR}"/dcart.f . || die
+ sed "s:GENTOOVERSION:${PV}:g" -i Makefile || die
emake FC=$(tc-getFC)
fi
}
@@ -61,7 +64,7 @@ src_install() {
default
if use gmxmopac7; then
- cd "${S}"/fortran/libgmxmopac7
+ cd "${S}"/fortran/libgmxmopac7 || die
dolib.so libgmxmopac7.so*
fi