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

Contents of /net-misc/gwhois/gwhois-20080219_p1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jun 28 11:34:38 2008 UTC (12 years, 3 months ago) by wschlich
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
version bump, removed old versions
(Portage version: 2.1.5.6)

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

  ViewVC Help
Powered by ViewVC 1.1.20