# Copyright 1999-2010 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.1 2010/04/25 09:53:47 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="!> "${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" }