diff options
Diffstat (limited to 'net-misc/bwwhois/bwwhois-5.5.2-r2.ebuild')
-rw-r--r-- | net-misc/bwwhois/bwwhois-5.5.2-r2.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/net-misc/bwwhois/bwwhois-5.5.2-r2.ebuild b/net-misc/bwwhois/bwwhois-5.5.2-r2.ebuild new file mode 100644 index 000000000000..90b6b18f9461 --- /dev/null +++ b/net-misc/bwwhois/bwwhois-5.5.2-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +GENTOO_DEPEND_ON_PERL_SUBSLOT=yes +inherit perl-app + +MY_P="${P/bw/}" + +DESCRIPTION="Perl-based whois client designed to work with the new Shared Registration System" +SRC_URI="http://whois.bw.org/dist/${MY_P}.tgz" +HOMEPAGE="http://whois.bw.org/" + +LICENSE="|| ( Artistic GPL-2 )" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +DEPEND="dev-lang/perl" +RDEPEND="${DEPEND} + virtual/perl-Getopt-Long" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # bug #440390 + sed -i -e '/^\.ru/s/ripn.ru/ripn.net/' tld.conf || die 'sed on tld.conf failed' +} + +src_install() { + exeinto usr/bin + newexe whois bwwhois + + newman whois.1 bwwhois.1 + + insinto /etc/whois + doins whois.conf tld.conf sd.conf + + perl_set_version + insinto "${VENDOR_LIB}" + doins bwInclude.pm + + dodoc HISTORY INSTALL README +} |