Trouble with creating a new port

Michael C. Shultz ringworm01 at gmail.com
Fri Feb 25 01:04:52 GMT 2005


On Thursday 24 February 2005 04:28 pm, you wrote:
> On Thursday 24 February 2005 18:15, Michael C. Shultz wrote:
> > On Thursday 24 February 2005 03:35 pm, Josh Paetzel wrote:
> > > I am trying to make a port of Epic5.  I can do make install and
> > > make deinstall fine.  I can pkg_add and pkg_delete fine as well.
> > > If I try to make install and then pkg_delete I get the following
> > > warnings:
> > >
> > > ===>  Deinstalling for irc/epic5
> > > ===>   Deinstalling epic5-0.0.3
> > > pkg_delete: file '/usr/local/share/epic5/help' doesn't really
> > > exist pkg_delete: unable to completely remove directory
> > > '/usr/local/share/epic5/help'
> > > pkg_delete: couldn't entirely delete package (perhaps the packing
> > > list is incorrectly specified?)
> >
> > Take a look in /usr/local/share/epic5/help
> > after this error and what ever file is in there
> > add to your plist.
> >
> > -Mike
>
> That's just it, there are no files there to begin with.  I'm not sure
> why that directory is even created in the first place.

You can try this:

@unexec rmdir %D/share/epic5/help 2>/dev/null || true

Then if the directory isn't there, it won't complain, but if it is there 
it will be removed

-Mike





More information about the freebsd-ports mailing list