Are files and directories mandatory in pkg-plist ?
eikemeier at fillmore-labs.com
Wed Jul 21 01:05:51 PDT 2004
David Julien wrote:
> There are other ocaml packages which seem to be in the same case, for
> instance ocaml-pcre. To deinstall the port they delete the added line
> in ld.conf thanks to a "grep -v" in the pkg-install file (why not
> pkg-deinstall ?).
> I have tested my port with these modifications and it seems to work
> correctly now ! Thank you.
which you might want to avoid. Use pkg-deinstall when possible. Another
nit is that you want to generate the `.tmp' file first (perhaps even by
using mktemp), and move it in place later, so a failed grep won't
corrupt your database.
More information about the freebsd-ports