Gentoo Archives: gentoo-commits

From: Guilherme Amadio <amadio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/herwig/
Date: Mon, 28 Aug 2017 17:49:56
Message-Id: 1503942568.4f320bb8f060faf5cc98a8f3bf347d26cefcad98.amadio@gentoo
1 commit: 4f320bb8f060faf5cc98a8f3bf347d26cefcad98
2 Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 28 17:49:28 2017 +0000
4 Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 28 17:49:28 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f320bb8
7
8 sci-physics/herwig: drop old
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 sci-physics/herwig/herwig-6.5.21.ebuild | 65 ---------------------------------
13 1 file changed, 65 deletions(-)
14
15 diff --git a/sci-physics/herwig/herwig-6.5.21.ebuild b/sci-physics/herwig/herwig-6.5.21.ebuild
16 deleted file mode 100644
17 index efc9edf1c7a..00000000000
18 --- a/sci-physics/herwig/herwig-6.5.21.ebuild
19 +++ /dev/null
20 @@ -1,65 +0,0 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=5
25 -
26 -AUTOTOOLS_AUTORECONF=yes
27 -inherit versionator autotools-utils fortran-2
28 -
29 -PV1=$(get_version_component_range 1 ${PV})
30 -PV2=$(get_version_component_range 2 ${PV})
31 -PV3=$(get_version_component_range 3 ${PV})
32 -MY_P=${PN}${PV1}${PV2}${PV3}
33 -MY_PINC="$(echo ${PN}|tr '[:lower:]' '[:upper:]')${PV1}${PV2}.INC"
34 -
35 -DESCRIPTION="High Energy Physics Event Generator"
36 -HOMEPAGE="http://www.hep.phy.cam.ac.uk/theory/webber/Herwig/"
37 -SRC_URI="
38 - ${HOMEPAGE}/${MY_P}.f
39 - ${HOMEPAGE}/${MY_P}.inc
40 - ${HOMEPAGE}/${MY_PINC}
41 - doc? ( ${HOMEPAGE}/hw65_manual.pdf )"
42 -
43 -LICENSE="all-rights-reserved"
44 -RESTRICT="mirror bindist"
45 -
46 -SLOT="0"
47 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
48 -IUSE="doc static-libs"
49 -
50 -RDEPEND="!sci-physics/cernlib-montecarlo[herwig]"
51 -DEPEND="${RDEPEND}"
52 -
53 -S="${WORKDIR}"
54 -
55 -src_unpack() {
56 - cp "${DISTDIR}"/{"${MY_P}".f,"${MY_P}".inc,"${MY_PINC}"} "${S}" || die
57 -}
58 -
59 -src_prepare() {
60 - sed -i \
61 - -e "s/${PN}.*.inc/${MY_P}.inc/" \
62 - ${MY_PINC} || die
63 - cat > configure.ac <<-EOF
64 - AC_INIT(${PN},${PV})
65 - AM_INIT_AUTOMAKE
66 - AC_PROG_F77
67 - AC_PROG_LIBTOOL
68 - AC_CONFIG_FILES(Makefile)
69 - AC_OUTPUT
70 - EOF
71 - cat > Makefile.am <<-EOF
72 - lib_LTLIBRARIES = lib${PN}.la
73 - lib${PN}_la_SOURCES = ${MY_P}.f
74 - include_HEADERS = \
75 - ${MY_PINC} \
76 - ${MY_P}.inc
77 -
78 - EOF
79 - autotools-utils_src_prepare
80 -}
81 -
82 -src_install() {
83 - autotools-utils_src_install
84 - use doc && dodoc "${DISTDIR}"/hw65_manual.pdf
85 -}