# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-biology/ucsc-genome-browser/ucsc-genome-browser-223.ebuild,v 1.2 2010/02/24 21:43:32 weaver Exp $ EAPI="2" inherit toolchain-funcs flag-o-matic webapp DESCRIPTION="The UCSC genome browser suite, also known as Jim Kent's library and GoldenPath" HOMEPAGE="http://genome.ucsc.edu" SRC_URI="http://hgdownload.cse.ucsc.edu/admin/jksrc.v${PV}.zip" LICENSE="blat" SLOT="0" WEBAPP_MANUAL_SLOT="yes" KEYWORDS="~amd64 ~x86" IUSE="+mysql +server" DEPEND="app-arch/unzip ! "${S}/99${PN}" doenvd "${S}/99${PN}" use server && webapp_postinst_txt en src/product/README.QuickStart use server && webapp_src_install insinto "/usr/include/${PN}" doins src/inc/*.h insinto "/usr/share/${PN}" doins -r src/product keepdir "/usr/share/doc/${PF}" find -name 'README*' -or -name '*.doc' | grep -v test | cpio -padv "${D}/usr/share/doc/${PF}" || die } pkg_postinst() { use server && webapp_pkg_postinst }