From owner-freebsd-ports Fri Apr 12 8: 3:59 2002 Delivered-To: freebsd-ports@freebsd.org Received: from south.nanolink.com (south.nanolink.com [217.75.134.10]) by hub.freebsd.org (Postfix) with SMTP id 07F4F37B405 for ; Fri, 12 Apr 2002 08:03:54 -0700 (PDT) Received: (qmail 70199 invoked from network); 12 Apr 2002 15:10:16 -0000 Received: from unknown (HELO straylight.ringlet.net) (212.116.140.125) by south.nanolink.com with SMTP; 12 Apr 2002 15:10:16 -0000 Received: (qmail 81516 invoked by uid 1000); 12 Apr 2002 15:03:35 -0000 Date: Fri, 12 Apr 2002 18:03:35 +0300 From: Peter Pentchev To: Mark Hannon Cc: ports@freebsd.org Subject: Re: emerge --pretend equivalent Message-ID: <20020412180335.F365@straylight.oblivion.bg> Mail-Followup-To: Mark Hannon , ports@freebsd.org References: <3CB6C93B.6693E953@optushome.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="QNDPHrPUIc00TOLW" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3CB6C93B.6693E953@optushome.com.au>; from markhannon@optushome.com.au on Fri, Apr 12, 2002 at 09:47:07PM +1000 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --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