I'm on mac, and I'm trying to create a new package for pkgsrc. Every time I run url2pkg I get the message:
/opt/pkg/bin/url2pkg must be run from a package directory (.../pkgsrc/category/package). at /opt/pkg/bin/url2pkg line 517.
where do I need to run this from? It's not super clear to me. Do I need to make a pkgsrc directory?
I've tried creating new directories in root and also from /opt/pkg and I get this error in both places.