Date: Sun, 10 Nov 2013 19:02:14 +0100 From: Big Lebowski <spankthespam@gmail.com> To: freebsd-ports <freebsd-ports@freebsd.org> Subject: Best way to make the port install another port Message-ID: <CAHcXP%2BeZZ3tYXFmUNJhqU%2B69rVhqw-%2Bae7FMZhfz=BZ8XjdqbQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I wanted to add an option to one of my ports to optionally install commandline tool, that's in another port. Doing the options part is easy and clear, but how should I add that port to build procedure to do it the right-way? The most obvious way would be to add RUN_DEPENDS+=, but the original port doesnt really depend on this tools... Another question is to where is the best place to put such dependency? Post install, pre install? Thanks in advance!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHcXP%2BeZZ3tYXFmUNJhqU%2B69rVhqw-%2Bae7FMZhfz=BZ8XjdqbQ>