diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-27 17:02:46 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-27 17:02:46 +0000 |
commit | 867556192bc4ab9e532c77f581f8f39f6ae1ef9e (patch) | |
tree | 48d45d6cd35c6f8c64b60cd23488e4adae938565 /net-misc/bsdwhois | |
parent | Add pkgconfig dependency fixes bug #150612. (diff) | |
download | gentoo-2-867556192bc4ab9e532c77f581f8f39f6ae1ef9e.tar.gz gentoo-2-867556192bc4ab9e532c77f581f8f39f6ae1ef9e.tar.bz2 gentoo-2-867556192bc4ab9e532c77f581f8f39f6ae1ef9e.zip |
Update to use eselect-whois (don't install as whois on BSD userland).
(Portage version: 2.1.2_pre3-r9)
Diffstat (limited to 'net-misc/bsdwhois')
-rw-r--r-- | net-misc/bsdwhois/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/bsdwhois/bsdwhois-1.43.2.1.ebuild | 20 |
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 } |