# 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.ebuild,v 1.2 2010/02/10 08:17:52 tove Exp $ EAPI="2" 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="!> "${T}"/envd <<- EOF PDB_EXTRACT="/usr/lib/rcsb/" PDB_EXTRACT_ROOT="/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 /usr/bin/extract" }