# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils DESCRIPTION="UMIT is the new, cross platform nmap frontend." HOMEPAGE="http://umit.sourceforge.net/" SRC_URI="mirror://sourceforge/umit/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-lang/python-2.4 >=dev-python/pygtk-2.6 =dev-python/pysqlite-2* >=net-analyzer/nmap-3.95" RDEPEND="${DEPEND}" src_install() { distutils_src_install distutils_python_version for sed_file in \ bin/uninstall_umit \ config/umit/umit.conf \ lib/python${PYVER}/site-packages/umitCore/Paths.py ; do sed -i -e "s~${D}~/~g" "${D}/usr/${sed_file}" || die "sed broke!" done }