summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-chemistry/pdb-extract/ChangeLog11
-rw-r--r--sci-chemistry/pdb-extract/pdb-extract-1.700.ebuild56
-rw-r--r--sci-chemistry/pdb-extract/pdb-extract-3.004-r1.ebuild81
3 files changed, 9 insertions, 139 deletions
diff --git a/sci-chemistry/pdb-extract/ChangeLog b/sci-chemistry/pdb-extract/ChangeLog
index f2c7b8d33b88..42082a236dc8 100644
--- a/sci-chemistry/pdb-extract/ChangeLog
+++ b/sci-chemistry/pdb-extract/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-chemistry/pdb-extract
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-extract/ChangeLog,v 1.18 2011/08/01 19:27:59 maekke Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-extract/ChangeLog,v 1.19 2012/04/24 06:20:06 jlec Exp $
+
+ 24 Apr 2012; Justin Lecher <jlec@gentoo.org> -pdb-extract-1.700.ebuild,
+ -pdb-extract-3.004-r1.ebuild:
+ Drop old
+
+ 24 Apr 2012; Justin Lecher <jlec@gentoo.org> Manifest:
+ Drop old
01 Aug 2011; Markus Meier <maekke@gentoo.org> pdb-extract-3.004-r2.ebuild:
amd64/x86 stable, bug #375901
diff --git a/sci-chemistry/pdb-extract/pdb-extract-1.700.ebuild b/sci-chemistry/pdb-extract/pdb-extract-1.700.ebuild
deleted file mode 100644
index 0aa1036a20b2..000000000000
--- a/sci-chemistry/pdb-extract/pdb-extract-1.700.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-extract/pdb-extract-1.700.ebuild,v 1.7 2011/07/21 19:04:04 jlec Exp $
-
-inherit eutils toolchain-funcs multilib
-
-MY_P="${PN}-v${PV}-prod-src"
-
-DESCRIPTION="Tools for extracting mmCIF data from structure determination applications"
-HOMEPAGE="http://sw-tools.pdb.org/apps/PDB_EXTRACT/index.html"
-SRC_URI="http://sw-tools.pdb.org/apps/PDB_EXTRACT/${MY_P}.tar.gz"
-
-LICENSE="PDB"
-SLOT="0"
-KEYWORDS="~amd64 ppc x86"
-IUSE=""
-
-RDEPEND=""
-DEPEND="${RDEPEND}
- sci-libs/cifparse-obj"
-PDEPEND="sci-libs/rcsb-data"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}
- epatch "${FILESDIR}"/respect-cflags-and-fix-install.patch
- cd "${S}"
-
- # Get rid of unneeded directories, to make sure we use system files
- ebegin "Deleting redundant directories"
- rm -rf btree-obj* ciflib-common* cifobj-common* cif-table-obj* maxit* \
- misclib* regex* validation*
- eend
-
- sed -i \
- -e "s:^\(CCC=\).*:\1$(tc-getCXX):g" \
- -e "s:^\(GINCLUDE=\).*:\1-I/usr/include/rcsb:g" \
- -e "s:^\(LIBDIR=\).*:\1/usr/$(get_libdir):g" \
- "${S}"/etc/make.*
-}
-
-src_compile() {
- emake || die "make failed"
-}
-
-src_install() {
- exeinto /usr/bin
- doexe bin/* || die
- dolib.a lib/* || die
- insinto /usr/include/rcsb
- doins include/* || die
- dodoc README-source README
- insinto /usr/lib/rcsb/pdb-extract-data
- doins pdb-extract-data/* || die
-}
diff --git a/sci-chemistry/pdb-extract/pdb-extract-3.004-r1.ebuild b/sci-chemistry/pdb-extract/pdb-extract-3.004-r1.ebuild
deleted file mode 100644
index 471f70af534b..000000000000
--- a/sci-chemistry/pdb-extract/pdb-extract-3.004-r1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-extract/pdb-extract-3.004-r1.ebuild,v 1.2 2011/07/21 19:04:04 jlec Exp $
-
-EAPI=3
-
-inherit eutils toolchain-funcs multilib prefix
-
-MY_P="${PN}-v${PV}-prod-src"
-
-DESCRIPTION="Tools for extracting mmCIF data from structure determination applications"
-HOMEPAGE="http://sw-tools.pdb.org/apps/PDB_EXTRACT/index.html"
-SRC_URI="http://sw-tools.pdb.org/apps/PDB_EXTRACT/${MY_P}.tar.gz"
-
-LICENSE="PDB"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="!<app-text/html-xml-utils-5.3"
-DEPEND="${RDEPEND}
- >=sci-libs/cifparse-obj-7.025"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-cflags-install.patch \
- "${FILESDIR}"/${P}-gcc-4.3.patch \
- "${FILESDIR}"/${P}-Makefile.patch \
- "${FILESDIR}"/${P}-env.patch
-
- sed -i "s:GENTOOLIBDIR:$(get_libdir):g" \
- pdb-extract-v3.0/Makefile \
- || die "Failed to fix libdir"
-
- # Get rid of unneeded directories, to make sure we use system files
- ebegin "Deleting redundant directories"
- rm -rf cif-file-v1.0 cifobj-common-v4.1 cifparse-obj-v7.0 \
- misclib-v2.2 regex-v2.2 tables-v8.0
- eend
-
- sed -i \
- -e "s:^\(CCC=\).*:\1$(tc-getCXX):g" \
- -e "s:^\(CC=\).*:\1$(tc-getCC):g" \
- -e "s:^\(GINCLUDES=\).*:\1-I${EPREFIX}/usr/include/cifparse-obj:g" \
- -e "s:^\(LIBDIR=\).*:\1${EPREFIX}/usr/$(get_libdir):g" \
- "${S}"/etc/make.* \
- || die "Failed to fix makefiles"
-
- eprefixify pdb-extract-v3.0/Makefile etc/*
-}
-
-src_install() {
- dobin bin/pdb_extract{,_sf} \
- || die "failed to install binaries"
- newbin bin/extract extract-pdb \
- || die "failed to rename extract binary"
- dolib.a lib/pdb-extract.a \
- || die "failed to install library"
- insinto /usr/include/rcsb
- doins include/* \
- || die "failed to install include files"
- dodoc README-source README \
- || die "failed to install docs"
- insinto /usr/lib/rcsb/pdb-extract-data
- doins pdb-extract-data/* \
- || die "failed to install data files"
-
- cat >> "${T}"/envd <<- EOF
- PDB_EXTRACT="${EPREFIX}/usr/lib/rcsb/"
- PDB_EXTRACT_ROOT="${EPREFIX}/usr/"
- EOF
-
- newenvd "${T}"/envd 20pdb-extract \
- || die "failed to install env files"
-}
-
-pkg_postinst() {
- ewarn "We moved extract to extract-pdb due to multiple collision of ${EROOT}usr/bin/extract"
-}