Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 May 2005 13:38:54 -0500
From:      Eric Schuele <e.schuele@computer.org>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Determining what a port will install... (more than pretty-print-*)
Message-ID:  <427673BE.2030103@computer.org>
In-Reply-To: <p06210224be9bf1ab26d3@[128.113.24.47]>
References:  <4273EFF5.8090504@computer.org> <20050430140440.I47465@wolf.pjkh.com> <4273F7D1.4030702@computer.org> <p06210223be9be5b7597f@[128.113.24.47]> <42763C51.1080109@computer.org> <p06210224be9bf1ab26d3@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
Garance A Drosihn wrote:
> At 9:42 AM -0500 5/2/05, Eric Schuele wrote:
> 
>> Garance A Drosihn wrote:
>>
>>>
>>> I believe that 'portupgrade -n' only works right for ports which
>>> you have already installed.
>>
>>
>> Yes... That is the conclusion I have come to.
>>
>> I'm sure what I am trying to accomplish is just one savvy shell
>> script away.... I'm just not that savvy though.  If I can't find
>> something which already does what I'm looking for.... I'll muddle
>> through writing a script to do it.
> 
> 
> If there isn't anything which already exists, then I'd try something
> along the lines of 'cd'-ing into the directory of the port you want
> to install, and getting the output of:
> 
> make -V RUN_DEPENDS -V BUILD_DEPENDS -V LIB_DEPENDS
> 
> (that should give you three lines, some or all of which might be
> blank lines).  Each non-blank line will be of the form "a1:b1 a2:b2 ...",
> where each "a" is a pathname, and each "b" is a portname.
> 
> I'll leave it to you to decide where you go from there...

Thanks for the pointers.

> 
> You might want to check through: cd /usr/ports/sysutils/port*
> and see if any of those already do what you want to see done.
> 

Will do.

-- 
Regards,
Eric



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