> On 27 Apr, 2020, at 05:54, Samy Mahmoudi <samy.mahmo...@gmail.com> wrote:
> 
> Hi,
> 
> What about using the meta-port lang/python ? You could write something like
> the following lines in your documentation:
> PY=`pkg rquery -r FreeBSD "%dn" lang/python | head -n 1 | sed "s/python//"`
> pkg install py${PY}-babel
> 
> "-r FreeBSD" can indeed be ommited in a default configuration where the
> user has not configured several repositories. As you cannot guarantee that
> last condition is met, I would suggest not to omit that part.
> 
> I hope this will help,
> Samy Mahmoudi
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org”

That’s one possible way of doing it. But we don’t have a meta port for php so 
it’s not going to work for that. I am looking for a uniform way of doing it.

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to