Hi Stuart, Thank you for the feedback, the clarification on *_DEPENDS was very helpful. Attached is an updated port that incorporates your suggestions.
On Thu, Jul 25, 2019 at 2:53 PM Stuart Henderson <s...@spacehopper.org> wrote: > On 2019/07/25 13:34, Peter Ezetta wrote: > > Hello ports@, > > > > Attached is a new port to provide the WWW::Shodan::API module. This > module > > provides a Perl interface to the Shodan computer search engine. > > > > I was a bit unclear on whether the dependencies should be marked as > > BUILD_DEPENDS or RUN_DEPENDS. I currently have them set as BUILD so that > > they will be installed ahead of the configuration step, silencing the > > warnings from Makefile.PL about missing modules. If this is incorrect, > > please let me know and I'll update it. > > > > As always, any other feedback would be greatly appreciated, as I'm pretty > > new to porting. > > > > Comments? OK? > > > > Thanks, > > Peter > > Just setting them as BUILD_DEPENDS means that they aren't listed as > run dependencies, so the packages won't work unless the user just happens > to have the right things already installed. Normally set them like this: > > RUN_DEPENDS = converters/p5-JSON \ > www/p5-libwww \ > www/p5-URI > BUILD_DEPENDS = ${RUN_DEPENDS} > > (and not the other way around i.e. not RUN_DEPENDS=${BUILD_DEPENDS}, > because you'll often have extra things automatically added to > BUILD_DEPENDS that you don't want to make it into RUN_DEPENDS). > > Please also drop NO_TEST, that is for "this port doesn't have tests > and errors out as a result". In this case it doesn't have tests but > just says so and exits cleanly. > >
p5-WWW-Shodan-API.tar.gz
Description: application/gzip