# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /root/portage/net-analyzer/dnsenum/dnsenum-1.0.ebuild,v 1.1.1.1 2006/03/30 21:15:43 grimmlin Exp $ EAPI=3 DESCRIPTION="A perl script to enumerate DNS from a server" HOMEPAGE="http://code.google.com/p/dnsenum/" SRC_URI="http://dnsenum.googlecode.com/files/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" IUSE="" DEPEND="" RDEPEND="dev-perl/Net-Netmask dev-perl/XML-Writer" S="${WORKDIR}/${P/-/}" src_prepare() { sed -i 's|perl dnsenum.pl|dnsenum|g' dnsenum.pl || die } src_install () { dodoc README.txt newbin ${PN}.pl ${PN} insinto /usr/share/"${PN}" doins dns.txt doins dns-big.txt }