1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 inherit autotools eutils wxwidgets
11 DESCRIPTION="Chemical 3D graphics program with GAMESS input builder"
12 HOMEPAGE="http://www.scl.ameslab.gov/MacMolPlt/"
13 SRC_URI="https://wxmacmolplt.googlecode.com/files/${P}.tar.gz"
16 KEYWORDS="~amd64 ~x86"
23 x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
24 flash? ( media-libs/ming )"
29 need-wxwidgets unicode
30 epatch "${FILESDIR}"/${P}-glew.patch
32 -e "/^dist_doc_DATA/d" \
33 -i Makefile.am || die "Failed to disable installation of LICENSE file"
40 $(use_with flash ming)
45 doicon resources/${PN}.png
46 make_desktop_entry ${PN} wxMacMolPlt ${PN} "Science;DataVisualization;"