public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/namd: namd-2.9-r1.ebuild ChangeLog
@ 2013-11-30  4:29 Christoph Junghans (ottxor)
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Junghans (ottxor) @ 2013-11-30  4:29 UTC (permalink / raw
  To: gentoo-commits

ottxor      13/11/30 04:29:21

  Modified:             ChangeLog
  Added:                namd-2.9-r1.ebuild
  Log:
  clean up (fftw3, ldflags, no tcsh)
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C2000586)

Revision  Changes    Path
1.18                 sci-chemistry/namd/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/namd/ChangeLog?rev=1.18&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/namd/ChangeLog?rev=1.18&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/namd/ChangeLog?r1=1.17&r2=1.18

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/namd/ChangeLog,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ChangeLog	18 Oct 2013 16:25:04 -0000	1.17
+++ ChangeLog	30 Nov 2013 04:29:21 -0000	1.18
@@ -1,6 +1,11 @@
 # ChangeLog for sci-chemistry/namd
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/namd/ChangeLog,v 1.17 2013/10/18 16:25:04 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/namd/ChangeLog,v 1.18 2013/11/30 04:29:21 ottxor Exp $
+
+*namd-2.9-r1 (30 Nov 2013)
+
+  30 Nov 2013; Christoph Junghans <ottxor@gentoo.org> +namd-2.9-r1.ebuild:
+  clean up (fftw3, ldflags, no tcsh)
 
 *namd-2.9 (18 Oct 2013)
 



1.1                  sci-chemistry/namd/namd-2.9-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/namd/namd-2.9-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/namd/namd-2.9-r1.ebuild?rev=1.1&content-type=text/plain

Index: namd-2.9-r1.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/namd/namd-2.9-r1.ebuild,v 1.1 2013/11/30 04:29:21 ottxor Exp $

EAPI=5

inherit eutils multilib toolchain-funcs flag-o-matic

DESCRIPTION="A powerful and highly parallelized molecular dynamics code"
LICENSE="namd"
HOMEPAGE="http://www.ks.uiuc.edu/Research/namd/"

MY_PN="NAMD"

SRC_URI="${MY_PN}_${PV}_Source.tar.gz"

SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RESTRICT="fetch"

DEPEND="
	|| ( >=sys-cluster/charm-6.5.1-r2 <=sys-cluster/charm-6.5.1-r1[static-libs] )
	sci-libs/fftw:3.0
	dev-lang/tcl"

RDEPEND=${DEPEND}

NAMD_ARCH="Linux-x86_64-g++"

NAMD_DOWNLOAD="http://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=NAMD"

S="${WORKDIR}/${MY_PN}_${PV}_Source"

pkg_nofetch() {
	echo
	einfo "Please download ${MY_PN}_${PV}_Source.tar.gz from"
	einfo "${NAMD_DOWNLOAD}"
	einfo "after agreeing to the license and then move it to"
	einfo "${DISTDIR}"
	einfo "Be sure to select the ${PV} version!"
	echo
}

src_prepare() {
	CHARM_VERSION=$(best_version sys-cluster/charm | cut -d- -f3)

	# apply a few small fixes to make NAMD compile and
	# link to the proper libraries
	epatch "${FILESDIR}"/namd-2.9-gentoo.patch
	epatch "${FILESDIR}"/namd-2.7-iml-dec.patch
	sed \
		-e "s:charm-.\+:charm-${CHARM_VERSION}:" \
		-i Make.charm || die

	# Remove charm distribution. We don't need it.
	rm -f charm-6.4.0.tar || die

	# proper compiler and cflags
	sed \
		-e "s/g++.*/$(tc-getCXX)/" \
		-e "s/gcc.*/$(tc-getCC)/" \
		-e "s/CXXOPTS = .*/CXXOPTS = ${CXXFLAGS} ${LDFLAGS}/" \
		-e "s/COPTS = .*/COPTS = ${CFLAGS} ${LDFLAGS}/" \
		-i arch/${NAMD_ARCH}.arch || die

	sed \
		-e "s/gentoo-libdir/$(get_libdir)/g" \
		-e "s/gentoo-charm/charm-${CHARM_VERSION}/g" \
		-i Makefile || die "Failed gentooizing Makefile."
	sed -e "s@/lib@/$(get_libdir)@g" -e '/FFTDIR=/s@=.*@=/usr@' -i arch/Linux-x86_64.fftw3 || die
	sed -e "s/gentoo-libdir/$(get_libdir)/g" -i arch/Linux-x86_64.tcl || die
}

