summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/bsdwhois')
-rw-r--r--net-misc/bsdwhois/ChangeLog6
-rw-r--r--net-misc/bsdwhois/bsdwhois-1.43.2.1.ebuild20
2 files changed, 19 insertions, 7 deletions
diff --git a/net-misc/bsdwhois/ChangeLog b/net-misc/bsdwhois/ChangeLog
index 76b8d6145dfd..1177ca7251db 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.2 2006/10/23 20:47:00 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bsdwhois/ChangeLog,v 1.3 2006/10/27 17:02:46 flameeyes Exp $
+
+ 27 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
+ bsdwhois-1.43.2.1.ebuild:
+ Update to use eselect-whois (don't install as whois on BSD userland).
23 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
bsdwhois-1.43.2.1.ebuild:
diff --git a/net-misc/bsdwhois/bsdwhois-1.43.2.1.ebuild b/net-misc/bsdwhois/bsdwhois-1.43.2.1.ebuild
index 4d677149a7af..17b1f273aa04 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.2 2006/10/23 20:47:00 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bsdwhois/bsdwhois-1.43.2.1.ebuild,v 1.3 2006/10/27 17:02:46 flameeyes Exp $
DESCRIPTION="FreeBSD Whois Client"
HOMEPAGE="http://www.freebsd.org/"
@@ -11,13 +11,21 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND=""
+RDEPEND="app-admin/eselect-whois"
DEPEND=""
src_install() {
emake DESTDIR="${D}" install || die
- if [[ "${USERLAND}" = "GNU" ]]; then
- mv "${D}"/usr/share/man/man1/{whois,bsdwhois}.1
- mv "${D}"/usr/bin/{whois,bsdwhois}
- fi
+ 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
}