aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2013-12-06 13:34:20 +0400
committerAlexey Shvetsov <alexxy@gentoo.org>2013-12-06 13:34:20 +0400
commit48ddd384fe8e96a4e904b8ccb1da1fc86087b1e3 (patch)
treee2caf908ab30974b6c744ad5c69edd3a9bac2fe4 /sci-chemistry/gromacs/gromacs-9999.ebuild
parentapp-doc/root-docs: version bump (diff)
downloadsci-48ddd384fe8e96a4e904b8ccb1da1fc86087b1e3.tar.gz
sci-48ddd384fe8e96a4e904b8ccb1da1fc86087b1e3.tar.bz2
sci-48ddd384fe8e96a4e904b8ccb1da1fc86087b1e3.zip
Add 5.0-beta1 release
Package-Manager: portage-2.2.7
Diffstat (limited to 'sci-chemistry/gromacs/gromacs-9999.ebuild')
-rw-r--r--sci-chemistry/gromacs/gromacs-9999.ebuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/sci-chemistry/gromacs/gromacs-9999.ebuild b/sci-chemistry/gromacs/gromacs-9999.ebuild
index 20a16c65c..81ed0ccde 100644
--- a/sci-chemistry/gromacs/gromacs-9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-9999.ebuild
@@ -5,7 +5,6 @@
EAPI=5
TEST_PV="5.0-beta1"
-MANUAL_PV="5.0-beta1"
CMAKE_MAKEFILE_GENERATOR="ninja"
@@ -19,8 +18,7 @@ if [[ $PV = *9999* ]]; then
EGIT_BRANCH="master"
inherit git-2
else
- SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${P}.tar.gz
- doc? ( ftp://ftp.gromacs.org/pub/manual/manual-${MANUAL_PV}.pdf -> ${PN}-manual-${MANUAL_PV}.pdf )
+ SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${PN}-${PV/_/-}.tar.gz
test? ( http://${PN}.googlecode.com/files/regressiontests-${TEST_PV}.tar.gz )"
fi
@@ -67,6 +65,10 @@ REQUIRED_USE="
DOCS=( AUTHORS README )
+if [[ ${PV} != *9999 ]]; then
+ S="${WORKDIR}/${PN}-${PV/_/-}"
+fi
+
pkg_pretend() {
[[ $(gcc-version) == "4.1" ]] && die "gcc 4.1 is not supported by gromacs"
use openmp && ! tc-has-openmp && \
@@ -251,11 +253,6 @@ pkg_postinst() {
einfo "Please read and cite:"
einfo "Gromacs 4, J. Chem. Theory Comput. 4, 435 (2008). "
einfo "http://dx.doi.org/10.1021/ct700301q"
- if use offensive; then
- einfo
- einfo $(g_luck)
- einfo "For more Gromacs cool quotes (gcq) add g_luck to your .bashrc"
- fi
einfo
readme.gentoo_print_elog
}