New ebuild for wxmacmolplt-7.2.1, metadata.xml and a patch for Ming use. --- sci-chemistry/wxmacmolplt/ChangeLog | 11 ++++++ sci-chemistry/wxmacmolplt/Manifest | 5 +++ .../wxmacmolplt/files/wxmacmolplt-7.2.1-ming.patch | 11 ++++++ sci-chemistry/wxmacmolplt/metadata.xml | 11 ++++++ sci-chemistry/wxmacmolplt/wxmacmolplt-7.2.1.ebuild | 39 ++++++++++++++++++++ 5 files changed, 77 insertions(+), 0 deletions(-) create mode 100644 sci-chemistry/wxmacmolplt/ChangeLog create mode 100644 sci-chemistry/wxmacmolplt/Manifest create mode 100644 sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.2.1-ming.patch create mode 100644 sci-chemistry/wxmacmolplt/metadata.xml create mode 100644 sci-chemistry/wxmacmolplt/wxmacmolplt-7.2.1.ebuild
diff --git a/sci-chemistry/wxmacmolplt/ChangeLog b/sci-chemistry/wxmacmolplt/ChangeLog new file mode 100644 index 0000000..bf976cd --- /dev/null +++ b/sci-chemistry/wxmacmolplt/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sci-chemistry/wxmacmolplt +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*wxmacmolplt-7.2.1 (07 Feb 2009) + + 07 Feb 2009; Reinis Danne <[email protected]> + +files/wxmacmolplt-7.2.1-ming.patch, +metadata.xml, + +wxmacmolplt-7.2.1.ebuild: + New package sci-chemistry/wxmacmolplt, #197131 + diff --git a/sci-chemistry/wxmacmolplt/Manifest b/sci-chemistry/wxmacmolplt/Manifest new file mode 100644 index 0000000..fe37152 --- /dev/null +++ b/sci-chemistry/wxmacmolplt/Manifest @@ -0,0 +1,5 @@ +AUX wxmacmolplt-7.2.1-ming.patch 402 RMD160 44e8644cf7f28549fd24432979e1982753f31e92 SHA1 bb838d234cd3e6af66b9acd43b3a46b30450bb65 SHA256 159d6ade9ec84f1247d92f4cfd8f7a28d73651bf8d0e42ff2d181b3a7af6f999 +DIST wxmacmolplt-7.2.1.tar.gz 1617541 RMD160 7da381f33578d2b578efa937691b4ca8b461eb8b SHA1 45d3f43f33bf334ac6b6d7b187c271d8fd6ef32b SHA256 1e079a05da1738118164488722246377744ad3a6d1def5fb5965eed803bf69d4 +EBUILD wxmacmolplt-7.2.1.ebuild 852 RMD160 654f14f50d344e29510f0bf142fc26733d62e0e6 SHA1 a762dbbe3e5c0fde6bf1a2befe93d6e37b3474c4 SHA256 09f891f0ec3c6cd7be9ed2faabc5292bbf587ec702e1ad31fec6d1a4f8a5db4b +MISC ChangeLog 341 RMD160 a0a862ff3902902b2c34fb61e5c3eccb6cf133d1 SHA1 f4d8f5f2ee8450b22a5f887aba0e765430c9ce2d SHA256 52212f9867936603af8c850511e1a5a42e692f4a84c518a70363b78fdd25cf09 +MISC metadata.xml 640 RMD160 4860299f8c4ba8bfbad2b0c9e50c3589ab2c7f6b SHA1 53d8cd3fb8b803eff58fcb7533baf770af02dca1 SHA256 be59a56ba8a985098d1ced0a95bb3a1cd566c443f3af83d1785c55cb4420b744 diff --git a/sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.2.1-ming.patch b/sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.2.1-ming.patch new file mode 100644 index 0000000..e633f52 --- /dev/null +++ b/sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.2.1-ming.patch @@ -0,0 +1,11 @@ +--- configure.ac.orig 2008-05-13 19:27:34.000000000 +0300 ++++ configure.ac 2008-11-14 21:41:44.000000000 +0200 +@@ -39,7 +39,7 @@ + [AC_SUBST([LIBMING], ["-lming"]) AC_DEFINE([HAVE_LIBMING])], + [if test "x$with_ming" != xyes; then + AC_MSG_FAILURE([--with-ming was given, but test for ming failed]) +- fi], -lpng)]) ++ fi], -lpng -lgif)]) + + WXCONFIG=wx-config + AC_ARG_WITH(wx-config, diff --git a/sci-chemistry/wxmacmolplt/metadata.xml b/sci-chemistry/wxmacmolplt/metadata.xml new file mode 100644 index 0000000..ec344f1 --- /dev/null +++ b/sci-chemistry/wxmacmolplt/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci-chemistry</herd> +<longdescription> +wxMacMolPlt is a program for plotting 3D molecular structures and normal modes (vibrations), various orbitals and electron density maps. It reads a variety of file formats including any GAMESS input, log or IRC file directly to create animations. It has a simple GAMESS input (.inp) builder and a primitive molecule builder. +</longdescription> +<use> + <flag name='ming'>Add support for flash movie generation using <pkg>media-libs/ming</pkg></flag> +</use> +</pkgmetadata> diff --git a/sci-chemistry/wxmacmolplt/wxmacmolplt-7.2.1.ebuild b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.2.1.ebuild new file mode 100644 index 0000000..2eb1a2c --- /dev/null +++ b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.2.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Chemical 3D graphics program with GAMESS input builder" +HOMEPAGE="http://www.scl.ameslab.gov/~brett/MacMolPlt/" + +SRC_URI="http://www.scl.ameslab.gov/~brett/MacMolPlt/download/${P}.tar.gz" +LICENSE="GPL-2" + +KEYWORDS="~amd64 ~x86" +SLOT="0" + +IUSE="ming" + +RDEPEND="x11-libs/wxGTK + ming? ( media-libs/ming )" + +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-ming.patch" || die "Failed to apply ${P}-ming.patch" +} + +src_compile() { + econf $(use_with ming) || die "configure failed" + emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + doicon resources/${PN}.png + make_desktop_entry ${PN} wxMacMolPlt ${PN}.png Education +} -- 1.6.0.6
