Use custom scripts for pkg-deinstall

Chris Rees utisoft at
Thu Oct 25 15:55:54 UTC 2012

On 25 Oct 2012 15:54, "Kristopher Clark" <kclark at> wrote:
> In the port I'm working on I have a script in pkg-deinstall but FreeBSD
is still trying to remove the files in pkg-plist even though my script
takes care of this.  Is there a way to tell FreeBSD to only run what I have
in pkg-deinstall?

In short, no.

Deinstalling is done by removing all files from pkg-plist and running
pkg-deinstall scripts.  No other way.


More information about the freebsd-ports mailing list