On 7/25/10, Aiza wrote:
> b. f. wrote:
> I just found /usr/ports/Tools/scripts/postsearch which uses the
> /usr/ports/INDEX-8 file as its source to search. This is a perl script
> but can be used from within in .sh script.
Ah, ok. I thought you wanted to use the Bourne shell and base system
uti
On 25/07/2010 03:58:29, Aiza wrote:
> I'm looking for a snippet of .sh type shell code that searches the
> /usr/ports/INDEX-8 file for dependents.
>
> Just a pointer to a script in the ports system that has this would be
> helpful.
grep 'dependency-name' /usr/ports/INDEX.8 | grep -v '^dependency-
Aiza wrote:
> ... see a big inconsistence in how ports list build-deps
> and run-deps. Some ports list no build-deps just run-deps
> and vise-versa and some have same listed list in both.
None of these is necessarily wrong. A port consisting solely of a
Perl script would have no build-deps -- t
b. f. wrote:
I'm looking for a snippet of .sh type shell code that searches the
/usr/ports/INDEX-8 file for dependents.
Just a pointer to a script in the ports system that has this would be
helpful
Do you mean that, given port A, you want to find all ports that need
port A in order to be fetch
On 7/25/10, b. f. wrote:
> the parts of ports/Mk/bsd.port.mk that are used by running `make -C
> pretty-print-run-depends
> pretty-print-build-depends`.
Sorry, it's actually 'pretty-print-build-depends-list' and
'pretty-print-run-depends-list'.
b.
_
>I'm looking for a snippet of .sh type shell code that searches the
>/usr/ports/INDEX-8 file for dependents.
>
>Just a pointer to a script in the ports system that has this would be
>helpful
Do you mean that, given port A, you want to find all ports that need
port A in order to be fetched, extract
I'm looking for a snippet of .sh type shell code that searches the
/usr/ports/INDEX-8 file for dependents.
Just a pointer to a script in the ports system that has this would be
helpful.
Thanks
___
freebsd-questions@freebsd.org mailing list
http://li