help with making a port

Shane Ambler FreeBSD at ShaneWare.Biz
Mon Jul 8 04:22:25 UTC 2013


On 08/07/2013 05:32, Aryeh Friedman wrote:
> On Sun, Jul 7, 2013 at 3:51 PM, Jason Helfman <jgh at freebsd.org> wrote:
>> pkg which /path/to/file
>> or
>> pkg_info -W /path/to/file

> aryeh at dev:/home/aryeh% pkg_info -W /usr/local/share/foo/foo.jar
> pkg_info: You appear to be using the newer pkg(1) tool on this system

Of the two examples 'pkg_info -W' is the old way and 'pkg which' is the
new way. The error from pkg_info -W indicates you have the new package
system setup and need to use the pkg which command.

Is this your first attempt at making the port? Maybe you have an old
attempt still in place. Did you move the port to a new category folder?

As foo-0.1 isn't the real name of the port, are you certain that the
name you are using is a new unique name?



More information about the freebsd-ports mailing list