summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2006-10-29 11:46:38 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2006-10-29 11:46:38 +0000
commite3eae26b042ec7ef391e0d5d215e12d571f0b198 (patch)
tree691ec7079b69040ff59b62b51692b7c0653a502f /net-misc/bsdwhois
parentAdd modular X dependencies (diff)
downloadgentoo-2-e3eae26b042ec7ef391e0d5d215e12d571f0b198.tar.gz
gentoo-2-e3eae26b042ec7ef391e0d5d215e12d571f0b198.tar.bz2
gentoo-2-e3eae26b042ec7ef391e0d5d215e12d571f0b198.zip
Removed support for eselect-whois.
(Portage version: 2.1.2_pre3-r7)
Diffstat (limited to 'net-misc/bsdwhois')
-rw-r--r--net-misc/bsdwhois/ChangeLog6
-rw-r--r--net-misc/bsdwhois/bsdwhois-1.43.2.1.ebuild19
2 files changed, 11 insertions, 14 deletions
diff --git a/net-misc/bsdwhois/ChangeLog b/net-misc/bsdwhois/ChangeLog
index ff132273fbdd..540c6d739bfe 100644
--- a/net-misc/bsdwhois/ChangeLog
+++ b/net-misc/bsdwhois/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/bsdwhois
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/bsdwhois/ChangeLog,v 1.5 2006/10/27 19:09:26 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bsdwhois/ChangeLog,v 1.6 2006/10/29 11:46:38 drizzt Exp $
+
+ 29 Oct 2006; Timothy Redaelli <drizzt@gentoo.org>
+ bsdwhois-1.43.2.1.ebuild:
+ Removed support for eselect-whois.
27 Oct 2006; Roy Marples <uberlord@gentoo.org> bsdwhois-1.43.2.1.ebuild:
Added ~sparc-fbsd keyword.
diff --git a/net-misc/bsdwhois/bsdwhois-1.43.2.1.ebuild b/net-misc/bsdwhois/bsdwhois-1.43.2.1.ebuild
index 586cc65cef51..0d71fdede3a8 100644
--- a/net-misc/bsdwhois/bsdwhois-1.43.2.1.ebuild
+++ b/net-misc/bsdwhois/bsdwhois-1.43.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/bsdwhois/bsdwhois-1.43.2.1.ebuild,v 1.5 2006/10/27 19:09:26 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bsdwhois/bsdwhois-1.43.2.1.ebuild,v 1.6 2006/10/29 11:46:38 drizzt Exp $
DESCRIPTION="FreeBSD Whois Client"
HOMEPAGE="http://www.freebsd.org/"
@@ -11,21 +11,14 @@ SLOT="0"
KEYWORDS="~amd64 ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE=""
-RDEPEND="app-admin/eselect-whois"
+RDEPEND=""
DEPEND=""
src_install() {
emake DESTDIR="${D}" install || die
- mv "${D}"/usr/share/man/man1/{whois,bsdwhois}.1
- mv "${D}"/usr/bin/{whois,bsdwhois}
-}
-
-pkg_postinst() {
- einfo "Setting /usr/bin/whois symlink"
- eselect whois update --if-unset
-}
-pkg_postrm() {
- einfo "Updating /usr/bin/whois symlink"
- eselect whois update
+ if [ "$USERLAND" != "BSD" ]; then
+ mv "${D}"/usr/share/man/man1/{whois,bsdwhois}.1
+ mv "${D}"/usr/bin/{whois,bsdwhois}
+ fi
}