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
commitda3e2987d4eafdde6dae52ccd0a7d35639417adf (patch)
treea8ef728414f17e98b8743fa2d739765cfea55d5f /net-misc/bsdwhois/bsdwhois-1.43.2.1.ebuild
parentAdd modular X dependencies (diff)
downloadhistorical-da3e2987d4eafdde6dae52ccd0a7d35639417adf.tar.gz
historical-da3e2987d4eafdde6dae52ccd0a7d35639417adf.tar.bz2
historical-da3e2987d4eafdde6dae52ccd0a7d35639417adf.zip
Removed support for eselect-whois.
Package-Manager: portage-2.1.2_pre3-r7
Diffstat (limited to 'net-misc/bsdwhois/bsdwhois-1.43.2.1.ebuild')
-rw-r--r--net-misc/bsdwhois/bsdwhois-1.43.2.1.ebuild19
1 files changed, 6 insertions, 13 deletions
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
}