diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-11-29 13:41:42 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-11-29 13:41:42 +0000 |
commit | a934b448c98355674873cc9c5f59b744ed835c65 (patch) | |
tree | a91e837f30a608be3e4683464c69b69ff8934878 /sci-chemistry | |
parent | Keyword ~arm (diff) | |
download | gentoo-2-a934b448c98355674873cc9c5f59b744ed835c65.tar.gz gentoo-2-a934b448c98355674873cc9c5f59b744ed835c65.tar.bz2 gentoo-2-a934b448c98355674873cc9c5f59b744ed835c65.zip |
sci-chemistry/namd: Drop old
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/namd/ChangeLog | 8 | ||||
-rw-r--r-- | sci-chemistry/namd/namd-2.6.ebuild | 96 | ||||
-rw-r--r-- | sci-chemistry/namd/namd-2.7_beta2-r1.ebuild | 59 | ||||
-rw-r--r-- | sci-chemistry/namd/namd-2.7_beta2.ebuild | 112 |
4 files changed, 33 insertions, 242 deletions
diff --git a/sci-chemistry/namd/ChangeLog b/sci-chemistry/namd/ChangeLog index cc6be40b771e..ff68934049f2 100644 --- a/sci-chemistry/namd/ChangeLog +++ b/sci-chemistry/namd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-chemistry/namd -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/namd/ChangeLog,v 1.14 2011/07/20 16:57:24 pacho Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/namd/ChangeLog,v 1.15 2012/11/29 13:41:41 jlec Exp $ + + 29 Nov 2012; Justin Lecher <jlec@gentoo.org> -namd-2.6.ebuild, + -namd-2.7_beta2.ebuild, namd-2.7_beta2-r1.ebuild: + Drop old 20 Jul 2011; Pacho Ramos <pacho@gentoo.org> metadata.xml: Drop maintainer due retirement, bug #105599 diff --git a/sci-chemistry/namd/namd-2.6.ebuild b/sci-chemistry/namd/namd-2.6.ebuild deleted file mode 100644 index ba8f4b8322dc..000000000000 --- a/sci-chemistry/namd/namd-2.6.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/namd/namd-2.6.ebuild,v 1.4 2009/09/23 19:55:56 patrick Exp $ - -inherit eutils 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" -MY_PV="2.6" - -SRC_URI="${MY_PN}_${MY_PV}_Source.tar.gz" - -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -RESTRICT="fetch" - -DEPEND="app-shells/tcsh - =sys-cluster/charm-5.9 - =sci-libs/fftw-2* - =dev-lang/tcl-8.4*" - -RDEPEND=${DEPEND} - -CHARM="charm-5.9" -NAMD_ARCH="Linux-i686-g++" - -NAMD_DOWNLOAD="http://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=NAMD" - -S="${WORKDIR}/${MY_PN}_${MY_PV}_Source" - -pkg_nofetch() { - echo - einfo "Please download ${MY_PN}_${MY_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 ${MY_PV} version!" - echo -} - -src_unpack() { - unpack ${A} - - # apply a few small fixes to make NAMD compile and - # link to the proper libraries - epatch "${FILESDIR}"/namd-2.6-gentoo.patch - - cd "${S}" - - # proper compiler and cflags - sed -e "s/g++/$(tc-getCXX)/" \ - -e "s/CXXOPTS = -O3 -march=pentiumpro -ffast-math -static/CXXOPTS = ${CXXFLAGS}/" \ - -e "s/gcc/$(tc-getCC)/" \ - -e "s/COPTS = -O3 -march=pentiumpro -ffast-math -static/COPTS = ${CFLAGS}/" \ - -i arch/${NAMD_ARCH}.arch || \ - die "Failed to setup ${NAMD_ARCH}.arch" - - # configure - ./config tcl fftw ${NAMD_ARCH} -} - -src_compile() { - # build namd - cd "${S}/${NAMD_ARCH}" - emake || die "Failed to build namd" -} - -src_install() { - cd "${S}/${NAMD_ARCH}" - - # the binaries - dobin ${PN}2 psfgen flipbinpdb flipdcd || \ - die "Failed to install binaries" - - cd "${S}" - - # some docs - dodoc announce.txt license.txt notes.txt || \ - die "Failed to install docs" -} - -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 -} diff --git a/sci-chemistry/namd/namd-2.7_beta2-r1.ebuild b/sci-chemistry/namd/namd-2.7_beta2-r1.ebuild index 3d0115b67590..dfdd78c57814 100644 --- a/sci-chemistry/namd/namd-2.7_beta2-r1.ebuild +++ b/sci-chemistry/namd/namd-2.7_beta2-r1.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/namd/namd-2.7_beta2-r1.ebuild,v 1.1 2010/06/24 20:37:03 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/namd/namd-2.7_beta2-r1.ebuild,v 1.2 2012/11/29 13:41:41 jlec Exp $ -inherit eutils toolchain-funcs flag-o-matic +EAPI=4 + +inherit eutils multilib toolchain-funcs flag-o-matic DESCRIPTION="A powerful and highly parallelized molecular dynamics code" LICENSE="namd" @@ -22,7 +24,7 @@ RESTRICT="fetch" DEPEND=" app-shells/tcsh sys-cluster/charm - =sci-libs/fftw-2* + sci-libs/fftw:2.1 dev-lang/tcl" RDEPEND=${DEPEND} @@ -43,61 +45,54 @@ pkg_nofetch() { echo } -src_unpack() { - unpack ${A} - cd "${S}" - +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.7_beta2-gentoo.patch - epatch "${FILESDIR}"/namd-2.7-ldflags.patch - epatch "${FILESDIR}"/namd-2.7-iml-dec.patch - sed -e "s:charm-6.1.3:charm-${CHARM_VERSION}:" \ - Make.charm || \ - die + epatch \ + "${FILESDIR}"/namd-2.7_beta2-gentoo.patch \ + "${FILESDIR}"/namd-2.7-ldflags.patch \ + "${FILESDIR}"/namd-2.7-iml-dec.patch + sed \ + -e "s:charm-6.1.3:charm-${CHARM_VERSION}:" \ + -i Make.charm || die rm -f charm-6.1.3.tar || die # proper compiler and cflags - sed -e "s/g++/$(tc-getCXX)/" \ + sed \ + -e "s/g++/$(tc-getCXX)/" \ -e "s/gcc/$(tc-getCC)/" \ -e "s/CXXOPTS = -O3 -m64 -fexpensive-optimizations -ffast-math/CXXOPTS = ${CXXFLAGS}/" \ -e "s/COPTS = -O3 -m64 -fexpensive-optimizations -ffast-math/COPTS = ${CFLAGS}/" \ - -i arch/${NAMD_ARCH}.arch || \ - die "Failed to setup ${NAMD_ARCH}.arch" + -i arch/${NAMD_ARCH}.arch || die - sed -e "s/gentoo-libdir/$(get_libdir)/g" \ + 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/gentoo-libdir/$(get_libdir)/g" -i arch/Linux-x86_64.fftw || \ - die "Failed gentooizing Linux-x86_64.fftw." - sed -e "s/gentoo-libdir/$(get_libdir)/g" -i arch/Linux-x86_64.tcl || \ - die "Failed gentooizing Linux-x86_64.tcl." + sed -e "s/gentoo-libdir/$(get_libdir)/g" -i arch/Linux-x86_64.fftw || die + sed -e "s/gentoo-libdir/$(get_libdir)/g" -i arch/Linux-x86_64.tcl || die +} +src_configure() { # configure - ./config ${NAMD_ARCH} + ./config ${NAMD_ARCH} || die } src_compile() { # build namd cd "${S}/${NAMD_ARCH}" - emake || die "Failed to build namd" + emake } src_install() { + dodoc announce.txt license.txt notes.txt cd "${S}/${NAMD_ARCH}" # the binaries - dobin ${PN}2 psfgen flipbinpdb flipdcd || \ - die "Failed to install binaries" - - cd "${S}" - - # some docs - dodoc announce.txt license.txt notes.txt || \ - die "Failed to install docs" + dobin ${PN}2 psfgen flipbinpdb flipdcd } pkg_postinst() { diff --git a/sci-chemistry/namd/namd-2.7_beta2.ebuild b/sci-chemistry/namd/namd-2.7_beta2.ebuild deleted file mode 100644 index bc90354b4c61..000000000000 --- a/sci-chemistry/namd/namd-2.7_beta2.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/namd/namd-2.7_beta2.ebuild,v 1.2 2010/06/24 20:37:03 jlec Exp $ - -inherit eutils 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" -MY_PV="2.7b2" - -SRC_URI="${MY_PN}_${MY_PV}_Source.tar.gz" - -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RESTRICT="fetch" - -DEPEND=" - app-shells/tcsh - sys-cluster/charm - =sci-libs/fftw-2* - 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}_${MY_PV}_Source" - -pkg_nofetch() { - echo - einfo "Please download ${MY_PN}_${MY_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 ${MY_PV} version!" - echo -} - -src_unpack() { - unpack ${A} - cd "${S}" - - 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.7_beta2-gentoo.patch - epatch "${FILESDIR}"/namd-2.7-ldflags.patch - epatch "${FILESDIR}"/namd-2.7-iml-dec.patch - sed -e "s:charm-6.1.3:charm-${CHARM_VERSION}:" \ - Make.charm || \ - die - - rm -f charm-6.1.3.tar || die - - # proper compiler and cflags - sed -e "s/g++/$(tc-getCXX)/" \ - -e "s/gcc/$(tc-getCC)/" \ - -e "s/CXXOPTS = -O3 -m64 -fexpensive-optimizations -ffast-math/CXXOPTS = ${CXXFLAGS}/" \ - -e "s/COPTS = -O3 -m64 -fexpensive-optimizations -ffast-math/COPTS = ${CFLAGS}/" \ - -i arch/${NAMD_ARCH}.arch || \ - die "Failed to setup ${NAMD_ARCH}.arch" - - 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/gentoo-libdir/$(get_libdir)/g" -i arch/Linux-x86_64.fftw || \ - die "Failed gentooizing Linux-x86_64.fftw." - sed -e "s/gentoo-libdir/$(get_libdir)/g" -i arch/Linux-x86_64.tcl || \ - die "Failed gentooizing Linux-x86_64.tcl." - - # configure - ./config ${NAMD_ARCH} -} - -src_compile() { - # build namd - cd "${S}/${NAMD_ARCH}" - emake || die "Failed to build namd" -} - -src_install() { - cd "${S}/${NAMD_ARCH}" - - # the binaries - dobin ${PN}2 psfgen flipbinpdb flipdcd || \ - die "Failed to install binaries" - - cd "${S}" - - # some docs - dodoc announce.txt license.txt notes.txt || \ - die "Failed to install docs" -} - -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 -} |