summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-01-31 23:13:28 +0000
committerJustin Lecher <jlec@gentoo.org>2010-01-31 23:13:28 +0000
commit3bb9c21e5de410a2c9628cce7f4d32cc924e8eeb (patch)
treeb30ab67ecee82efd5bdc07257cba1a691858ac16 /sci-chemistry/xds-bin
parentAvoid double-versioning. (diff)
downloadgentoo-2-3bb9c21e5de410a2c9628cce7f4d32cc924e8eeb.tar.gz
gentoo-2-3bb9c21e5de410a2c9628cce7f4d32cc924e8eeb.tar.bz2
gentoo-2-3bb9c21e5de410a2c9628cce7f4d32cc924e8eeb.zip
Version bump, fixing bug 247788
Adding new Viewer as RDEPEND (Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/xds-bin')
-rw-r--r--sci-chemistry/xds-bin/ChangeLog11
-rw-r--r--sci-chemistry/xds-bin/xds-bin-20080602.ebuild56
-rw-r--r--sci-chemistry/xds-bin/xds-bin-20091228.ebuild58
3 files changed, 67 insertions, 58 deletions
diff --git a/sci-chemistry/xds-bin/ChangeLog b/sci-chemistry/xds-bin/ChangeLog
index 2f5efbb1ccb8..0e1814b02330 100644
--- a/sci-chemistry/xds-bin/ChangeLog
+++ b/sci-chemistry/xds-bin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-chemistry/xds-bin
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/xds-bin/ChangeLog,v 1.2 2008/10/17 18:54:41 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/xds-bin/ChangeLog,v 1.3 2010/01/31 23:13:28 jlec Exp $
+
+*xds-bin-20091228 (31 Jan 2010)
+
+ 31 Jan 2010; Justin Lecher (jlec) <jlec@gentoo.org>
+ -xds-bin-20080602.ebuild, +xds-bin-20091228.ebuild:
+ Version bump, fixing bug 247788
+ Adding new Viewer as RDEPEND
17 Oct 2008; Markus Meier <maekke@gentoo.org> metadata.xml:
smp USE-flag is global now
diff --git a/sci-chemistry/xds-bin/xds-bin-20080602.ebuild b/sci-chemistry/xds-bin/xds-bin-20080602.ebuild
deleted file mode 100644
index 148a009974e5..000000000000
--- a/sci-chemistry/xds-bin/xds-bin-20080602.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/xds-bin/xds-bin-20080602.ebuild,v 1.1 2008/08/03 22:29:53 dberkholz Exp $
-
-inherit eutils
-
-DESCRIPTION="X-ray Detector Software for processing single-crystal monochromatic diffraction data."
-SRC_URI="XDS-linux_ifc_Intel+AMD-${PV}.tar.gz
- XDS_html_doc-${PV}.tar.gz"
-HOMEPAGE="http://www.mpimf-heidelberg.mpg.de/~kabsch/xds/"
-RESTRICT="fetch"
-LICENSE="free-noncomm"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="smp X"
-RDEPEND="X? (
- x11-libs/libXdmcp
- x11-libs/libXau
- x11-libs/libX11
- )"
-DEPEND=""
-
-pkg_nofetch(){
- ewarn "Fetch XDS-linux_ifc_Intel+AMD.tar.gz and XDS_html_doc.tar.gz"
- ewarn "from ${HOMEPAGE}html_doc/downloading.html"
- ewarn "rename it to $A and"
- ewarn "place it in $DISTDIR"
-}
-
-src_install() {
- exeinto /opt/${PN}
- doexe XDS-linux_ifc_Intel+AMD/*
- if use smp; then
- rm "${D}"/opt/${PN}/{xds,mintegrate,mcolspot,xscale}
- dosym xds_par /opt/${PN}/xds
- dosym xscale_par /opt/${PN}/xscale
- dosym mintegrate_par /opt/${PN}/mintegrate
- dosym mcolspot_par /opt/${PN}/mcolspot
- else
- rm "${D}"/opt/${PN}/*par
- fi
- if ! use X; then
- rm "${D}"/opt/${PN}/VIEW
- fi
- dohtml -r XDS_html_doc/*
- dodoc XDS_html_doc/html_doc/INPUT_templates/*
-
- cat >> "${T}"/20xds <<- EOF
- PATH="/opt/${PN}/"
- EOF
- doenvd "${T}"/20xds
-}
-
-pkg_postinst(){
- elog "This package will expire on December 31, 2008"
-}
diff --git a/sci-chemistry/xds-bin/xds-bin-20091228.ebuild b/sci-chemistry/xds-bin/xds-bin-20091228.ebuild
new file mode 100644
index 000000000000..4a02dc368b7f
--- /dev/null
+++ b/sci-chemistry/xds-bin/xds-bin-20091228.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/xds-bin/xds-bin-20091228.ebuild,v 1.1 2010/01/31 23:13:28 jlec Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="X-ray Detector Software for processing single-crystal monochromatic diffraction data."
+HOMEPAGE="http://xds.mpimf-heidelberg.mpg.de/"
+SRC_URI="
+ x86? ( ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-IA32_Linux_x86.tar.gz -> XDS-IA32_Linux_x86-${PV}.tar.gz )
+ amd64? ( ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-INTEL64_Linux_x86_64.tar.gz -> XDS-INTEL64_Linux_x86_64-${PV}.tar.gz )
+ ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS_html_doc.tar.gz -> XDS_html_doc-${PV}.tar.gz"
+
+LICENSE="free-noncomm"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="smp X"
+
+RDEPEND="X? ( sci-visualization/xds-viewer )"
+DEPEND=""
+
+pkg_setup() {
+ if use x86; then
+ MY_P="XDS-IA32_Linux_x86"
+ elif use amd64; then
+ MY_P="XDS-INTEL64_Linux_x86_64"
+ fi
+
+ S="${WORKDIR}"/${MY_P}
+}
+
+src_install() {
+ exeinto /opt/${PN}
+ doexe * || die
+ if use smp; then
+ rm "${D}"/opt/${PN}/{xds,mintegrate,mcolspot,xscale}
+ dosym xds_par /opt/${PN}/xds || die
+ dosym xscale_par /opt/${PN}/xscale || die
+ dosym mintegrate_par /opt/${PN}/mintegrate || die
+ dosym mcolspot_par /opt/${PN}/mcolspot || die
+ else
+ rm "${D}"/opt/${PN}/*par
+ fi
+ dohtml -r "${WORKDIR}"/XDS_html_doc/* || die
+ insinto /usr/share/${PN}/INPUT_templates
+ doins "${WORKDIR}"/XDS_html_doc/html_doc/INPUT_templates/* || die
+
+ cat >> "${T}"/20xds <<- EOF
+ PATH="/opt/${PN}/"
+ EOF
+ doenvd "${T}"/20xds || die
+}
+
+pkg_postinst() {
+ elog "This package will expire on December 31, 2010"
+}