diff options
-rw-r--r-- | sci-chemistry/wxmacmolplt/ChangeLog | 10 | ||||
-rw-r--r-- | sci-chemistry/wxmacmolplt/Manifest | 15 | ||||
-rw-r--r-- | sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.2.1-ming.patch | 11 | ||||
-rw-r--r-- | sci-chemistry/wxmacmolplt/metadata.xml | 8 | ||||
-rw-r--r-- | sci-chemistry/wxmacmolplt/wxmacmolplt-7.2.1.ebuild | 38 |
5 files changed, 82 insertions, 0 deletions
diff --git a/sci-chemistry/wxmacmolplt/ChangeLog b/sci-chemistry/wxmacmolplt/ChangeLog new file mode 100644 index 000000000..c52a9151f --- /dev/null +++ b/sci-chemistry/wxmacmolplt/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-chemistry/wxmacmolplt +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*wxmacmolplt-7.2.1 (13 Feb 2009) + + 13 Feb 2009; Alexey Shvetsov <alexxy@gentoo.org> + +files/wxmacmolplt-7.2.1-ming.patch, +wxmacmolplt-7.2.1.ebuild: + Add wxmacmolplt initialy bug #197131 + diff --git a/sci-chemistry/wxmacmolplt/Manifest b/sci-chemistry/wxmacmolplt/Manifest new file mode 100644 index 000000000..c8b6c72da --- /dev/null +++ b/sci-chemistry/wxmacmolplt/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +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 46e0d97c5a07abb8d54422c26041a3fbe0af1e40 SHA1 6e701903aa1beb599df6631b5dae9b683370e92f SHA256 676568d2f1117009f617635a826def85ccc732b6d97e8cad8f77f8ad1ff33716 +MISC ChangeLog 317 RMD160 0f52b96aef5b917e13a3cff3b48d1022db0d82eb SHA1 166ec2c4337dde150a822832d83bdf799f8cd0c4 SHA256 cf1fb792efb5ab014b1789bd5d8a4a4d92adda8b1d4de62a5858bbaf5004219e +MISC metadata.xml 245 RMD160 18596976a5c01cb139ec864df9c3e5af31bb7e84 SHA1 11a9e38cb22a455bfa7164418b209da0d1abedf6 SHA256 643385b3a789b424bcc6dc46fe5dc1607071820f9fd35fe91de2e7984f97cdfd +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkmVUfwACgkQ5BmOA85PVLjzTgCeMcKYLHoru5znOQWq5XEyYG9X +MZ8An1165ReAlc+Abo6OnB3TlrWxP1O+ +=FTJv +-----END PGP SIGNATURE----- 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 000000000..e633f5288 --- /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 000000000..1aea1ef06 --- /dev/null +++ b/sci-chemistry/wxmacmolplt/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci-chemistry</herd> +<use> + <flag name='ming'>Add support for flash movie generation</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 000000000..aca2212fa --- /dev/null +++ b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.2.1.ebuild @@ -0,0 +1,38 @@ +# 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 +} |