svn commit: r318127 - in head/games/xboard: . files

Jason Helfman jgh at FreeBSD.org
Tue May 14 19:33:24 UTC 2013


On Tue, May 14, 2013 at 11:22 AM, Johan van Selst <johans at freebsd.org>wrote:

> Jason Helfman wrote:
> > >   - Add deinstall script to avoid leftovers
> > Is there any particular reason this was added in favor of a plist entry?
>
> Yes, plist entries are executed before PORTDATA cleanups. Since PORTDATA
> files are installed below this directory, an @rmdir in plist would fail.
> I certainly welcome suggestions for a cleaner solution.
>
>
> Regards,
> Johan
>

I believe adding this to the plist would take care of your needs.

@unexec /bin/rmdir %%PREFIX%%/share/games 2>/dev/null || true

-jgh

--
Jason Helfman          | FreeBSD Committer
jgh at FreeBSD.org     | http://people.freebsd.org/~jgh  | The Power to Serve


More information about the svn-ports-all mailing list