RE: Conditionally install the correct binary

2019-05-11 Thread driesm.michiels
> -Original Message- > From: Jonathan Chen > Sent: donderdag 9 mei 2019 21:56 > To: driesm.michi...@gmail.com > Cc: freebsd-ports@freebsd.org > Subject: Re: Conditionally install the correct binary > > On Fri, 10 May 2019 at 07:47, wrote: > [...]

Re: Conditionally install the correct binary

2019-05-09 Thread Jonathan Chen
On Fri, 10 May 2019 at 07:47, wrote: [...] > What is the easiest way to conditionally fetch and install a binary > depending on FreeBSD OS version. x11-fonts/fantasque-sans-mono uses conditional fetching depending on OPTIONS. The distinfo contains checksums for all the tarballs, but the port

Conditionally install the correct binary

2019-05-09 Thread driesm.michiels
Hi ports mailling list! What is the easiest way to conditionally fetch and install a binary depending on FreeBSD OS version. Lets say that upstream has 2 tarballs in the repo; tarball11 and tarball12. Tarball11 is only necessary to download and install when the OS version is FreeBSD 11.