summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2005-12-17 21:02:40 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2005-12-17 21:02:40 +0000
commit031d2f773c6d0c601f3665c8cbeb2200f3e4e1fc (patch)
treec84909c91b5300677e9920c6142dcb0f69eaf582 /sci-chemistry
parentStable on alpha, bug 114467. (diff)
downloadhistorical-031d2f773c6d0c601f3665c8cbeb2200f3e4e1fc.tar.gz
historical-031d2f773c6d0c601f3665c8cbeb2200f3e4e1fc.tar.bz2
historical-031d2f773c6d0c601f3665c8cbeb2200f3e4e1fc.zip
New electrostatic potential package: Macroscopic Electrostatics with Atomic Detail.
Package-Manager: portage-2.0.53
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/mead/ChangeLog11
-rw-r--r--sci-chemistry/mead/Manifest5
-rw-r--r--sci-chemistry/mead/files/digest-mead-2.2.51
-rw-r--r--sci-chemistry/mead/files/respect-cflags.patch57
-rw-r--r--sci-chemistry/mead/mead-2.2.5.ebuild45
-rw-r--r--sci-chemistry/mead/metadata.xml9
6 files changed, 128 insertions, 0 deletions
diff --git a/sci-chemistry/mead/ChangeLog b/sci-chemistry/mead/ChangeLog
new file mode 100644
index 000000000000..6c1d7e3a399b
--- /dev/null
+++ b/sci-chemistry/mead/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-chemistry/mead
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mead/ChangeLog,v 1.1 2005/12/17 21:02:40 spyderous Exp $
+
+*mead-2.2.5 (17 Dec 2005)
+
+ 17 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>;
+ +files/respect-cflags.patch, +metadata.xml, +mead-2.2.5.ebuild:
+ New electrostatic potential package: Macroscopic Electrostatics with Atomic
+ Detail.
+
diff --git a/sci-chemistry/mead/Manifest b/sci-chemistry/mead/Manifest
new file mode 100644
index 000000000000..d5889f432a08
--- /dev/null
+++ b/sci-chemistry/mead/Manifest
@@ -0,0 +1,5 @@
+MD5 603b1c171ed4757532d75df1acba26b4 ChangeLog 449
+MD5 e173bb7f2e9b945f1c06358dd244a23b files/digest-mead-2.2.5 62
+MD5 b9546545930ca744210e8fcb0607cca9 files/respect-cflags.patch 2202
+MD5 38927d0368ca53efd535d5406dd9a593 mead-2.2.5.ebuild 1085
+MD5 af1bfbb0777267a03e889b08173f2757 metadata.xml 248
diff --git a/sci-chemistry/mead/files/digest-mead-2.2.5 b/sci-chemistry/mead/files/digest-mead-2.2.5
new file mode 100644
index 000000000000..58ffa67c8884
--- /dev/null
+++ b/sci-chemistry/mead/files/digest-mead-2.2.5
@@ -0,0 +1 @@
+MD5 44a88c3cd87814eec33b925a731742c3 mead-2.2.5.tar.gz 769751
diff --git a/sci-chemistry/mead/files/respect-cflags.patch b/sci-chemistry/mead/files/respect-cflags.patch
new file mode 100644
index 000000000000..5b982aaebb4b
--- /dev/null
+++ b/sci-chemistry/mead/files/respect-cflags.patch
@@ -0,0 +1,57 @@
+diff -ur mead-2.2.5.orig/apps/libmso/Makefile.in mead-2.2.5/apps/libmso/Makefile.in
+--- mead-2.2.5.orig/apps/libmso/Makefile.in 2004-12-10 12:33:49.000000000 -0800
++++ mead-2.2.5/apps/libmso/Makefile.in 2005-12-17 12:43:10.000000000 -0800
+@@ -35,8 +35,8 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+
+ ALL_CPPFLAGS = -I. $(LOCALINCS) $(CPPFLAGS) $(REGEX_CPP) $(CXX_DEFS)
+-ALL_CXXFLAGS = $(CXX_OPTFLAGS) $(CXX_DEBUGFLAGS)
+-ALL_CFLAGS = $(CC_DEBUGFLAGS) $(CC_OPTFLAGS)
++ALL_CXXFLAGS = @CXXFLAGS@
++ALL_CFLAGS = @CFLAGS@
+
+ .SUFFIXES:
+ .SUFFIXES: .cc .o
+diff -ur mead-2.2.5.orig/apps/Makefile.common.in mead-2.2.5/apps/Makefile.common.in
+--- mead-2.2.5.orig/apps/Makefile.common.in 2004-11-19 14:49:56.000000000 -0800
++++ mead-2.2.5/apps/Makefile.common.in 2005-12-17 12:38:33.000000000 -0800
+@@ -36,10 +36,10 @@
+ LIBS = @LIBS@ -lm
+
+ ALL_CPPFLAGS = -I. $(LOCALINCS) $(CPPFLAGS) $(REGEX_CPP) $(CXX_DEFS)
+-ALL_CXXFLAGS = $(CXX_OPTFLAGS) $(CXX_DEBUGFLAGS)
+-ALL_CFLAGS = $(CC_DEBUGFLAGS) $(CC_OPTFLAGS)
++ALL_CXXFLAGS = @CXXFLAGS@
++ALL_CFLAGS = @CFLAGS@
+
+-CXXLINK = $(CXX) $(ALL_CPPFLAGS) $(CXX_DEBUGFLAGS) $(CXX_OPTFLAGS) \
++CXXLINK = $(CXX) $(ALL_CPPFLAGS) @CXXFLAGS@ \
+ $(LDFLAGS)
+
+ .SUFFIXES: .cc .o
+diff -ur mead-2.2.5.orig/libmead/Makefile.in mead-2.2.5/libmead/Makefile.in
+--- mead-2.2.5.orig/libmead/Makefile.in 2004-12-10 13:14:40.000000000 -0800
++++ mead-2.2.5/libmead/Makefile.in 2005-12-17 12:40:12.000000000 -0800
+@@ -99,8 +99,8 @@
+ INCLUDES = -I$(top_srcdir)
+
+ ALL_CPPFLAGS = $(INCLUDES) $(CPPFLAGS) $(REGEX_CPP) $(CXX_DEFS)
+-ALL_CXXFLAGS = $(CXX_OPTFLAGS) $(CXX_DEBUGFLAGS)
+-ALL_CFLAGS = $(CC_DEBUGFLAGS) $(CC_OPTFLAGS)
++ALL_CXXFLAGS = @CXXFLAGS@
++ALL_CFLAGS = @CFLAGS@
+
+
+
+diff -ur mead-2.2.5.orig/swig/Makefile.in mead-2.2.5/swig/Makefile.in
+--- mead-2.2.5.orig/swig/Makefile.in 2004-12-09 10:37:41.000000000 -0800
++++ mead-2.2.5/swig/Makefile.in 2005-12-17 12:51:47.000000000 -0800
+@@ -58,7 +58,7 @@
+ CXX_FLAGS = @CXX_NOOPTFLAGS@ @CXX_DEBUGFLAGS@ @CXX_SHAREDFLAGS@
+ CXX_DYNLIB_FLAGS = @CXX_DYNLIB_FLAGS@
+
+-ALL_CXXFLAGS = $(CPP_FLAGS) $(CXX_FLAGS)
++ALL_CXXFLAGS = $(CPP_FLAGS) @CXXFLAGS@ @CXX_SHAREDFLAGS@
+
+ MEADINC = -I$(top_srcdir) -I$(srcdir)
+ MEADLIBS = -L../libmead -lmead
diff --git a/sci-chemistry/mead/mead-2.2.5.ebuild b/sci-chemistry/mead/mead-2.2.5.ebuild
new file mode 100644
index 000000000000..1cf128534470
--- /dev/null
+++ b/sci-chemistry/mead/mead-2.2.5.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mead/mead-2.2.5.ebuild,v 1.1 2005/12/17 21:02:40 spyderous Exp $
+
+inherit eutils python
+
+DESCRIPTION="Macroscopic Electrostatics with Atomic Detail"
+HOMEPAGE="http://www.scripps.edu/mb/bashford/"
+SRC_URI="ftp://ftp.scripps.edu/pub/bashford/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="python"
+RESTRICT="fetch"
+RDEPEND=""
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig )"
+
+pkg_nofetch() {
+ einfo "Download ${SRC_URI}"
+ einfo "and place it in ${DISTDIR}."
+ einfo "Use anonymous as a login, password an email address."
+}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/respect-cflags.patch
+}
+
+src_compile() {
+ if use python; then
+ python_version
+ conf_opts="${conf_opts} --with-py-site-packages-dir=${D}/usr/$(get_libdir)/python${PYVER}/site-packages"
+ fi
+
+ econf \
+ $(use_with python) \
+ ${conf_opts} \
+ || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ einstall || die "install failed"
+}
diff --git a/sci-chemistry/mead/metadata.xml b/sci-chemistry/mead/metadata.xml
new file mode 100644
index 000000000000..211b8bd0f0a4
--- /dev/null
+++ b/sci-chemistry/mead/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+<email>spyderous@gentoo.org</email>
+<name>Donnie Berkholz</name>
+</maintainer>
+</pkgmetadata>