blob: d58b4e53de1f0ca333a47ecd8c2ae16ad17ade07 [file] [log] [blame]
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/wxmacmolplt/wxmacmolplt-7.3.ebuild,v 1.4 2010/03/09 11:39:54 abcd Exp $
EAPI="2"
WX_GTK_VER=2.8
inherit base eutils 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"
DEPEND="x11-libs/wxGTK:2.8[X,opengl]
flash? ( media-libs/ming )"
RDEPEND="${DEPEND}"
src_configure() {
econf $(use_with flash ming)
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
doicon resources/${PN}.png
make_desktop_entry ${PN} wxMacMolPlt ${PN} "Science;Education"
}