summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2017-08-28 19:49:28 +0200
committerGuilherme Amadio <amadio@gentoo.org>2017-08-28 19:49:28 +0200
commit4f320bb8f060faf5cc98a8f3bf347d26cefcad98 (patch)
tree5571f7ecd7564bf1fb705f859402c3be939f3f50 /sci-physics
parentsci-physics/herwig: stable for amd64 and x86 (diff)
downloadgentoo-4f320bb8f060faf5cc98a8f3bf347d26cefcad98.tar.gz
gentoo-4f320bb8f060faf5cc98a8f3bf347d26cefcad98.tar.bz2
gentoo-4f320bb8f060faf5cc98a8f3bf347d26cefcad98.zip
sci-physics/herwig: drop old
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/herwig/herwig-6.5.21.ebuild65
1 files changed, 0 insertions, 65 deletions
diff --git a/sci-physics/herwig/herwig-6.5.21.ebuild b/sci-physics/herwig/herwig-6.5.21.ebuild
deleted file mode 100644
index efc9edf1c7a..00000000000
--- a/sci-physics/herwig/herwig-6.5.21.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=yes
-inherit versionator autotools-utils fortran-2
-
-PV1=$(get_version_component_range 1 ${PV})
-PV2=$(get_version_component_range 2 ${PV})
-PV3=$(get_version_component_range 3 ${PV})
-MY_P=${PN}${PV1}${PV2}${PV3}
-MY_PINC="$(echo ${PN}|tr '[:lower:]' '[:upper:]')${PV1}${PV2}.INC"
-
-DESCRIPTION="High Energy Physics Event Generator"
-HOMEPAGE="http://www.hep.phy.cam.ac.uk/theory/webber/Herwig/"
-SRC_URI="
- ${HOMEPAGE}/${MY_P}.f
- ${HOMEPAGE}/${MY_P}.inc
- ${HOMEPAGE}/${MY_PINC}
- doc? ( ${HOMEPAGE}/hw65_manual.pdf )"
-
-LICENSE="all-rights-reserved"
-RESTRICT="mirror bindist"
-
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc static-libs"
-
-RDEPEND="!sci-physics/cernlib-montecarlo[herwig]"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}"
-
-src_unpack() {
- cp "${DISTDIR}"/{"${MY_P}".f,"${MY_P}".inc,"${MY_PINC}"} "${S}" || die
-}
-
-src_prepare() {
- sed -i \
- -e "s/${PN}.*.inc/${MY_P}.inc/" \
- ${MY_PINC} || die
- cat > configure.ac <<-EOF
- AC_INIT(${PN},${PV})
- AM_INIT_AUTOMAKE
- AC_PROG_F77
- AC_PROG_LIBTOOL
- AC_CONFIG_FILES(Makefile)
- AC_OUTPUT
- EOF
- cat > Makefile.am <<-EOF
- lib_LTLIBRARIES = lib${PN}.la
- lib${PN}_la_SOURCES = ${MY_P}.f
- include_HEADERS = \
- ${MY_PINC} \
- ${MY_P}.inc
-
- EOF
- autotools-utils_src_prepare
-}
-
-src_install() {
- autotools-utils_src_install
- use doc && dodoc "${DISTDIR}"/hw65_manual.pdf
-}