aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinis Danne <rei4dan@gmail.com>2012-10-22 11:36:25 +0300
committerReinis Danne <rei4dan@gmail.com>2012-10-22 11:36:25 +0300
commit1b506b21a255d13e7e2c31e2298ede54284ff462 (patch)
treea995d0410199650e8501850c9fdabb6c39cdfdc7 /sci-chemistry/wxmacmolplt
parentambertools: Fix parallel tests (diff)
downloadsci-1b506b21a255d13e7e2c31e2298ede54284ff462.tar.gz
sci-1b506b21a255d13e7e2c31e2298ede54284ff462.tar.bz2
sci-1b506b21a255d13e7e2c31e2298ede54284ff462.zip
wxmacmolplt: Version bump to 7.4.3
Diffstat (limited to 'sci-chemistry/wxmacmolplt')
-rw-r--r--sci-chemistry/wxmacmolplt/ChangeLog10
-rw-r--r--sci-chemistry/wxmacmolplt/Manifest1
-rw-r--r--sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.4.3-glew.patch12
-rw-r--r--sci-chemistry/wxmacmolplt/metadata.xml11
-rw-r--r--sci-chemistry/wxmacmolplt/wxmacmolplt-7.4.3.ebuild44
5 files changed, 78 insertions, 0 deletions
diff --git a/sci-chemistry/wxmacmolplt/ChangeLog b/sci-chemistry/wxmacmolplt/ChangeLog
new file mode 100644
index 000000000..c858c58fc
--- /dev/null
+++ b/sci-chemistry/wxmacmolplt/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-chemistry/wxmacmolplt
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*wxmacmolplt-7.4.3 (22 Oct 2012)
+
+ 22 Oct 2012; Reinis Danne <rei4dan@gmail.com> +wxmacmolplt-7.4.3.ebuild,
+ +files/wxmacmolplt-7.4.3-glew.patch, +metadata.xml:
+ Bump to 7.4.3.
+
diff --git a/sci-chemistry/wxmacmolplt/Manifest b/sci-chemistry/wxmacmolplt/Manifest
new file mode 100644
index 000000000..9d482c752
--- /dev/null
+++ b/sci-chemistry/wxmacmolplt/Manifest
@@ -0,0 +1 @@
+DIST wxmacmolplt-7.4.3.tar.gz 1821649 SHA256 f7e9c282d6370983c36fb5121eb5036e9e4044a98fb43bf9e269686846fccee9 SHA512 da2b871a3b134eb5b8ee881f98821f785bb41da2845f92e1c47b8ff6755ab8a3dad8bd04273e8418b08a8d15695b70ec1b36f5005a9d8c50b454ec92d925594c WHIRLPOOL 8d321a8817057f1091baa10f62d6e761a62a784d45c1ecdaab09fb8c40ce657c055b207b39757028182a287be50b5a02cb36e176a2ea790c3193cfd0a6878255
diff --git a/sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.4.3-glew.patch b/sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.4.3-glew.patch
new file mode 100644
index 000000000..08986db5b
--- /dev/null
+++ b/sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.4.3-glew.patch
@@ -0,0 +1,12 @@
+diff -urN wxmacmolplt-7.4.2.orig/configure.ac wxmacmolplt-7.4.2/configure.ac
+--- wxmacmolplt-7.4.2.orig/configure.ac 2010-12-05 02:48:29.000000000 +0300
++++ wxmacmolplt-7.4.2/configure.ac 2010-12-06 19:30:24.000000000 +0300
+@@ -20,7 +20,7 @@
+ ;;
+ *)
+ HOST=LINUX
+- LIBGL="-lGL -lGLU"
++ LIBGL=`pkg-config --libs glu glew`
+ ;;
+ esac
+ AM_CONDITIONAL(HOST_IS_MSW, [test "x$HOST" == xMSW])
diff --git a/sci-chemistry/wxmacmolplt/metadata.xml b/sci-chemistry/wxmacmolplt/metadata.xml
new file mode 100644
index 000000000..fb69a7dab
--- /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='flash'>Add support for flash movie generation using <pkg>media-libs/ming</pkg></flag>
+</use>
+</pkgmetadata>
diff --git a/sci-chemistry/wxmacmolplt/wxmacmolplt-7.4.3.ebuild b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.4.3.ebuild
new file mode 100644
index 000000000..8b300c9cf
--- /dev/null
+++ b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.4.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+WX_GTK_VER=2.8
+
+inherit base eutils autotools wxwidgets
+
+DESCRIPTION="Chemical 3D graphics program with GAMESS input builder"
+HOMEPAGE="http://www.scl.ameslab.gov/MacMolPlt/"
+SRC_URI="http://www.scl.ameslab.gov/MacMolPlt/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="flash"
+
+RDEPEND="
+ >=media-libs/glew-1.5.3
+ media-libs/mesa
+ x11-libs/wxGTK:2.8[X,opengl]
+ flash? ( media-libs/ming )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-glew.patch
+ sed -i -e "/^dist_doc_DATA/d" Makefile.am \
+ || die "Failed to disable installation of LICENSE file"
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-glew \
+ $(use_with flash ming)
+}
+
+src_install() {
+ emake DESTDIR="${ED}" install || die "install failed"
+ doicon resources/${PN}.png || die
+ make_desktop_entry ${PN} wxMacMolPlt ${PN} "Science;Education"
+}