Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/mopac7/
Date: Thu, 04 Jun 2020 08:40:45
Message-Id: 1591260028.260717370a24849bda4148d640a5d5d425e2a012.asturm@gentoo
1 commit: 260717370a24849bda4148d640a5d5d425e2a012
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 4 08:34:43 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 4 08:40:28 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26071737
7
8 sci-chemistry/mopac7: Drop 1.15
9
10 Package-Manager: Portage-2.3.100, Repoman-2.3.22
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 sci-chemistry/mopac7/mopac7-1.15.ebuild | 74 ---------------------------------
14 1 file changed, 74 deletions(-)
15
16 diff --git a/sci-chemistry/mopac7/mopac7-1.15.ebuild b/sci-chemistry/mopac7/mopac7-1.15.ebuild
17 deleted file mode 100644
18 index 9ee026f0d21..00000000000
19 --- a/sci-chemistry/mopac7/mopac7-1.15.ebuild
20 +++ /dev/null
21 @@ -1,74 +0,0 @@
22 -# Copyright 1999-2014 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=4
26 -
27 -inherit autotools fortran-2 toolchain-funcs
28 -
29 -DESCRIPTION="Autotooled, updated version of a powerful, fast semi-empirical package"
30 -HOMEPAGE="https://sourceforge.net/projects/mopac7/"
31 -SRC_URI="
32 - http://www.bioinformatics.org/ghemical/download/current/${P}.tar.gz
33 - http://wwwuser.gwdg.de/~ggroenh/qmmm/mopac/dcart.f
34 - http://wwwuser.gwdg.de/~ggroenh/qmmm/mopac/gmxmop.f"
35 -
36 -LICENSE="public-domain"
37 -SLOT="0"
38 -KEYWORDS="amd64 ppc x86 ~amd64-linux"
39 -IUSE="gmxmopac7 static-libs"
40 -
41 -DEPEND="dev-libs/libf2c"
42 -RDEPEND="${DEPEND}"
43 -
44 -src_prepare() {
45 - # Install the executable
46 - sed -i \
47 - -e "s:noinst_PROGRAMS = mopac7:bin_PROGRAMS = mopac7:g" \
48 - fortran/Makefile.am \
49 - || die "sed failed: install mopac7"
50 - # Install the script to run the executable
51 - sed -i \
52 - -e "s:EXTRA_DIST = autogen.sh run_mopac7:bin_SCRIPTS = run_mopac7:g" \
53 - Makefile.am \
54 - || die "sed failed: install run_mopac7"
55 -
56 - eautoreconf
57 -}
58 -
59 -src_configure() {
60 - #set -std=legacy -fno-automatic according to
61 - #http://www.bioinformatics.org/pipermail/ghemical-devel/2008-August/000763.html
62 - FFLAGS="${FFLAGS} -std=legacy -fno-automatic" econf
63 -}
64 -
65 -src_compile() {
66 - emake
67 - if use gmxmopac7; then
68 - einfo "Making mopac7 lib for gromacs"
69 - mkdir "${S}"/fortran/libgmxmopac7 && cd "${S}"/fortran/libgmxmopac7
70 - cp -f ../SIZES ../*.f "${FILESDIR}"/Makefile . || die
71 - emake clean
72 - cp -f "${DISTDIR}"/gmxmop.f "${DISTDIR}"/dcart.f . || die
73 - sed "s:GENTOOVERSION:${PV}:g" -i Makefile
74 - emake FC=$(tc-getFC)
75 - if use static-libs; then
76 - emake static
77 - fi
78 - fi
79 -}
80 -
81 -src_install() {
82 - # A correct fix would have a run_mopac7.in with @bindir@ that gets
83 - # replaced by configure, and run_mopac7 added to AC_OUTPUT in configure.ac
84 - sed -i "s:./fortran/mopac7:mopac7:g" run_mopac7
85 -
86 - make DESTDIR="${D}" install || die
87 - dodoc AUTHORS README ChangeLog
88 - if use gmxmopac7; then
89 - cd "${S}"/fortran/libgmxmopac7
90 - dolib.so libgmxmopac7.so*
91 - if use static-libs; then
92 - dolib.a libgmxmopac7.a
93 - fi
94 - fi
95 -}