# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit qt3 eutils DESCRIPTION="SocNetV is an application for the Linux desktop written in C++/Qt. Its main objective is to provide a sensible means for Social Networks Analysis and Visualisation on the Linux platform" HOMEPAGE="http://socnetv.sourceforge.net/index.html" SRC_URI="mirror://sourceforge/socnetv/${P}-2.tar.gz doc? (http://socnetv.sourceforge.net/help.pdf) " LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="doc" RDEPEND="$(qt_min_version 3.3)" DEPEND="${RDEPEND}" S="${WORKDIR}/socnetv" src_compile() { cd "${S}" ${QTDIR}/bin/qmake QMAKE=${QTDIR}/bin/qmake || die 'qmake failed.' emake || die "Error: emake failed!" } src_install() { dobin socnetv make_desktop_entry socnetv "${PN}" "${PN}".png Science insinto /usr/share/${PN}/examples doins nets/* dodoc todo readme news copying ChangeLog authors if use doc; then insinto /usr/share/doc/${PF} newins "${DISTDIR}"/help.pdf "${P}"-help.pdf fi }