summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-03-18 21:35:53 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-03-18 21:35:53 +0000
commite861248e2018889401df39033d9ad31bd325d572 (patch)
treec987a6d2da4c0ab35c23e6e0330ced53534ae095 /sci-chemistry
parentFix dependencies for qt4.4, thanks to Bernd Steinhauser in bug 212748 (diff)
downloadhistorical-e861248e2018889401df39033d9ad31bd325d572.tar.gz
historical-e861248e2018889401df39033d9ad31bd325d572.tar.bz2
historical-e861248e2018889401df39033d9ad31bd325d572.zip
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/gamess/ChangeLog10
-rw-r--r--sci-chemistry/gamess/Manifest10
-rw-r--r--sci-chemistry/gamess/gamess-20060907.4.ebuild6
-rw-r--r--sci-chemistry/gamess/gamess-20070324.1.ebuild6
-rw-r--r--sci-chemistry/gamess/gamess-20070324.3.ebuild6
-rw-r--r--sci-chemistry/gamess/gamess-20070324.6.ebuild217
6 files changed, 237 insertions, 18 deletions
diff --git a/sci-chemistry/gamess/ChangeLog b/sci-chemistry/gamess/ChangeLog
index bba1c0108d9a..a8bcb44208ae 100644
--- a/sci-chemistry/gamess/ChangeLog
+++ b/sci-chemistry/gamess/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-chemistry/gamess
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gamess/ChangeLog,v 1.23 2007/10/27 17:00:41 markusle Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gamess/ChangeLog,v 1.24 2008/03/18 21:35:53 markusle Exp $
+
+*gamess-20070324.6 (18 Mar 2008)
+
+ 18 Mar 2008; Markus Dittrich <markusle@gentoo.org>
+ +gamess-20070324.6.ebuild:
+ Version bump.
*gamess-20070324.3 (27 Oct 2007)
diff --git a/sci-chemistry/gamess/Manifest b/sci-chemistry/gamess/Manifest
index 5ea4cd5e41dd..6ce8f23c724e 100644
--- a/sci-chemistry/gamess/Manifest
+++ b/sci-chemistry/gamess/Manifest
@@ -4,8 +4,10 @@ AUX gamess-20070324.3.gentoo.patch 11196 RMD160 37700e020500f9295aaf6223ae412eb3
DIST gamess-20060907.4.tar.gz 7864905 RMD160 6e01ab4aabc41980fff74b512ef3b952a5e3f0c8 SHA1 f48ad18115b24861fffdc16cebe97e6b1ed80091 SHA256 8361f50e18ce5301e42375f820d8c41297ca1639fe02441c0a376b19d5e61ea9
DIST gamess-20070324.1.tar.gz 8095867 RMD160 9634a996ee026197658103fd650d453d796708db SHA1 7a6fc6ced7565337a1b77189df7446d1c84b61dd SHA256 b8e3a5d82d19a8adf1508c8fbea01a125ab4f01471f321f66b9d3c53511c9412
DIST gamess-20070324.3.tar.gz 8219816 RMD160 e9a3ad26a520072322006d7f429ad5172a6248cb SHA1 ab4590fd73e93b06fa122768721650789e50533d SHA256 c9650cca2c2f7b5973636d4d49f907fc5f975f430b0f78dd7d2ee2d83109900d
-EBUILD gamess-20060907.4.ebuild 6386 RMD160 8bbb99c57c5518ce0ae2c9794917e0bfe9f5cfad SHA1 db65f40050296ab0e780065cd921eb39c79ebe0b SHA256 dd11942260fffc97f6fb90ce01d08d6c7c525d90a9120d10a0524eca49e6cc3e
-EBUILD gamess-20070324.1.ebuild 6380 RMD160 1667961b22467284849601ca7de4b28c0deaf34e SHA1 2cd64f7a44c96c01dab0e454a7d041b4202a4cd8 SHA256 fb44ca895473c210088c6a5626f1cac0f0ed33027ad7de2cfd8f48072ad77d30
-EBUILD gamess-20070324.3.ebuild 6472 RMD160 f25b2359bcf45325e65d49712bd7e5b6ff15861c SHA1 8700c90f7017e32c5501e591b6f9219eefd929ed SHA256 b227e316e4cf7764cdfacb25a83499b77a1a07b2c963ae379cf1afcf790b31c3
-MISC ChangeLog 5699 RMD160 6706a96f9b2fbff2dcf0246cdefcbd63a6c89fe5 SHA1 a878771227b21845e92dc997e85661df3fa57425 SHA256 392677bb3c576f015e7eb3b8affd99748d5460b1457be13ea88ca8c4f1d6c733
+DIST gamess-20070324.6.tar.gz 8452642 RMD160 b7f850db6d816f9011b646b31bc1c4a8b07983bc SHA1 19ea60d555ea10687e8fc43f9734b3fef5d646e3 SHA256 3c47012c17c544f6c6fe35526232e3d2b4aa61a4c22b7a944fcb72cad3295ae5
+EBUILD gamess-20060907.4.ebuild 6374 RMD160 be0d3392c32005bc768274fc50c3df2072345a86 SHA1 1cfaa282c6444c5b441e51955c82e92e830f5283 SHA256 7e74c9d37a31639bd60710d87847c3e41a32aef216816e319988c64b6fb14704
+EBUILD gamess-20070324.1.ebuild 6368 RMD160 1cb7397a5617a276fdffe9d5d57e5fd77250c941 SHA1 6136e353c87069aedb852f1cffbd57cc57a02a62 SHA256 00fb877bcdd7c65f17b29a9074b9b20421baf8b1827aca69dfd9dc6464f265a3
+EBUILD gamess-20070324.3.ebuild 6459 RMD160 a6872a0747deb7a82b0b35b88598fad126a7f6fc SHA1 abda8c7356b2d38ebce211fcf4a2b039651ea864 SHA256 577a4f3ba557f1691396216350078e4d4ea07e2804e422119dd0020fabe05046
+EBUILD gamess-20070324.6.ebuild 6471 RMD160 630a8aa4671b03ffe511035b7dace79cc96440d0 SHA1 e087a04cff6ad126cb510217f3618ee0638ad47f SHA256 fbea4638597f0585110c0f8c015464cf152b6671d199220b3dd04e7685ba1e65
+MISC ChangeLog 5832 RMD160 9cd1da3299019d594f507b6419838d38a63f2f09 SHA1 19f22fc2a67ed674de14f974ee1795cf5786a9d5 SHA256 b929d97cc091600d788b6d219a243ae54ac2b57a8d1783ddb9c28d7236a76635
MISC metadata.xml 264 RMD160 f2d7d7c401f209aec88c85770c5d1fc73ee66c89 SHA1 90b72142265c0cf5b2e2c37f6d14209fc12de279 SHA256 a6dba0fee2e8489ae831c04e7240ee646ac65c2333485a3ae46da9ed000c4d9f
diff --git a/sci-chemistry/gamess/gamess-20060907.4.ebuild b/sci-chemistry/gamess/gamess-20060907.4.ebuild
index 0d0f1e850e88..4fc67512d6c4 100644
--- a/sci-chemistry/gamess/gamess-20060907.4.ebuild
+++ b/sci-chemistry/gamess/gamess-20060907.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gamess/gamess-20060907.4.ebuild,v 1.4 2007/08/19 01:01:30 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gamess/gamess-20060907.4.ebuild,v 1.5 2008/03/18 21:35:53 markusle Exp $
inherit eutils toolchain-funcs fortran flag-o-matic
@@ -151,8 +151,6 @@ src_compile() {
}
src_install() {
- cd "${S}"
-
# the executables
dobin ${PN}.00.x ddi/ddikick.x rungms \
|| die "Failed installing binaries"
diff --git a/sci-chemistry/gamess/gamess-20070324.1.ebuild b/sci-chemistry/gamess/gamess-20070324.1.ebuild
index e1036c891f0d..30cff5655515 100644
--- a/sci-chemistry/gamess/gamess-20070324.1.ebuild
+++ b/sci-chemistry/gamess/gamess-20070324.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gamess/gamess-20070324.1.ebuild,v 1.5 2007/08/19 01:01:30 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gamess/gamess-20070324.1.ebuild,v 1.6 2008/03/18 21:35:53 markusle Exp $
inherit eutils toolchain-funcs fortran flag-o-matic
@@ -151,8 +151,6 @@ src_compile() {
}
src_install() {
- cd "${S}"
-
# the executables
dobin ${PN}.00.x ddi/ddikick.x rungms \
|| die "Failed installing binaries"
diff --git a/sci-chemistry/gamess/gamess-20070324.3.ebuild b/sci-chemistry/gamess/gamess-20070324.3.ebuild
index 19c29b057208..1afb1f1cbeb8 100644
--- a/sci-chemistry/gamess/gamess-20070324.3.ebuild
+++ b/sci-chemistry/gamess/gamess-20070324.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gamess/gamess-20070324.3.ebuild,v 1.2 2007/10/27 21:52:03 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gamess/gamess-20070324.3.ebuild,v 1.3 2008/03/18 21:35:53 markusle Exp $
inherit eutils toolchain-funcs fortran flag-o-matic
@@ -154,8 +154,6 @@ src_compile() {
}
src_install() {
- cd "${S}"
-
# the executables
dobin ${PN}.00.x ddi/ddikick.x rungms \
|| die "Failed installing binaries"
diff --git a/sci-chemistry/gamess/gamess-20070324.6.ebuild b/sci-chemistry/gamess/gamess-20070324.6.ebuild
new file mode 100644
index 000000000000..2f2d8a02b33b
--- /dev/null
+++ b/sci-chemistry/gamess/gamess-20070324.6.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gamess/gamess-20070324.6.ebuild,v 1.1 2008/03/18 21:35:53 markusle Exp $
+
+inherit eutils toolchain-funcs fortran flag-o-matic
+
+DESCRIPTION="A powerful quantum chemistry package"
+LICENSE="gamess"
+HOMEPAGE="http://www.msg.ameslab.gov/GAMESS/GAMESS.html"
+SRC_URI="${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~ppc ~x86 ~amd64"
+IUSE="hardened"
+
+RESTRICT="fetch"
+
+DEPEND="app-shells/tcsh
+ hardened? ( sys-apps/paxctl )
+ virtual/blas"
+
+RDEPEND="${DEPEND}
+ net-misc/openssh"
+
+S="${WORKDIR}/${PN}"
+
+GAMESS_DOWNLOAD="http://www.msg.ameslab.gov/GAMESS/License_Agreement.html"
+GAMESS_VERSION="24 MAR 2007 (R3)"
+FORTRAN="ifc g77 gfortran"
+
+pkg_nofetch() {
+ echo
+ einfo "Please download ${PN}-current.tar.gz from"
+ einfo "${GAMESS_DOWNLOAD}."
+ einfo "Be sure to select the version ${GAMESS_VERSION} tarball!!"
+ einfo "Then move the tarball to"
+ einfo "${DISTDIR}/${P}.tar.gz"
+ echo
+}
+
+pkg_setup() {
+ fortran_pkg_setup
+
+ # currently amd64 is only supported with gfortran
+ if [[ "${ARCH}" == "amd64" ]] && [[ "${FORTRANC}" != "gfortran" ]];
+ then die "You will need gfortran to compile gamess on amd64"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ # apply LINUX-arch patches to gamess makesfiles
+ epatch "${FILESDIR}"/${PN}-20070324.3.gentoo.patch
+
+ # select arch
+ # NOTE: please leave lked alone; it should be good as is!!
+ cd "${S}"
+ local active_arch;
+ if [[ "${ARCH}" == "amd64" ]]; then
+ active_arch="linux64";
+ else
+ active_arch="linux32";
+ fi
+ sed -e "s:gentoo-target:${active_arch}:" \
+ -i comp compall ddi/compddi \
+ || die "Failed to select proper architecure"
+
+ # for hardened-gcc let't turn off ssp, since it breakes
+ # a few routines
+ if use hardened && [[ "${FORTRANC}" = "g77" ]]; then
+ FFLAGS="${FFLAGS} -fno-stack-protector-all"
+ fi
+
+ # enable NEO
+ sed -e "s:NEO=false:NEO=true:" -i compall lked || \
+ die "Failed to enable NEO code"
+
+ # greate proper activate sourcefile
+ cp "./tools/actvte.code" "./tools/actvte.f" || \
+ die || "Failed to create actvte.f"
+ sed -e "s/^\*UNX/ /" -i "./tools/actvte.f" || \
+ die || "Failed to perform UNX substitutions in actvte.f"
+
+ # fix GAMESS' compall script to use proper CC
+ sed -e "s|\$CCOMP -c \$extraflags source/zunix.c|$(tc-getCC) -c \$extraflags source/zunix.c|" \
+ -i compall || die "Failed setting up compall script"
+
+ # insert proper FFLAGS into GAMESS' comp makefile
+ # in case we're using ifc let's strip all the gcc
+ # specific stuff
+ if [[ "${FORTRANC}" == "ifc" ]]; then
+ sed -e "s/gentoo-OPT = '-O2'/OPT = '${FFLAGS} -quiet'/" \
+ -e "s/gentoo-g77/${FORTRANC}/" \
+ -i comp || die "Failed setting up comp script"
+ elif ! use x86; then
+ sed -e "s/-malign-double //" \
+ -e "s/gentoo-OPT = '-O2'/OPT = '${FFLAGS}'/" \
+ -e "s/gentoo-g77/${FORTRANC}/" \
+ -i comp || die "Failed setting up comp script"
+ else
+ sed -e "s/gentoo-OPT = '-O2'/OPT = '${FFLAGS}'/" \
+ -e "s/gentoo-g77/${FORTRANC}/" \
+ -i comp || die "Failed setting up comp script"
+ fi
+
+ # fix up GAMESS' linker script;
+ sed -e "s/gentoo-g77/${FORTRANC}/" \
+ -e "s/gentoo-LDOPTS=' '/LDOPTS='${LDFLAGS}'/" \
+ -i lked || die "Failed setting up lked script"
+
+ # fix up GAMESS' ddi TCP/IP socket build
+ sed -e "s/gentoo-CC = 'gcc'/CC = '$(tc-getCC)'/" \
+ -e "s/gentoo-g77/${FORTRANC}/" \
+ -i ddi/compddi || die "Failed setting up compddi script"
+
+ # fix up the checker scripts for gamess tests
+ sed -e "s:set GMSPATH:#set GMSPATH:g" \
+ -e "s:\$GMSPATH/tools/checktst:.:g" \
+ -i tools/checktst/checktst
+}
+
+src_compile() {
+ # build actvte
+ cd "${S}"/tools
+ "${FORTRANC}" -o actvte.x actvte.f || \
+ die "Failed to compile actvte.x"
+
+ # for hardened (PAX) users and ifc we need to turn
+ # MPROTECT off
+ if [[ "${FORTRANC}" == "ifc" ]] && use hardened; then
+ /sbin/paxctl -PemRxS actvte.x 2> /dev/null || \
+ die "paxctl failed on actvte.x"
+ fi
+
+ # build gamess
+ cd "${S}"
+ ./compall || die "compall failed"
+
+ # build the ddi TCP/IP socket stuff
+ cd ${S}/"ddi"
+ ./compddi || die "compddi failed"
+
+ # finally, link it all together
+ cd "${S}"
+ ./lked || die "lked failed"
+
+ # for hardened (PAX) users and ifc we need to turn
+ # MPROTECT off
+ if [[ "${FORTRANC}" == "ifc" ]] && use hardened; then
+ /sbin/paxctl -PemRxS ${PN}.00.x 2> /dev/null || \
+ die "paxctl failed on actvte.x"
+ fi
+}
+
+src_install() {
+ # the executables
+ dobin ${PN}.00.x ddi/ddikick.x rungms \
+ || die "Failed installing binaries"
+
+ # the docs
+ dodoc *.DOC qmnuc/*.DOC || die "Failed installing docs"
+
+ # install ericftm
+ insinto /usr/share/${PN}/ericfmt
+ doins ericfmt.dat || die "Failed installing ericfmt.dat"
+
+ # install mcpdata
+ insinto /usr/share/${PN}/mcpdata
+ doins mcpdata/* || die "Failed installing mcpdata"
+
+ # install the tests the user should run, and
+ # fix up the runscript; also grab a copy of rungms
+ # so the user is ready to run the tests
+ insinto /usr/share/${PN}/tests
+ insopts -m0644
+ doins tests/* || die "Failed installing tests"
+ insopts -m0744
+ doins runall || die "Failed installing tests"
+ doins tools/checktst/checktst tools/checktst/chkabs || \
+ die "Failed to install main test checker"
+ doins tools/checktst/exam* || \
+ die "Failed to install individual test files"
+
+ insinto /usr/share/${PN}/neotests
+ insopts -m0644
+ doins -r qmnuc/neotests/* || die "Failed to install NEO tests"
+}
+
+pkg_postinst() {
+ echo
+ einfo "Before you use GAMESS for any serious work you HAVE"
+ einfo "to run the supplied test files located in"
+ einfo "/usr/share/gamess/tests and check them thoroughly."
+ einfo "Otherwise all scientific publications resulting from"
+ einfo "your GAMESS runs should be immediately rejected :)"
+ einfo "To do so copy the content of /usr/share/gamess/tests"
+ einfo "to some temporary location and execute './runall'. "
+ einfo "Then run the checktst script in the same directory to"
+ einfo "validate the tests."
+ einfo "Please consult TEST.DOC and the other docs!"
+
+ if [[ "${FORTRANC}" == "ifc" ]]; then
+ echo
+ ewarn "IMPORTANT NOTE: We STRONGLY recommend to stay away"
+ ewarn "from ifc-9.0 for now and use the ifc-8.1 series of"
+ ewarn "compilers UNLESS you can run through ALL of the "
+ ewarn "test cases (see above) successfully."
+ fi
+
+ echo
+ einfo "If you want to run on more than a single CPU"
+ einfo "you will have to acquaint yourself with the way GAMESS"
+ einfo "does multiprocessor runs and adjust rungms according to"
+ einfo "your target network architecture."
+ echo
+}