/[gentoo-x86]/net-misc/gwhois/gwhois-20070403.ebuild
Gentoo

Contents of /net-misc/gwhois/gwhois-20070403.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Aug 23 18:34:42 2007 UTC (12 years, 1 month ago) by wschlich
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
removed old versions
(Portage version: 2.1.3.6)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/gwhois/gwhois-20070403.ebuild,v 1.1 2007/04/16 15:55:08 wschlich Exp $
4
5 inherit eutils
6
7 DESCRIPTION="generic whois"
8 HOMEPAGE="http://gwhois.de/"
9 SRC_URI="http://gwhois.de/gwhois/${P/-/_}.tar.gz"
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
13 IUSE=""
14
15 RDEPEND="www-client/lynx
16 net-misc/curl
17 dev-lang/perl
18 dev-perl/libwww-perl"
19
20 src_install() {
21 dodir /etc/gwhois
22 insinto /etc/gwhois
23 doins pattern
24 dobin gwhois
25 doman gwhois.1
26 dodoc TODO "${FILESDIR}/gwhois.xinetd" README.RIPE README.upgrade
27 einfo ""
28 einfo "See included gwhois.xinetd for an example on how to"
29 einfo "use gwhois as a whois proxy using xinetd."
30 einfo "Just copy gwhois.xinetd to /etc/xinetd.d/gwhois"
31 einfo "and reload xinetd."
32 einfo ""
33 }
34
35 pkg_postinst() {
36 if [ -f /etc/gwhois/pattern.ripe ]; then
37 ewarn ""
38 ewarn "Will move old /etc/gwhois/pattern.ripe to removethis-pattern.ripe"
39 ewarn "as it causes malfunction with this version."
40 ewarn "If you did not modify the file, just remove it."
41 ewarn ""
42 mv /etc/gwhois/pattern.ripe /etc/gwhois/removethis-pattern.ripe
43 fi
44 }

  ViewVC Help
Powered by ViewVC 1.1.20