Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 2004 21:50:12 +0200
From:      Ulrich Spoerlein <q@uni.de>
To:        Gerard Samuel <fbsd-ports@trini0.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Umbrello in KDE
Message-ID:  <20041017195012.GB842@galgenberg.net>
In-Reply-To: <4171A626.2060308@trini0.org>
References:  <41715E9B.8040804@trini0.org> <200410162054.52254.andy@athame.co.uk> <4171A626.2060308@trini0.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--6sX45UoQRIJXqkqR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, 16.10.2004 at 18:52:22 -0400, Gerard Samuel wrote:
> >$ pkg_which umbrello
> >kdesdk-3.3.0
> >
> Thanks for the reply.
> What version of FBSD are you using?  Apparently the command
> pkg_which doesn't exist on my system (5.2.1)

It has already been mentioned, that pkg_which comes from portupgrade,
but it wouldn't help in your situation, because it can only work for
installed ports.

I don't have KDE installed and get this:
% pkg_which umbrello
umbrello: not found

If you don't want to use portupgrade, you could use sth like this:
% pkg_info -W `which zsh`
/usr/local/bin/zsh was installed by package zsh-4.2.1

Or get fancy like this (Note: It's sad that -oW doesn't work :(
% pkg_info -qo $(pkg_info -qW $(which zsh))
shells/zsh


But back to your original problem: If you want to know which ports
installs a specific binary, you can walk the ports' pkg-plist grepping
for the relevant file
% find . -name pkg-plist|xargs grep bin/umbrello
=2E/devel/kdesdk3/pkg-plist:bin/umbrello

hth
Ulrich Spoerlein
--=20
PGP Key ID: F0DB9F44				Encrypted mail welcome!
PGP Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."
didn't you understand?

--6sX45UoQRIJXqkqR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBcsz0mArGtfDbn0QRAuzxAJ4qrFa2HDkwUQTaNetKYeabfYSyKQCgk6XH
3u3GtcV1kclwUIvB8wpqRyM=
=9FJ+
-----END PGP SIGNATURE-----

--6sX45UoQRIJXqkqR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041017195012.GB842>