Gentoo Archives: gentoo-commits

From: Christoph Junghans <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/dl_poly/
Date: Fri, 02 Aug 2013 16:26:57
Message-Id: 1375460796.4db56f45517462a736da8a591ed5c9f2a4709d65.ottxor@gentoo
1 commit: 4db56f45517462a736da8a591ed5c9f2a4709d65
2 Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 2 16:26:36 2013 +0000
4 Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 2 16:26:36 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4db56f45
7
8 added newest version
9
10 Package-Manager: portage-2.2.0_alpha191
11
12 ---
13 sci-chemistry/dl_poly/ChangeLog | 5 ++++
14 sci-chemistry/dl_poly/dl_poly-4.05.ebuild | 41 +++++++++++++++++++++++++++++++
15 2 files changed, 46 insertions(+)
16
17 diff --git a/sci-chemistry/dl_poly/ChangeLog b/sci-chemistry/dl_poly/ChangeLog
18 index 2980326..b0057bd 100644
19 --- a/sci-chemistry/dl_poly/ChangeLog
20 +++ b/sci-chemistry/dl_poly/ChangeLog
21 @@ -2,6 +2,11 @@
22 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
23 # $Header: $
24
25 +*dl_poly-4.05 (02 Aug 2013)
26 +
27 + 02 Aug 2013; Christoph Junghans <ottxor@g.o> +dl_poly-4.05.ebuild:
28 + added newest version
29 +
30 *dl_poly-1.9 (01 Aug 2013)
31
32 01 Aug 2013; Christoph Junghans <ottxor@g.o> +dl_poly-1.9.ebuild,
33
34 diff --git a/sci-chemistry/dl_poly/dl_poly-4.05.ebuild b/sci-chemistry/dl_poly/dl_poly-4.05.ebuild
35 new file mode 100644
36 index 0000000..ad88281
37 --- /dev/null
38 +++ b/sci-chemistry/dl_poly/dl_poly-4.05.ebuild
39 @@ -0,0 +1,41 @@
40 +# Copyright 1999-2013 Gentoo Foundation
41 +# Distributed under the terms of the GNU General Public License v2
42 +# $Header: $
43 +
44 +EAPI=5
45 +
46 +inherit fortran-2 multilib toolchain-funcs
47 +
48 +DESCRIPTION="a general purpose molecular dynamics simulation package"
49 +HOMEPAGE="http://www.ccp5.ac.uk/DL_POLY/"
50 +SRC_URI="dl_poly_4.05.tar.gz"
51 +
52 +LICENSE="STFC"
53 +SLOT="0"
54 +KEYWORDS="~amd64"
55 +IUSE="doc"
56 +RESTRICT="fetch"
57 +
58 +DEPEND="virtual/mpi[fortran]"
59 +RDEPEND="${DEPEND}"
60 +
61 +S="${WORKDIR}/${P//-/_}/source"
62 +
63 +pkg_nofetch() {
64 + einfo "Go to ${HOMEPAGE} and download ${A}"
65 + einfo "into ${DISTDIR}"
66 +}
67 +
68 +src_prepare() {
69 + cp ../build/Makefile_MPI Makefile || die
70 +}
71 +
72 +src_compile() {
73 + # -I/usr/$(get_libdir) is needed to find mpi.mod
74 + emake -j1 FC="mpif77 -c" FCFLAGS="${FFLAGS} -I${EPREFIX}/usr/$(get_libdir)" LD="mpif77 -o" LDFLAGS="${LDFLAGS}" EXE="${PN}" master
75 +}
76 +
77 +src_install() {
78 + dobin "${PN}"
79 + use doc && dodoc ../manual/USRMAN*.pdf
80 +}