# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils MY_P="PMB" SRC_P="${MY_P}_CNS_utils" SRC="http://xray.utmb.edu/PMB/downloads/${SRC_P}.tar.gz" DESCRIPTION="Automated structure refinement tools for CNS" HOMEPAGE="http://xray.utmb.edu/PMB/" # Because it's unversioned RESTRICT="fetch" SRC_URI="${P}.tar.gz" LICENSE="" SLOT="0" KEYWORDS="~x86 ~ppc" IUSE="" RDEPEND="sci-chemistry/cns sci-chemistry/ccp4" DEPEND="${RDEPEND}" S="${WORKDIR}/${MY_P}" pkg_nofetch() { einfo "Download ${SRC}, rename it" einfo "to ${SRC_URI} and place it in ${DISTDIR}" einfo "If you get a digest failure, please file a bug" einfo "at https://bugs.gentoo.org/ for a version bump." } pkg_setup() { if ! built_with_use sci-chemistry/cns pmb; then msg="You must build sci-chemistry/cns with USE=pmb" eerror "$msg" die "$msg" fi } src_install() { : }