public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molden/
Date: Thu, 11 Feb 2016 07:54:09 +0000 (UTC)	[thread overview]
Message-ID: <1455177246.b59f76f56f9194cb5ca950f54cb7e2d36d0302e6.jlec@gentoo> (raw)

commit:     b59f76f56f9194cb5ca950f54cb7e2d36d0302e6
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 11 07:53:16 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Feb 11 07:54:06 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b59f76f5

sci-chemistry/molden: Version Bump

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=509854

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-chemistry/molden/Manifest          |  1 +
 sci-chemistry/molden/molden-5.5.ebuild | 75 ++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/sci-chemistry/molden/Manifest b/sci-chemistry/molden/Manifest
index e782077..a9128e6 100644
--- a/sci-chemistry/molden/Manifest
+++ b/sci-chemistry/molden/Manifest
@@ -1,2 +1,3 @@
 DIST molden4.8.tar.gz 2969701 SHA256 314d9b9bdede2fd63d1e2f26e0212711576952244634fc28ea6c97ce2f7029b1 SHA512 11f2406e54a077d044369b5eee4a8a1c1b10f052188d33d4162af0151a1e76a1d5274d8788bbc3610905ff271b0bd2100990b77540a0290ad608bd5c29b839e3 WHIRLPOOL 838d66a4e17651dfd2bab893fa9b36ca8d722c879b9f10adb00c3c4e59974ae73e13060e6a559286c651ab35e1cea084049677277cc4b455e68a95c6c210dcf9
 DIST molden5.0.tar.gz 3063244 SHA256 c9cf8f656adf2f2c7a8b8b64fa07b5feaa9c3ca36c4803e1f58ac33de1cffdc4 SHA512 bf45849bf4efb67bc552767c28a6df6e5106a7d8ac2d73db2c7218412fb6cd2f2785c2be83a8589a5664ba9c0ca052cef5eb155c665ee1f3d6c7fe208f806a6b WHIRLPOOL ab7f1118b000a8df36cbaf23fddabb21bd291a2388e3aa5599e609ffa792bec01bf7df52a98f7e70125b504f7866e48ec6d5ce029ecd0e40c7bab7b8627c5c86
+DIST molden5.5.tar.gz 4934764 SHA256 6514a317486fb4087d94afc929a646c4f30cab7ff79651deeecb30f03212c059 SHA512 45269d2c7a52b3b2bf4fdb5f4ca3912637b3414ff9dfcd0d4f23815b3dcf7a53ffee717420d4fbf286b71c972539e756a440f5e37b7b7325ab312c25fc6c47b0 WHIRLPOOL 952382f26e227236e98deec5350e2617c68003098a8954ee6eebb10c89039ae0abf60aa117f73e02662153838f26bc724f7b16e6facc0cf07d86ba38fa0c03aa

diff --git a/sci-chemistry/molden/molden-5.5.ebuild b/sci-chemistry/molden/molden-5.5.ebuild
new file mode 100644
index 0000000..401aebb
--- /dev/null
+++ b/sci-chemistry/molden/molden-5.5.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils fortran-2 flag-o-matic toolchain-funcs
+
+MY_P="${PN}${PV}"
+
+DESCRIPTION="Display molecular density from GAMESS-UK, GAMESS-US, GAUSSIAN and Mopac/Ampac"
+HOMEPAGE="http://www.cmbi.ru.nl/molden/"
+SRC_URI="ftp://ftp.cmbi.ru.nl/pub/molgraph/${PN}/${MY_P}.tar.gz"
+
+LICENSE="MOLDEN"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="opengl"
+
+RDEPEND="
+	x11-libs/libXmu
+		virtual/glu
+	opengl? (
+		media-libs/freeglut
+		virtual/opengl )"
+DEPEND="${RDEPEND}
+	x11-misc/gccmakedep
+	app-editors/vim"
+	# vim provides ex, which the build system uses (surf/Makefile, at least)
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-5.0-ambfor.patch
+	"${FILESDIR}"/${PN}-5.0-overflow.patch
+	"${FILESDIR}"/${PN}-4.8-ldflags.patch
+	"${FILESDIR}"/${PN}-4.7-implicit-dec.patch
+)
+
+src_prepare() {
+	default
+	sed \
+		-e 's:makedepend:gccmakedep:g' \
+		-i surf/Makefile || die
+	sed 's:shell g77:shell $(FC):g' -i makefile || die
+}
+
+src_compile() {
+	local args=()
+
+	# Use -mieee on alpha, according to the Makefile
+	use alpha && append-flags -mieee
+
+	args=(
+		CC="$(tc-getCC) ${CFLAGS}"
+		FC="$(tc-getFC)"
+		LDR="$(tc-getFC)"
+		FFLAGS="${FFLAGS}"
+	)
+
+	einfo "Building Molden..."
+	emake -j1 "${args[@]}"
+	if use opengl ; then
+		einfo "Building Molden OpenGL helper..."
+		emake -j1 "${args[@]}" moldenogl
+	fi
+}
+
+src_install() {
+	dobin ${PN} g${PN} $(usex opengl ${PN}ogl "")
+
+	dodoc HISTORY README REGISTER
+	cd doc || die
+	uncompress * && dodoc *
+}


             reply	other threads:[~2016-02-11  7:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-11  7:54 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-30  9:25 [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/molden/ Jakov Smolić
2022-07-16 14:06 David Seifert
2021-02-19 12:47 Sam James
2019-11-24  3:21 Aaron Bauman
2019-11-12 10:45 Agostino Sarubbo
2016-02-11  7:54 Justin Lecher
2016-02-11  7:54 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1455177246.b59f76f56f9194cb5ca950f54cb7e2d36d0302e6.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox