# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ IUSE="" RESTRICT="" DESCRIPTION="xnec2c is a GTK+ graphical interactive version of nec2c." HOMEPAGE="http://5b4az.mattsnetwork.co.uk/pages/nec2.html" SRC_URI="http://5b4az.mattsnetwork.co.uk/pkg/nec2/xnec2c/${PN}-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" DEPEND=">=x11-libs/gtk+-2 sys-devel/gettext sci-electronics/nec2doc" src_install() { DESTDIR="${D}" emake install || die "einstall failed" dodoc INSTALL COPYING AUTHORS README doc/NearFieldCalcs.txt || die "install doc failed" dohtml -r doc/* || die "install html failed" insinto /usr/share/doc/${PF}/examples doins examples/* } pkg_postinst() { einfo "" einfo "Some examples of xnec2c input files are in /usr/share/doc/${PF}/examples" einfo "" }