diff options
Diffstat (limited to 'sci-chemistry/ccp4i')
-rw-r--r-- | sci-chemistry/ccp4i/ChangeLog | 6 | ||||
-rw-r--r-- | sci-chemistry/ccp4i/ccp4i-6.1.3-r3.ebuild | 20 | ||||
-rw-r--r-- | sci-chemistry/ccp4i/metadata.xml | 2 |
3 files changed, 24 insertions, 4 deletions
diff --git a/sci-chemistry/ccp4i/ChangeLog b/sci-chemistry/ccp4i/ChangeLog index 6ea11338eeab..fc356f02f69d 100644 --- a/sci-chemistry/ccp4i/ChangeLog +++ b/sci-chemistry/ccp4i/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-chemistry/ccp4i # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/ChangeLog,v 1.6 2011/01/16 12:25:31 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/ChangeLog,v 1.7 2011/07/23 10:12:00 jlec Exp $ + + 23 Jul 2011; Justin Lecher <jlec@gentoo.org> ccp4i-6.1.3-r3.ebuild, + metadata.xml: + Add verbose postinst msg, #375907 16 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org> ccp4i-6.1.3-r3.ebuild: marked ~ppc wrt #303931 diff --git a/sci-chemistry/ccp4i/ccp4i-6.1.3-r3.ebuild b/sci-chemistry/ccp4i/ccp4i-6.1.3-r3.ebuild index 615fcb99934f..06d4c29d860e 100644 --- a/sci-chemistry/ccp4i/ccp4i-6.1.3-r3.ebuild +++ b/sci-chemistry/ccp4i/ccp4i-6.1.3-r3.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/ccp4i-6.1.3-r3.ebuild,v 1.2 2011/01/16 12:25:31 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/ccp4i-6.1.3-r3.ebuild,v 1.3 2011/07/23 10:12:00 jlec Exp $ EAPI="2" PYTHON_DEPEND="2" -inherit base multilib python +inherit base multilib python virtualx MY_PN="${PN%i}" MY_P="${MY_PN}-${PV}" @@ -78,8 +78,24 @@ src_install() { doins -r "${S}"/ccp4i || die exeinto /usr/$(get_libdir)/ccp4/ccp4i/bin doexe "${S}"/ccp4i/bin/* || die + dosym ../$(get_libdir)/ccp4/ccp4i/bin/ccp4i /usr/bin/ccp4i + + dodir /usr/$(get_libdir)/ccp4/ccp4i/unix # dbccp4i insinto /usr/share/ccp4 doins -r "${S}"/share/dbccp4i || die } + +pkg_postinst() { + _ccp4-setup() { + source "${EPREFIX}/etc/profile" + export USER=root + ccp4i -h > /dev/null + } + _ccp4-setup + echo "" + elog "ccp4i needs some enviromental settings. So please" + elog "\t source ${EPREFIX}/etc/profile" + echo "" +} diff --git a/sci-chemistry/ccp4i/metadata.xml b/sci-chemistry/ccp4i/metadata.xml index 9ac9ffdb3a41..e42d0af60f42 100644 --- a/sci-chemistry/ccp4i/metadata.xml +++ b/sci-chemistry/ccp4i/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>sci-chemistry</herd> + <herd>sci-chemistry</herd> </pkgmetadata> |