From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QZgGI-0002b2-To for garchives@archives.gentoo.org; Thu, 23 Jun 2011 09:31:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 596AB1C138; Thu, 23 Jun 2011 09:31:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0085C1C138 for ; Thu, 23 Jun 2011 09:31:21 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 521192AC021 for ; Thu, 23 Jun 2011 09:31:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 542868003E for ; Thu, 23 Jun 2011 09:31:20 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <4b2af7539e9632e735d924ec6aaf510f5d6ccf33.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/jana2000/ X-VCS-Repository: proj/sci X-VCS-Files: sci-chemistry/jana2000/ChangeLog sci-chemistry/jana2000/jana2000-20071218.ebuild X-VCS-Directories: sci-chemistry/jana2000/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 4b2af7539e9632e735d924ec6aaf510f5d6ccf33 Date: Thu, 23 Jun 2011 09:31:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: e37025020d32bd3bddd55698287853c5 commit: 4b2af7539e9632e735d924ec6aaf510f5d6ccf33 Author: Justin Lecher gentoo org> AuthorDate: Thu Jun 23 09:31:13 2011 +0000 Commit: Justin Lecher gentoo org> CommitDate: Thu Jun 23 09:31:13 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D4b2af753 Streamlined fortran-2 eclass usage (Portage version: 2.2.0_alpha41/git/Linux x86_64, RepoMan options: --forc= e, signed Manifest commit with key 70EB7916) --- sci-chemistry/jana2000/ChangeLog | 3 +++ sci-chemistry/jana2000/jana2000-20071218.ebuild | 23 ++++++++++++-----= ------ 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/sci-chemistry/jana2000/ChangeLog b/sci-chemistry/jana2000/Ch= angeLog index 45ec648..9ce5cfa 100644 --- a/sci-chemistry/jana2000/ChangeLog +++ b/sci-chemistry/jana2000/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ =20 + 23 Jun 2011; Justin Lecher jana2000-20071218.ebuild: + Streamlined fortran-2 eclass usage + 21 Jun 2011; Justin Lecher jana2000-20071218.ebuild: Added fortran-2.eclass support =20 diff --git a/sci-chemistry/jana2000/jana2000-20071218.ebuild b/sci-chemis= try/jana2000/jana2000-20071218.ebuild index 6aba06c..cfd10b0 100644 --- a/sci-chemistry/jana2000/jana2000-20071218.ebuild +++ b/sci-chemistry/jana2000/jana2000-20071218.ebuild @@ -2,9 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ =20 +EAPI=3D4 + inherit eutils fortran-2 toolchain-funcs =20 -DESCRIPTION=3D"the crystallographic computing system" +DESCRIPTION=3D"The crystallographic computing system" HOMEPAGE=3D"http://www-xray.fzu.cz/jana/jana.html" SRC_URI=3D"ftp://ftp.fzu.cz/pub/cryst/beta2000/${PN}.tar.gz" =20 @@ -13,17 +15,16 @@ SLOT=3D"0" KEYWORDS=3D"~amd64 ~x86" IUSE=3D"" =20 -RDEPEND=3D"x11-libs/libX11" +RDEPEND=3D" + x11-libs/libX11 + virtual/fortran" DEPEND=3D"${RDEPEND} x11-proto/xproto sys-apps/gawk" =20 S=3D"${WORKDIR}/${PN}" =20 -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { einfo "setting up the Makefile for $(tc-getFC)" =20 if [[ $(tc-getFC) =3D~ gfortran ]]; then @@ -34,18 +35,18 @@ src_unpack() { } =20 src_compile() { - emake -j1 CCOM=3D"$(tc-getCC)" || die "emake failed" + emake -j1 CCOM=3D"$(tc-getCC)" } =20 src_install() { - dobin jana2000 || die "dobin failed" - dodoc README.TXT || die "dodoc failed" + dobin jana2000 + dodoc README.TXT =20 insinto /usr/share/${PN}/source - doins -r source/{fg,data} || die "doins failed" + doins -r source/{fg,data} =20 echo "JANADIR=3D/usr/share/${PN}" >"${T}/jana2000env" - newenvd "${T}/jana2000env" 99jana2000env || die "newenvd failed" + newenvd "${T}/jana2000env" 99jana2000env } =20 pkg_postinst() {