1 |
commit: 41b0fdf9c8d699a403d9513dea566510c29b4b66 |
2 |
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 5 05:59:42 2013 +0000 |
4 |
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 5 05:59:42 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=41b0fdf9 |
7 |
|
8 |
Make gromacs 9999 build manual again |
9 |
|
10 |
Package-Manager: portage-2.2.7 |
11 |
|
12 |
--- |
13 |
sci-chemistry/gromacs/ChangeLog | 3 +++ |
14 |
sci-chemistry/gromacs/gromacs-9999.ebuild | 8 +++++--- |
15 |
2 files changed, 8 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/sci-chemistry/gromacs/ChangeLog b/sci-chemistry/gromacs/ChangeLog |
18 |
index 996e1d9..781b354 100644 |
19 |
--- a/sci-chemistry/gromacs/ChangeLog |
20 |
+++ b/sci-chemistry/gromacs/ChangeLog |
21 |
@@ -2,6 +2,9 @@ |
22 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
23 |
# $Header: $ |
24 |
|
25 |
+ 05 Dec 2013; Alexey Shvetsov <alexxy@g.o> gromacs-9999.ebuild: |
26 |
+ Make gromacs 9999 build manual again |
27 |
+ |
28 |
05 Dec 2013; Alexey Shvetsov <alexxy@g.o> -Manifest, |
29 |
-gromacs-4.5.9999.ebuild, metadata.xml: |
30 |
Drop 4.5 |
31 |
|
32 |
diff --git a/sci-chemistry/gromacs/gromacs-9999.ebuild b/sci-chemistry/gromacs/gromacs-9999.ebuild |
33 |
index 080c1cb..20a16c6 100644 |
34 |
--- a/sci-chemistry/gromacs/gromacs-9999.ebuild |
35 |
+++ b/sci-chemistry/gromacs/gromacs-9999.ebuild |
36 |
@@ -66,7 +66,6 @@ REQUIRED_USE=" |
37 |
mkl? ( !blas !fftw !lapack )" |
38 |
|
39 |
DOCS=( AUTHORS README ) |
40 |
-HTML_DOCS=( "${ED}"/usr/share/gromacs/html/ ) |
41 |
|
42 |
pkg_pretend() { |
43 |
[[ $(gcc-version) == "4.1" ]] && die "gcc 4.1 is not supported by gromacs" |
44 |
@@ -205,6 +204,10 @@ src_compile() { |
45 |
einfo "Compiling for ${x} precision" |
46 |
BUILD_DIR="${WORKDIR}/${P}_${x}"\ |
47 |
cmake-utils_src_compile |
48 |
+ if use doc; then |
49 |
+ BUILD_DIR="${WORKDIR}/${P}_${x}"\ |
50 |
+ cmake-utils_src_compile manual |
51 |
+ fi |
52 |
use mpi || continue |
53 |
einfo "Compiling for ${x} precision with mpi" |
54 |
BUILD_DIR="${WORKDIR}/${P}_${x}_mpi"\ |
55 |
@@ -224,7 +227,7 @@ src_install() { |
56 |
BUILD_DIR="${WORKDIR}/${P}_${x}" \ |
57 |
cmake-utils_src_install |
58 |
if use doc; then |
59 |
- newdoc "${WORKDIR}"/manual/gromacs.pdf "${PN}-manual-${PV}.pdf" |
60 |
+ newdoc "${WORKDIR}/${P}_${x}"/manual/gromacs.pdf "${PN}-manual-${PV}.pdf" |
61 |
fi |
62 |
use mpi || continue |
63 |
BUILD_DIR="${WORKDIR}/${P}_${x}_mpi" \ |
64 |
@@ -237,7 +240,6 @@ src_install() { |
65 |
newins "${ED}"/usr/bin/completion.zsh _${PN} |
66 |
fi |
67 |
rm -f "${ED}"usr/bin/completion.* |
68 |
- rm -rf "${ED}"usr/share/gromacs/html |
69 |
rm -f "${ED}"usr/bin/g_options* |
70 |
rm -f "${ED}"usr/bin/GMXRC* |