svn commit: r318127 - in head/games/xboard: . files
Max Brazhnikov
makc at freebsd.org
Wed May 15 04:54:19 UTC 2013
On Tue, 14 May 2013 22:10:11 +0200 Johan van Selst 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.
> > I believe adding this to the plist would take care of your needs.
> > @unexec /bin/rmdir %%PREFIX%%/share/games 2>/dev/null || true
>
> No, it won't. Such a command will be executed too early when the package
> is removed.
Another alternative is to not use PORTDATA. Besides does xboard work without
PORTDATA files?
Btw, since the port installs MIME data files it needs 'USES= shared-mime-info'.
'@dirrmtry share/mime*' should be removed from plist after that.
Cheers,
Max
More information about the svn-ports-all
mailing list