pkg create, +MANIFEST and prefix (pkg 1.1.4)

Michael Gmelin freebsd at grem.de
Tue Oct 29 12:33:43 UTC 2013


Hi,

what is the exact role of "prefix" in +MANIFEST? pkg-create(8) says:

prefix path-prefix
    The path where the files contained in this package are
    installed (usually /usr/local).

Given the following MANIFEST

...
prefix: /usr/local/mypath
...
files:
  relativepath/myfile:checksum...

I would expect it to end up
in /usr/local/mypath/relativepath/myfile, but instead it gets
installed in `pwd`/myfile.

Is this a bug or do I misunderstand what prefix is supposed to do?

Thanks,
Michael

-- 
Michael Gmelin


More information about the freebsd-ports mailing list