summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-03-05 11:13:51 +0000
committerJustin Lecher <jlec@gentoo.org>2015-03-05 11:13:51 +0000
commitaae361a187d3c3ef4114b8f8330a087209bfc338 (patch)
tree6a75d6d11b54c3a06717584a1e1c738db4d476a4 /sci-chemistry
parentEAPI Bump (diff)
downloadgentoo-2-aae361a187d3c3ef4114b8f8330a087209bfc338.tar.gz
gentoo-2-aae361a187d3c3ef4114b8f8330a087209bfc338.tar.bz2
gentoo-2-aae361a187d3c3ef4114b8f8330a087209bfc338.zip
Drop old; stable latest version
(Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/shelx/ChangeLog9
-rw-r--r--sci-chemistry/shelx/shelx-20060317-r1.ebuild78
-rw-r--r--sci-chemistry/shelx/shelx-20060317-r2.ebuild75
3 files changed, 6 insertions, 156 deletions
diff --git a/sci-chemistry/shelx/ChangeLog b/sci-chemistry/shelx/ChangeLog
index f1b6b35a798f..2b38708fbaa8 100644
--- a/sci-chemistry/shelx/ChangeLog
+++ b/sci-chemistry/shelx/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-chemistry/shelx
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/shelx/ChangeLog,v 1.24 2014/05/19 09:17:29 jlec Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/shelx/ChangeLog,v 1.25 2015/03/05 11:13:51 jlec Exp $
+
+ 05 Mar 2015; Justin Lecher <jlec@gentoo.org> -shelx-20060317-r1.ebuild,
+ -shelx-20060317-r2.ebuild:
+ Drop old; stable latest version
*shelx-20140326 (19 May 2014)
@@ -102,4 +106,3 @@
05 Jun 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+files/20060317-autotool.patch, +metadata.xml, +shelx-20060317.ebuild:
New program for X-ray crystallographic structure determination.
-
diff --git a/sci-chemistry/shelx/shelx-20060317-r1.ebuild b/sci-chemistry/shelx/shelx-20060317-r1.ebuild
deleted file mode 100644
index b530992c1378..000000000000
--- a/sci-chemistry/shelx/shelx-20060317-r1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/shelx/shelx-20060317-r1.ebuild,v 1.11 2012/10/19 10:29:30 jlec Exp $
-
-inherit autotools eutils fortran-2 flag-o-matic toolchain-funcs
-
-DESCRIPTION="Programs for crystal structure determination from single-crystal diffraction data"
-HOMEPAGE="http://shelx.uni-ac.gwdg.de/SHELX/"
-SRC_URI="
- ${P}.tgz
- openmp? ( ${P}-mp.tgz )"
-
-SLOT="0"
-LICENSE="free-noncomm"
-KEYWORDS="amd64 ppc x86"
-IUSE="dosformat openmp"
-
-S="${WORKDIR}/unix"
-
-RESTRICT="fetch"
-
-pkg_nofetch() {
- elog "Go to ${HOMEPAGE}"
- elog "Fill out the application form, and send it in."
- elog "Download unix.tgz, rename it to ${P}.tgz,"
- use openmp && elog "download mp.tgz, rename it to ${P}-mp.tgz,"
- elog "and place renamed tarballs in ${DISTDIR}."
-}
-
-src_unpack() {
- unpack ${A}
- epatch \
- "${FILESDIR}"/${PV}-autotool.patch \
- "${FILESDIR}"/${PV}-gfortran.patch
-
- if use openmp; then
- for i in shelxh shelxlv; do
- cp mp/${i}_omp.f unix/${i}.f
- done
- fi
-
- sed -i \
- -e "s:CIFDIR='/usr/local/bin/':CIFDIR='/usr/share/${PN}/':g" \
- "${S}"/ciftab.f
-
- if use dosformat; then
- sed -i \
- -e "s/KD=CHAR(32)/KD=CHAR(13)/g" \
- "${S}"/*f
- fi
-
- cd "${S}"
- eautoreconf
-}
-
-src_compile() {
- case $(tc-getF77) in
- *gfortran) append-flags -fopenmp ;;
- ifort) append-flags -openmp ;;
- *) ewarn "Please add any necessary OpenMP build flags to F77FLAGS." ;;
- esac
-
- econf \
- FC="$(tc-getFC)"
- emake || die "make failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "install failed"
-}
-
-pkg_info() {
- use openmp && einfo "Set OMP_NUM_THREADS to the number of threads you want."
-}
-
-pkg_postinst() {
- pkg_info
-}
diff --git a/sci-chemistry/shelx/shelx-20060317-r2.ebuild b/sci-chemistry/shelx/shelx-20060317-r2.ebuild
deleted file mode 100644
index 8647755c3a78..000000000000
--- a/sci-chemistry/shelx/shelx-20060317-r2.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/shelx/shelx-20060317-r2.ebuild,v 1.1 2014/05/19 08:48:08 jlec Exp $
-
-EAPI=5
-
-inherit autotools eutils fortran-2 flag-o-matic toolchain-funcs
-
-DESCRIPTION="Programs for crystal structure determination from single-crystal diffraction data"
-HOMEPAGE="http://shelx.uni-ac.gwdg.de/SHELX/"
-SRC_URI="
- ${P}.tgz
- openmp? ( ${P}-mp.tgz )"
-
-SLOT="0"
-LICENSE="free-noncomm"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="dosformat openmp"
-
-S="${WORKDIR}/unix"
-
-RESTRICT="fetch"
-
-pkg_nofetch() {
- elog "Go to ${HOMEPAGE}"
- elog "Fill out the application form, and send it in."
- elog "Download unix.tgz, rename it to ${P}.tgz,"
- use openmp && elog "download mp.tgz, rename it to ${P}-mp.tgz,"
- elog "and place renamed tarballs in ${DISTDIR}."
-}
-
-src_prepare() {
- EPATCH_OPTS="-p1" \
- epatch \
- "${FILESDIR}"/${PV}-autotool.patch \
- "${FILESDIR}"/${PV}-gfortran.patch
-
- if use openmp; then
- for i in shelxh shelxlv; do
- cp "${WORKDIR}"/mp/${i}_omp.f "${WORKDIR}"/unix/${i}.f || die
- done
- fi
-
- sed -i \
- -e "s:CIFDIR='/usr/local/bin/':CIFDIR='${EPREFIX}/usr/share/${PN}/':g" \
- "${S}"/ciftab.f || die
-
- if use dosformat; then
- sed -i \
- -e "s/KD=CHAR(32)/KD=CHAR(13)/g" \
- "${S}"/*f
- fi
-
- cd "${S}" || die
- eautoreconf
-}
-
-src_configure() {
- case $(tc-getF77) in
- *gfortran) append-flags -fopenmp ;;
- ifort) append-flags -openmp ;;
- *) ewarn "Please add any necessary OpenMP build flags to F77FLAGS." ;;
- esac
-
- econf \
- FC="$(tc-getFC)"
-}
-
-pkg_info() {
- use openmp && einfo "Set OMP_NUM_THREADS to the number of threads you want."
-}
-
-pkg_postinst() {
- pkg_info
-}