src_configure() {
	# configure
	./config ${NAMD_ARCH} --with-fftw3 --charm-arch . || die
}

src_compile() {
	# build namd
	cd "${S}/${NAMD_ARCH}"
	emake
}

src_install() {
	dodoc announce.txt license.txt notes.txt
	cd "${S}/${NAMD_ARCH}"

	# the binaries
	dobin ${PN}2 psfgen flipbinpdb flipdcd
}

pkg_postinst() {
	echo
	einfo "For detailed instructions on how to run and configure"
	einfo "NAMD please consults the extensive documentation at"
	einfo "http://www.ks.uiuc.edu/Research/namd/"
	einfo "and the NAMD tutorials available at"
	einfo "http://www.ks.uiuc.edu/Training/Tutorials/"
	einfo "Have fun :)"
	echo
}





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-chemistry/namd: namd-2.9-r1.ebuild ChangeLog
@ 2013-11-30 23:28 Christoph Junghans (ottxor)
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Junghans (ottxor) @ 2013-11-30 23:28 UTC (permalink / raw
  To: gentoo-commits

ottxor      13/11/30 23:28:19

  Modified:             namd-2.9-r1.ebuild ChangeLog
  Log:
  fixed deps
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C2000586)

Revision  Changes    Path
1.2                  sci-chemistry/namd/namd-2.9-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/namd/namd-2.9-r1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/namd/namd-2.9-r1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/namd/namd-2.9-r1.ebuild?r1=1.1&r2=1.2

Index: namd-2.9-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/namd/namd-2.9-r1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- namd-2.9-r1.ebuild	30 Nov 2013 04:29:21 -0000	1.1
+++ namd-2.9-r1.ebuild	30 Nov 2013 23:28:19 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/namd/namd-2.9-r1.ebuild,v 1.1 2013/11/30 04:29:21 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/namd/namd-2.9-r1.ebuild,v 1.2 2013/11/30 23:28:19 ottxor Exp $
 
 EAPI=5
 
@@ -20,12 +20,13 @@
 
 RESTRICT="fetch"
 
-DEPEND="
-	|| ( >=sys-cluster/charm-6.5.1-r2 <=sys-cluster/charm-6.5.1-r1[static-libs] )
+RDEPEND="
+	>=sys-cluster/charm-6.5.1-r2
 	sci-libs/fftw:3.0
 	dev-lang/tcl"
 
-RDEPEND=${DEPEND}
+DEPEND="${RDEPEND}
+	app-shells/tcsh"
 
 NAMD_ARCH="Linux-x86_64-g++"
 



1.19                 sci-chemistry/namd/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/namd/ChangeLog?rev=1.19&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/namd/ChangeLog?rev=1.19&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/namd/ChangeLog?r1=1.18&r2=1.19

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/namd/ChangeLog,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ChangeLog	30 Nov 2013 04:29:21 -0000	1.18
+++ ChangeLog	30 Nov 2013 23:28:19 -0000	1.19
@@ -1,6 +1,9 @@
 # ChangeLog for sci-chemistry/namd
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/namd/ChangeLog,v 1.18 2013/11/30 04:29:21 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/namd/ChangeLog,v 1.19 2013/11/30 23:28:19 ottxor Exp $
+
+  30 Nov 2013; Christoph Junghans <ottxor@gentoo.org> namd-2.9-r1.ebuild:
+  fixed deps
 
 *namd-2.9-r1 (30 Nov 2013)
 





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-30 23:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-30  4:29 [gentoo-commits] gentoo-x86 commit in sci-chemistry/namd: namd-2.9-r1.ebuild ChangeLog Christoph Junghans (ottxor)
  -- strict thread matches above, loose matches on Subject: below --
2013-11-30 23:28 Christoph Junghans (ottxor)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox