Date: Fri, 12 Apr 2002 18:03:35 +0300 From: Peter Pentchev <roam@ringlet.net> To: Mark Hannon <markhannon@optushome.com.au> Cc: ports@freebsd.org Subject: Re: emerge --pretend equivalent Message-ID: <20020412180335.F365@straylight.oblivion.bg> In-Reply-To: <3CB6C93B.6693E953@optushome.com.au>; from markhannon@optushome.com.au on Fri, Apr 12, 2002 at 09:47:07PM %2B1000 References: <3CB6C93B.6693E953@optushome.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--QNDPHrPUIc00TOLW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 12, 2002 at 09:47:07PM +1000, Mark Hannon wrote: > Hi, >=20 > I have had a little play with the Gentoo linux distribution. One thing > that I liked was the emerge --pretend xyz which prints out a list of > things > the system would do in order to build/install a particular package, > including > a list of what dependencies it will build. Do we have anything > equivalent? For dependencies, 'make all-depends-list' would, well, list all the dependencies of a port :) For actions to be taken, usually a 'make -n configure' or 'make -n all' would display *something*, but because of the complicated design of the Ports Collection make(1) infrastructure, what is displayed is not always exactly human-reader-friendly. If you are interested in specific actions that the port maintainer has deemed appropriate to execute at install/deinstall time, usually there are the pkg-install and pkg-deinstall files, which are simple shell scripts. If you are looking at an already-built package instead of a port, then you could use the pkg_info(1) utility to gain all the information you might be interested in; specifically, look at its -D, -f, -i, -k, -r, -R, -m, -L and -s options. Hope that helps! G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence contradicts itself - or rather - well, no, actually it doesn'= t! --QNDPHrPUIc00TOLW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjy290cACgkQ7Ri2jRYZRVMV/ACgg+sVo0rjFNsPTzqbvqUn1xyi umUAn0O4gulEOUc8G64fZ1BtvFhE+Lf8 =qrNy -----END PGP SIGNATURE----- --QNDPHrPUIc00TOLW-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020412180335.F365>